// // WeChatTweakHeaders.h // WeChatTweak // // Created by Sunnyyoung on 2017/8/11. // Copyright © 2017年 Sunnyyoung. All rights reserved. // #import #import #import #import typedef NS_ENUM(NSUInteger, RevokeNotificationType) { RevokeNotificationTypeFollow = 0, RevokeNotificationTypeReceiveAll, RevokeNotificationTypeDisable, }; typedef NS_ENUM(unsigned int, MessageDataType) { MessageDataTypeText = 1, MessageDataTypeImage = 3, MessageDataTypeVoice = 34, MessageDataTypeVideo = 43, MessageDataTypeSticker = 47, MessageDataTypeAppUrl = 49, MessageDataTypePrompt = 10000 }; static NSString * const WeChatTweakPreferenceRevokeNotificationTypeKey = @"WeChatTweakPreferenceRevokeNotificationTypeKey"; @interface NSString (MD5) - (NSString *)md5String; @end @interface WeChat : NSObject + (instancetype)sharedInstance; - (void)lock:(id)block; - (void)showMainWindow; - (void)startANewChatWithContact:(id)contact; @end @interface PathUtility : NSObject + (NSString *)GetCurUserDocumentPath; @end @interface MMSearchResultItem : NSObject @property(nonatomic) unsigned long long type; // 0 is single chat, 1 is group chat @property(readonly, nonatomic) NSString *identifier; @end @interface MessageData: NSObject @property(nonatomic) MessageDataType messageType; @property(nonatomic) unsigned int msgStatus; @property(nonatomic) long long mesSvrID; @property(retain, nonatomic) NSString *toUsrName; @property(retain, nonatomic) NSString *fromUsrName; @property(retain, nonatomic) NSString *msgContent; @property(nonatomic) unsigned int msgCreateTime; @property(nonatomic) unsigned int mesLocalID; - (instancetype)initWithMsgType:(long long)arg1; - (BOOL)isSendFromSelf; - (id)getChatNameForCurMsg; - (id)savingImageFileNameWithLocalID; @end @interface ReaderWrap : NSObject @property(retain, nonatomic) NSString *m_nsTitle; @property(retain, nonatomic) NSString *m_nsUrl; @end @interface WCContactData : NSObject @property(nonatomic) unsigned int m_uiCertificationFlag; @property(retain, nonatomic) NSString *m_nsHeadImgUrl; @property(retain, nonatomic) NSString *m_nsNickName; @property(retain, nonatomic) NSString *m_nsUsrName; @property(retain, nonatomic) NSString *m_nsAliasName; @property(retain, nonatomic) NSString *m_nsRemark; @property(retain, nonatomic) NSString *m_nsFullPY; @property(retain, nonatomic) NSString *m_nsRemarkPYShort; @property(retain, nonatomic) NSString *m_nsRemarkPYFull; @property(retain, nonatomic) NSString *wt_avatarPath; - (BOOL)isChatStatusNotifyOpen; @end @interface ContactStorage : NSObject - (WCContactData *)GetContact:(NSString *)session; - (NSArray *)GetAllFriendContacts; @end @interface GroupStorage: NSObject - (WCContactData *)GetGroupContact:(NSString *)session; - (NSArray *)GetAllGroups; - (NSArray *)GetGroupContactList:(NSInteger)arg1 ContactType:(NSInteger)arg2; @end @interface MMServiceCenter : NSObject + (id)defaultCenter; - (id)getService:(Class)name; @end @interface MMAvatarService: NSObject - (NSString *)avatarCachePath; @end @interface MMSessionMgr: NSObject - (void)loadSessionData; - (void)loadBrandSessionData; @end @interface RevokeMsgItem : NSObject @property (nonatomic, assign) unsigned int createTime; @property (nonatomic, retain) NSString *svrId; @property (nonatomic, retain) NSString *content; @end @interface MMRevokeMsgDB : NSObject - (BOOL)insertRevokeMsg:(id)msg; - (id)getRevokeMsg:(NSString *)svrId; @end @interface MMRevokeMsgService : NSObject @property (nonatomic, strong) MMRevokeMsgDB *db; @end @protocol MASPreferencesViewController @property(readonly, nonatomic) NSString *toolbarItemLabel; @property(readonly, nonatomic) NSImage *toolbarItemImage; @property(readonly, nonatomic) NSString *identifier; @optional @property(readonly, nonatomic) BOOL hasResizableHeight; @property(readonly, nonatomic) BOOL hasResizableWidth; @end @interface MASPreferencesWindowController: NSWindowController - (id)initWithViewControllers:(NSArray *)arg1; @end @interface MMMessageTableItem : NSObject @property(retain, nonatomic) MessageData *message; @end @interface MMMessageCellView : NSTableCellView @property(retain, nonatomic) NSView *avatarImgView; @property(retain, nonatomic) MMMessageTableItem *messageTableItem; @end @interface MMImageMessageCellView : MMMessageCellView @property(retain, nonatomic) NSImage *displayedImage; @end @interface MMAppSingleReaderMessageCellView : MMMessageCellView @property(retain, nonatomic) ReaderWrap *readerData; @end @interface MMAppMultipleReaderMessageCellView : MMMessageCellView @property(retain, nonatomic) NSArray *readerMessages; @property(assign, nonatomic) NSUInteger selectedReaderWrapIndex; @end @interface MMService : NSObject @end @interface EmoticonMgr : MMService - (id)getEmotionDataWithMD5:(id)arg1; @end @interface NSDictionary (XMLDictionary) + (id)dictionaryWithXMLString:(id)arg1; @end