iphone-common-codes-ccteam源代码 CCSMS.h

来源:互联网 发布:淘宝模特多少钱一件 编辑:程序博客网 时间:2024/05/12 09:16
////  CCSMS.h//  CCFC////  Created by xichen on 11-12-16.//  Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import <MessageUI/MessageUI.h>#import "CCConfig.h"#import "CCDepend.h"#import "CCCommon.h"#if CC_ENABLE_PRIVATE_APIextern NSString* const kCTSMSMessageReceivedNotification;extern NSString* const kCTSMSMessageReplaceReceivedNotification;CC_EXTERN int   CTSMSMessageGetUnreadCount();CC_EXTERN int   CTSMSMessageGetRecordIdentifier(void *msg);CC_EXTERN NSString *CTSIMSupportGetSIMStatus();CC_EXTERN NSString *CTSIMSupportCopyMobileSubscriberIdentity();CC_EXTERN id  CTSMSMessageCreate(void* unknow,NSString* number,NSString* text);CC_EXTERN void * CTSMSMessageCreateReply(void* unknow,void * forwardTo,NSString* text); CC_EXTERN void* CTSMSMessageSend(id server,id msg);CC_EXTERN NSString *CTSMSMessageCopyAddress(void *, void *);CC_EXTERN NSString *CTSMSMessageCopyText(void *, void *);#endif@interface CCSMS : NSObject {    }// 调用系统短信界面+ (MFMessageComposeViewController *)showSystemSMSView:(id)delegate                                     withRecipientArr:(NSArray *)recipientArr                                         withTextBody:(NSString *)textBody                                              animated:(BOOL)animated;#if CC_ENABLE_PRIVATE_API// send sms on background+ (BOOL)sendSMSOnBackground:(NSString *)text withAddr:(NSString *)addr _Depended_On_CoreTelephony_;#endif@end


可能有更新:

googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCSMS.h

github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCSMS.h


原创粉丝点击