Guest User

Untitled

a guest
Jul 19th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.67 KB | None | 0 0
  1. /*
  2. * Generated by class-dump 3.1.2.
  3. *
  4. * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  5. */
  6.  
  7. struct CGColor;
  8.  
  9. struct CGContext;
  10.  
  11. struct CGPoint {
  12. float x;
  13. float y;
  14. };
  15.  
  16. struct CGRect {
  17. struct CGPoint origin;
  18. struct CGSize size;
  19. };
  20.  
  21. struct CGSize {
  22. float width;
  23. float height;
  24. };
  25.  
  26. struct CPRecord;
  27.  
  28. struct __CFArray;
  29.  
  30. struct __CTSMSMessage;
  31.  
  32. struct __GSEvent;
  33.  
  34. struct __GSFont;
  35.  
  36. typedef struct {
  37. int _field1;
  38. int _field2;
  39. } CDAnonymousStruct1;
  40.  
  41. /*
  42. * File: Applications/MobileSMS.app/MobileSMS
  43. */
  44.  
  45. @interface mSMSApplication : UIApplication
  46. {
  47. mSMSUIController *_uiController;
  48. BOOL _waitToSendFinishLaunching;
  49. BOOL _isLocked;
  50. }
  51.  
  52. + (BOOL)use24HourTime;
  53. - (void)applicationDidFinishLaunching:(id)fp8;
  54. - (BOOL)isLocked;
  55. - (void)applicationWillSuspendForEventsOnly;
  56. - (void)applicationDidResumeForEventsOnly;
  57. - (BOOL)willHandleWithURL;
  58. - (void)applicationOpenURL:(id)fp8;
  59. - (void)setWaitToSendFinishLaunching:(BOOL)fp8;
  60. - (void)reportAppLaunchFinished;
  61. - (void)openURL:(id)fp8;
  62. - (BOOL)applicationSuspend:(struct __GSEvent *)fp8 settings:(id)fp12;
  63. - (void)significantTimeChange;
  64.  
  65. @end
  66.  
  67. @interface mSMSMessageGroup : NSObject
  68. {
  69. NSMutableArray *_messages;
  70. NSCalendarDate *_nextEligibleTimestamp;
  71. NSString *_name;
  72. int _unreadCount;
  73. SMSMessage *_latestFailedMessage;
  74. NSMutableArray *_pendingMessages;
  75. SMSMessage *_latestIncomingMessage;
  76. struct CPRecord *_abRecord;
  77. int _identifier;
  78. BOOL _hasPlaceholder;
  79. SMSMessage *_placeholderMessage;
  80. NSArray *_abRecords;
  81. int *_identifiers;
  82. NSArray *_names;
  83. NSArray *_recipients;
  84. int _groupID;
  85. NSMutableDictionary *_groupMessages;
  86. NSMutableArray *_queuedGroupMessages;
  87. int _groupAddStack;
  88. }
  89.  
  90. - (int)groupID;
  91. - (id)initWithGroupID:(int)fp8;
  92. - (struct CPRecord *)recipient;
  93. - (void)dealloc;
  94. - (void)setName:(id)fp8;
  95. - (id)name;
  96. - (struct CPRecord *)abRecord;
  97. - (int)identifier;
  98. - (id)latestMessage;
  99. - (id)date;
  100. - (void)setRecipients:(id)fp8;
  101. - (id)recipients;
  102. - (void)_setupNextEligibleTimestamp:(id)fp8;
  103. - (BOOL)_shouldShowTimestampForDate:(id)fp8;
  104. - (void)_recalculateUnreadCounts;
  105. - (void)removeMessage:(struct __CTSMSMessage *)fp8;
  106. - (void)_setLatestFailedMessage:(id)fp8 delete:(BOOL)fp12;
  107. - (void)resetFailedMessageDeletingFailure:(BOOL)fp8;
  108. - (BOOL)isEmpty;
  109. - (BOOL)isPlaceholder;
  110. - (id)placeholderMessage;
  111. - (void)_setPlaceholderMessage:(id)fp8;
  112. - (int)addSMSMessage:(id)fp8 incrementUnreadCount:(BOOL)fp12;
  113. - (void)_beginGroupAdd;
  114. - (void)_addGroupMessage:(id)fp8;
  115. - (int)_endGroupAdd:(BOOL)fp8;
  116. - (int)addMessage:(struct __CTSMSMessage *)fp8 incrementUnreadCount:(BOOL)fp12;
  117. - (void)resetPendingMessages;
  118. - (void)removeAllMessages;
  119. - (void)_deleteAllMessagesAndRemoveGroup:(BOOL)fp8;
  120. - (void)deleteAllMessages;
  121. - (void)deleteAllMessagesAndRemoveGroup;
  122. - (void)loadAllMessages;
  123. - (id)pendingMessages;
  124. - (id)messages;
  125. - (id)latestFailedMessage;
  126. - (id)latestIncomingMessage;
  127. - (void)setUnreadCount:(int)fp8;
  128. - (int)unreadCount;
  129. - (BOOL)hasUnreadMessages;
  130. - (int)compareByDateDescending:(id)fp8;
  131. - (void)resetCaches;
  132. - (id)groupMessageWithAssociationID:(int)fp8;
  133.  
  134. @end
  135.  
  136. @interface mSMSMessageListController : UIViewController
  137. {
  138. mSMSUIController *_uiController;
  139. UITable *_table;
  140. UIButtonBar *_buttonBar;
  141. mSMSMessageListModel *_messageListModel;
  142. unsigned int _willBeMarkedReadCount;
  143. unsigned int _dirty:1;
  144. unsigned int _isVisible:1;
  145. unsigned int _isUpdatingDisabled:1;
  146. }
  147.  
  148. - (id)initWithUIController:(id)fp8;
  149. - (void)dealloc;
  150. - (void)resetSelection;
  151. - (id)messageListModel;
  152. - (void)messageGroupWillBeMarkedRead:(id)fp8;
  153. - (void)noteUnreadCountsChanged;
  154. - (void)significantTimeChange;
  155. - (void)updateMessageList;
  156. - (void)disableMessageListUpdates;
  157. - (void)enableMessageListUpdates;
  158. - (void)noteMessageListChanged;
  159. - (id)view;
  160. - (void)viewWillDisplayWithAnimation:(BOOL)fp8;
  161. - (void)viewDidDisplayWithAnimation:(BOOL)fp8;
  162. - (void)viewDidHideWithAnimation:(BOOL)fp8;
  163. - (id)navigationTitle;
  164. - (id)shortNavigationTitle;
  165. - (int)editButton;
  166. - (void)editingDidChange:(BOOL)fp8 animate:(BOOL)fp12;
  167. - (id)imageForNavigationButton:(int)fp8;
  168. - (BOOL)clickedNavigationButton:(int)fp8;
  169. - (void)table:(id)fp8 deleteRow:(int)fp12;
  170. - (BOOL)table:(id)fp8 canDeleteRow:(int)fp12;
  171. - (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16 reusing:(id)fp20;
  172. - (BOOL)table:(id)fp8 showDisclosureForRow:(int)fp12;
  173. - (int)numberOfRowsInTable:(id)fp8;
  174. - (void)tableSelectionDidChange:(id)fp8;
  175. - (void)table:(id)fp8 willSwipeToDeleteRow:(int)fp12;
  176. - (void)table:(id)fp8 willCancelSwipeToDeleteRow:(int)fp12;
  177.  
  178. @end
  179.  
  180. @interface mSMSMessageListModel : NSObject
  181. {
  182. NSMutableArray *_messageGroups;
  183. mSMSMessageGroup *_pendingMessageGroup;
  184. NSMutableArray *_groupsToDelete;
  185. }
  186.  
  187. + (id)sharedInstance;
  188. - (id)initWithMessageListController:(id)fp8;
  189. - (id)messageGroupForRecipients:(id)fp8 create:(BOOL)fp12;
  190. - (id)_recipientsForGroupID:(int)fp8;
  191. - (struct CPRecord *)_recipientForMessage:(struct __CTSMSMessage *)fp8;
  192. - (id)_createMessageGroupForMessage:(struct __CTSMSMessage *)fp8 groupID:(int)fp12;
  193. - (id)_messageGroupForMessage:(struct __CTSMSMessage *)fp8 groupID:(int)fp12 create:(BOOL)fp16;
  194. - (id)messageGroupForMessage:(struct __CTSMSMessage *)fp8 create:(BOOL)fp12;
  195. - (void)resetCaches;
  196. - (void)fixupNames;
  197. - (id)activeMessageGroups;
  198. - (void)_addGroupToDeletionSchedule:(int)fp8;
  199. - (void)_deleteGroups;
  200. - (id)messageGroups;
  201. - (void)resort;
  202. - (void)addMessageGroup:(id)fp8;
  203. - (void)unpendMessageGroup;
  204. - (void)applyPendingMessageGroup;
  205. - (id)pendingMessageGroup:(BOOL)fp8;
  206. - (int)unreadCount;
  207. - (void)markMessageGroupAsRead:(id)fp8;
  208. - (void)deleteMessageGroupAtIndex:(int)fp8;
  209.  
  210. @end
  211.  
  212. @interface SMSMessageSynopsisLabel : UITextLabel
  213. {
  214. }
  215.  
  216. - (void)drawRect:(struct CGRect)fp8;
  217.  
  218. @end
  219.  
  220. @interface mSMSMessageSynopsisLayer : UIImageAndTextTableCell
  221. {
  222. mSMSMessageGroup *_messageGroup;
  223. UIDateLabel *_dateLabel;
  224. SMSMessageSynopsisLabel *_messageLabel;
  225. SMSMessageSynopsisLabel *_backupMessageLabel;
  226. BOOL _willShowRemove;
  227. }
  228.  
  229. + (float)cellHeight;
  230. - (id)initWithFrame:(struct CGRect)fp8 messageGroup:(id)fp24;
  231. - (void)setMessageGroup:(id)fp8;
  232. - (void)dealloc;
  233. - (void)clearText;
  234. - (void)updateContents;
  235. - (void)updateHighlightColors;
  236. - (void)_setupBackupMessageLabel;
  237. - (void)layoutSubviews;
  238. - (void)removeControlWillShowRemoveConfirmation:(id)fp8;
  239. - (void)removeControlWillHideRemoveConfirmation:(id)fp8;
  240.  
  241. @end
  242.  
  243. @interface mSMSMessageTranscriptBackPlacard : UIView
  244. {
  245. }
  246.  
  247. @end
  248.  
  249. @interface MessageURLButton : UIPushButton
  250. {
  251. NSString *_message;
  252. }
  253.  
  254. - (void)setMessage:(id)fp8;
  255. - (id)message;
  256. - (void)dealloc;
  257.  
  258. @end
  259.  
  260. @interface TranscriptFrameAnimation : UIFrameAnimation
  261. {
  262. struct CGPoint _startTopLeftPoint;
  263. struct CGPoint _endTopLeftPoint;
  264. }
  265.  
  266. - (void)setProgress:(float)fp8;
  267. - (void)setStartTopLeftPoint:(struct CGPoint)fp8;
  268. - (void)setEndTopLeftPoint:(struct CGPoint)fp8;
  269. - (struct CGPoint)endTopLeftPoint;
  270.  
  271. @end
  272.  
  273. @interface mSMSMessageTranscriptController : UIViewController
  274. {
  275. mSMSMessageGroup *_messageGroup;
  276. mSMSUIController *_uiController;
  277. mSMSMessageTranscriptBackPlacard *_backPlacard;
  278. UIKeyboard *_keyboardLayer;
  279. mSMSMessageTranscriptLayer *_transcriptLayer;
  280. LabelledAtomList *_recipientList;
  281. UIControl *_recipientContainer;
  282. UIScroller *_recipientScroller;
  283. UIView *_recipientSeparator;
  284. mSMSMessageEntryView *_entryView;
  285. UIView *_accessoryView;
  286. mSMSBalloonTextField *_outboundMessageLayer;
  287. UIView *_replacementMessageLayer;
  288. mSMSSendingProgressLayer *_sendingProgressLayer;
  289. double _progStart;
  290. float _sendingProgress;
  291. float _progressRate;
  292. NSTimer *_sendingProgressTimer;
  293. NSMutableArray *_recipients;
  294. SMSMessageDelivery *_delivery;
  295. int _numberSent;
  296. int _numberToSend;
  297. SMSMessage *_outboundMessage;
  298. BOOL _newRecipient;
  299. SMSRecipientSelectionView *_recipientSelectionView;
  300. UIFrameAnimation *_throwAnimation;
  301. TranscriptFrameAnimation *_transcriptAnimation;
  302. UIFrameAnimation *_messageEntryViewAnimation;
  303. unsigned int _rescroll:1;
  304. unsigned int _sending:1;
  305. unsigned int _waitingOnMessageSend:1;
  306. unsigned int _failedToSend:1;
  307. unsigned int _isThrowingOutboundMessageToTable:1;
  308. unsigned int _recipientListScrollingEnabled:1;
  309. unsigned int _recipientListShouldBeExpanded:1;
  310. NSTimer *_errorDisplayTimer;
  311. UIAlertSheet *_contactAlertSheet;
  312. UIAlertSheet *_clearConversationAlertSheet;
  313. }
  314.  
  315. + (struct CGColor *)tableColor;
  316. - (id)initWithUIController:(id)fp8;
  317. - (void)dealloc;
  318. - (float)_heightForMessage:(int)fp8;
  319. - (struct CGRect)rectOfMessageAtIndex:(int)fp8;
  320. - (struct CGPoint)bestVisibleOffsetForMessageAtIndex:(int)fp8;
  321. - (void)scrollMessageIndexToVisible:(int)fp8;
  322. - (void)setMessageGroup:(id)fp8;
  323. - (void)reload:(BOOL)fp8;
  324. - (id)messageGroup;
  325. - (void)_setupRecipientSelectionView;
  326. - (void)updateEnablednessOfSendButton;
  327. - (void)_adjustMessageEntryViewOriginDelta:(float)fp8 heightDelta:(float)fp12 animate:(BOOL)fp16 animationLength:(float)fp20;
  328. - (void)_adjustTranscriptLayerFrameDelta:(struct CGRect)fp8 offsetDelta:(struct CGPoint)fp24 animate:(BOOL)fp32 animationLength:(float)fp36;
  329. - (float)smsRecipientSelectionViewMaxHeight:(id)fp8;
  330. - (float)smsRecipientSelectionViewMaxToFieldHeight:(id)fp8;
  331. - (void)smsRecipientSelectionView:(id)fp8 recipientAdded:(id)fp12;
  332. - (void)smsRecipientSelectionViewEmpty:(id)fp8;
  333. - (void)hideKeyboard:(BOOL)fp8;
  334. - (void)showKeyboard:(BOOL)fp8;
  335. - (BOOL)isSendingMessage;
  336. - (id)entryView;
  337. - (id)sendingProgressLayer;
  338. - (id)view;
  339. - (void)viewWillDisplayWithAnimation:(BOOL)fp8;
  340. - (void)viewWasAddedToSuperview;
  341. - (void)viewDidDisplayWithAnimation:(BOOL)fp8;
  342. - (void)viewWillHideWithAnimation:(BOOL)fp8;
  343. - (id)accessoryView;
  344. - (id)shortNavigationTitle;
  345. - (id)navigationTitle;
  346. - (id)titleForNavigationButton:(int)fp8;
  347. - (BOOL)isNavigationButtonEnabled:(int)fp8;
  348. - (BOOL)clickedNavigationButton:(int)fp8;
  349. - (void)scrollerWillStartDragging:(id)fp8;
  350. - (void)resignEntryViewFirstResponder;
  351. - (void)makeRecipientFieldFirstResponder;
  352. - (void)restoreEntryViewCursor;
  353. - (void)makeEntryViewFirstResponder;
  354. - (void)activateURLButton:(id)fp8;
  355. - (void)addressAtomClicked:(id)fp8;
  356. - (void)_setupTranscriptHeader;
  357. - (void)_clearExpandRecipientListFlag;
  358. - (void)_showTranscriptButtons;
  359. - (void)_hideAccessoryView;
  360. - (void)_hideTranscriptButtons;
  361. - (void)_showRecipientList;
  362. - (void)_hideRecipientList;
  363. - (void)_updateRecipientContainerViewFrame;
  364. - (void)_updateRecipientScrollViewFrame;
  365. - (void)_updateTranscriptScrollerIndicatorSubrect;
  366. - (void)_mouseDownInRecipientList:(struct __GSEvent *)fp8;
  367. - (void)labelledAtomList:(id)fp8 frameDidChange:(struct CGRect)fp12;
  368. - (Class)balloonClassForText:(id)fp8 outgoing:(unsigned char)fp12;
  369. - (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
  370. - (int)numberOfRowsInTable:(id)fp8;
  371. - (float)table:(id)fp8 heightForRow:(int)fp12;
  372. - (void)cleanUpAfterSendAttempt:(BOOL)fp8;
  373. - (void)animator:(id)fp8 stopAnimation:(id)fp12;
  374. - (struct CGPoint)_transcriptScrollToBottomOffsetWithHeightDelta:(float)fp8;
  375. - (void)throwOutboundMessageToTable:(id)fp8 clearTranscript:(BOOL)fp12;
  376. - (void)didBeginSendingText:(id)fp8 alphaIn:(BOOL)fp12 rebuildOutboundLayer:(BOOL)fp16;
  377. - (void)didBeginSendingText:(id)fp8;
  378. - (void)_scheduleNextProgressUpdate:(SEL)fp8;
  379. - (void)finishProgress;
  380. - (void)updateSendingProgress;
  381. - (void)resetErrorDisplay;
  382. - (void)tearDownErrorDisplay;
  383. - (void)showErrorDisplay;
  384. - (void)mSMSSendingProgressLayerCancelHit:(id)fp8;
  385. - (void)mSMSSendingProgressLayerTryAgainHit:(id)fp8;
  386. - (void)_showPartialFailureDisplay;
  387. - (void)didEndSendingMessage:(id)fp8;
  388. - (void)_fadeOutSendingProgressLayer;
  389. - (void)_actuallyClearCurrentMessageThread;
  390. - (void)clearCurrentMessageThread;
  391. - (void)_startUpdatingSendProgress;
  392. - (void)sendMessage:(id)fp8;
  393. - (void)deliveredSubpart:(int)fp8 totalSubparts:(int)fp12 success:(BOOL)fp16;
  394. - (void)deliveryPartiallyFailedForMessage:(id)fp8;
  395. - (void)deliveryCompletedForMessage:(id)fp8;
  396. - (void)deliveryFailedForMessage:(id)fp8;
  397. - (void)send:(id)fp8;
  398. - (void)transcriptLayerTapped:(id)fp8;
  399. - (struct CGRect)messageEntryViewFinalFrame;
  400. - (id)smsTextEntryViewMessageEntryView:(id)fp8;
  401. - (void)smsTextEntryViewWillBecomeFirstResponder:(id)fp8;
  402. - (void)smsTextEntryViewTextChanged:(id)fp8;
  403. - (void)smsTextEntryViewSizeChanged:(id)fp8 height:(float)fp12 animate:(BOOL)fp16;
  404. - (id)text;
  405. - (void)setText:(id)fp8;
  406. - (void)setText:(id)fp8 resizeEntryView:(BOOL)fp12 animate:(BOOL)fp16;
  407. - (void)findMessageGroupForRecipients:(id)fp8;
  408. - (id)recipients;
  409. - (id)proposedRecipients;
  410. - (void)setNewCompositionAddresses:(id)fp8;
  411. - (void)setupForNewRecipient;
  412. - (BOOL)isNewRecipient;
  413. - (void)addRecipient:(struct CPRecord *)fp8 identifier:(int)fp12 phoneNumber:(id)fp16;
  414. - (void)webView:(id)fp8 decidePolicyForNavigationAction:(id)fp12 request:(id)fp16 frame:(id)fp20 decisionListener:(id)fp24;
  415. - (void)smsTranscriptTopCell:(id)fp8 buttonClicked:(int)fp12;
  416. - (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
  417.  
  418. @end
  419.  
  420. @interface mSMSMessageTranscriptLayer : UITable
  421. {
  422. id _transcriptDelegate;
  423. }
  424.  
  425. - (void)setTranscriptDelegate:(id)fp8;
  426. - (void)mouseDown:(struct __GSEvent *)fp8;
  427.  
  428. @end
  429.  
  430. @interface SMSNavigationBar : UINavigationBar
  431. {
  432. }
  433.  
  434. - (id)createButtonWithContents:(id)fp8 width:(float)fp12 barStyle:(int)fp16 buttonStyle:(int)fp20 isRight:(BOOL)fp24;
  435.  
  436. @end
  437.  
  438. @interface mSMSUIController : NSObject
  439. {
  440. UIWindow *_window;
  441. UINavigationController *_navigationController;
  442. mSMSMessageListController *_messageListController;
  443. mSMSMessageTranscriptController *_messageTranscriptController;
  444. mSMSLinkViewController *_linkViewController;
  445. MailComposeController *_mailComposeController;
  446. ABPeoplePickerController *_peoplePickerController;
  447. BOOL _hasEmail;
  448. BOOL _restoringState;
  449. struct __CFArray *_queuedMessages;
  450. NSDictionary *_propsCache;
  451. id _navBarLeftButtonTarget;
  452. SEL _navBarLeftButtonAction;
  453. id _navBarRightButtonTarget;
  454. SEL _navBarRightButtonAction;
  455. }
  456.  
  457. + (id)sharedInstance;
  458. - (struct CGRect)contentViewRect;
  459. - (void)_init;
  460. - (void)_displaySMSDatabaseFullWarning;
  461. - (void)dealloc;
  462. - (void)didPopViewController:(id)fp8;
  463. - (id)messageListController;
  464. - (id)messageTranscriptController;
  465. - (id)existingMessageGroupForAddresses:(id)fp8;
  466. - (void)showMessagesForAddress:(id)fp8 animate:(BOOL)fp12;
  467. - (BOOL)resumeToMessageGroup:(id)fp8 unsentText:(id)fp12;
  468. - (void)showMessageGroup:(id)fp8 animate:(BOOL)fp12;
  469. - (void)showTranscriptList:(BOOL)fp8;
  470. - (void)showURLListForMessage:(id)fp8;
  471. - (void)showNewMessageCompositionPanel:(BOOL)fp8;
  472. - (BOOL)_shouldPlaySounds;
  473. - (void)_playMessageSent;
  474. - (void)_playMessageRecieved;
  475. - (void)compose:(id)fp8;
  476. - (void)transitionFromNewMessageToConversation;
  477. - (void)_processReceivedMessage:(struct __CTSMSMessage *)fp8 replace:(BOOL)fp12 isLastMessage:(BOOL)fp16 animate:(BOOL)fp20;
  478. - (void)_receivedMessage:(struct __CTSMSMessage *)fp8 replace:(BOOL)fp12;
  479. - (void)markMessageGroupAsRead:(id)fp8;
  480. - (void)noteMessageGroupChanged:(id)fp8 animate:(BOOL)fp12;
  481. - (void)receivedMessage:(struct __CTSMSMessage *)fp8;
  482. - (void)receivedReplaceMessage:(struct __CTSMSMessage *)fp8;
  483. - (void)_sentMessage:(struct __CTSMSMessage *)fp8;
  484. - (void)sentMessage;
  485. - (long)numberOfQueuedMessages;
  486. - (void)dequeueMessages;
  487. - (void)addReceivedMessageToQueue:(struct __CTSMSMessage *)fp8 replace:(BOOL)fp12;
  488. - (void)displayAlertSheet:(id)fp8;
  489. - (void)dismissAlertSheet:(id)fp8;
  490. - (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
  491. - (void)dismissPeoplePicker;
  492. - (void)_presentPeoplePickerOverlayViewController;
  493. - (void)showPeoplePickerWithDelegate:(id)fp8;
  494. - (void)tearDownPeoplePicker;
  495. - (void)peoplePickerDidEndPicking:(id)fp8;
  496. - (void)peoplePicker:(id)fp8 editedPerson:(struct CPRecord *)fp12 property:(int)fp16 identifier:(int)fp20;
  497. - (void)peoplePicker:(id)fp8 selectedPerson:(struct CPRecord *)fp12 property:(int)fp16 identifier:(int)fp20;
  498. - (void)peoplePicker:(id)fp8 enteredOtherValue:(void *)fp12 forProperty:(int)fp16;
  499. - (BOOL)peoplePicker:(id)fp8 shouldShowCardForPerson:(struct CPRecord *)fp12;
  500. - (void)peoplePicker:(id)fp8 displayedMembersOfGroup:(struct CPRecord *)fp12;
  501. - (void)peoplePickerDisplayedGroups:(id)fp8;
  502. - (void)_updateUI;
  503. - (void)_abUpdated:(id)fp8;
  504. - (void)handleURL:(id)fp8;
  505. - (BOOL)restoringState;
  506. - (BOOL)_restoreState;
  507. - (BOOL)showUnreadConversations;
  508. - (BOOL)isShowingTranscriptWithUnsentText;
  509. - (void)storeState:(id)fp8;
  510. - (id)_abCardViewControllerForPerson:(struct CPRecord *)fp8 property:(int)fp12 withIdentifier:(int)fp16;
  511. - (id)_unknownCardViewControllerForProps:(id)fp8;
  512. - (id)_cardViewControllerForProps:(id)fp8;
  513. - (void)_displayABCardViewController:(id)fp8;
  514. - (void)showABCardForPerson:(struct CPRecord *)fp8 highlightedProperty:(int)fp12 identifier:(int)fp16;
  515. - (void)showABCardForLinkProperties:(id)fp8;
  516. - (void)cardViewer:(id)fp8 presentActionsSheet:(id)fp12;
  517. - (void)cardViewer:(id)fp8 dismissActionsSheet:(id)fp12;
  518. - (void)cardViewer:(id)fp8 presentActionsView:(id)fp12 withTitle:(id)fp16;
  519. - (void)unknownPersonCardViewer:(id)fp8 presentPickingOverlay:(id)fp12;
  520. - (void)unknownPersonCardViewer:(id)fp8 dismissPickingOverlay:(id)fp12;
  521. - (void)unknownPersonCardViewer:(id)fp8 didResolveToPerson:(struct CPRecord *)fp12;
  522. - (void)_showMailComposeSheet;
  523. - (void)_showComposeEmailForAddress:(id)fp8;
  524. - (void)mailComposeControllerCompositionFinished:(id)fp8;
  525. - (void)_emailDeliveryFailed:(id)fp8;
  526. - (void)_backgroundDeliverEmail:(id)fp8;
  527. - (void)mailComposeController:(id)fp8 willUseMessageHeaders:(id)fp12;
  528. - (void)mailComposeControllerContentsDidChange:(id)fp8;
  529. - (BOOL)mailComposeControllerIsEditingDraft:(id)fp8;
  530. - (void)mailComposeController:(id)fp8 loadedAttachments:(id)fp12;
  531. - (void)showNewContactViewForNumber:(id)fp8;
  532. - (void)_dismissNewContactView:(id)fp8;
  533. - (void)newContactViewCancelled:(id)fp8;
  534. - (void)newContactViewCompleted:(id)fp8 withNewPerson:(struct CPRecord *)fp12;
  535. - (void)showAddToExistingContactViewForNumber:(id)fp8;
  536.  
  537. @end
  538.  
  539. @interface mSMSBubblizationAnimation : UIAnimation
  540. {
  541. }
  542.  
  543. - (void)setProgress:(float)fp8;
  544.  
  545. @end
  546.  
  547. @interface mSMSBalloonTextField : UITableCell
  548. {
  549. id _delegate;
  550. int _orientation;
  551. float _bubbleAlpha;
  552. float _tightenedWidth;
  553. unsigned int _hasURLs:1;
  554. unsigned int _draws:1;
  555. unsigned int _forceTighten:1;
  556. }
  557.  
  558. + (struct CGSize)defaultSize;
  559. + (struct __GSFont *)defaultFont;
  560. + (float)heightForText:(id)fp8;
  561. + (struct CGContext *)sharedSizingContext;
  562. - (id)initWithFrame:(struct CGRect)fp8;
  563. - (void)setOrientation:(int)fp8;
  564. - (void)animateToBubbleWithDuration:(float)fp8;
  565. - (void)setBubbleAlpha:(float)fp8;
  566. - (void)setText:(id)fp8;
  567. - (void)setDraws:(BOOL)fp8;
  568. - (id)text;
  569. - (void)setFrame:(struct CGRect)fp8;
  570. - (float)tightenedWidth;
  571. - (void)setForceTighten:(BOOL)fp8;
  572. - (void)tighten;
  573. - (void)drawBalloonImage:(id)fp8 inRect:(struct CGRect)fp12;
  574. - (struct CGRect)balloonBounds;
  575. - (void)drawRect:(struct CGRect)fp8;
  576. - (void)setDelegate:(id)fp8;
  577. - (id)delegate;
  578. - (BOOL)hasURLs;
  579. - (unsigned int)becomeFirstResponder;
  580. - (void)animator:(id)fp8 stopAnimation:(id)fp12;
  581.  
  582. @end
  583.  
  584. @interface mSMSSendingProgressLayer : UIView
  585. {
  586. UIProgressBar *_progressLayer;
  587. NSString *_displayString;
  588. UIView *_partialFailurePane;
  589. id _delegate;
  590. }
  591.  
  592. - (id)initWithSize:(struct CGSize)fp8;
  593. - (void)dealloc;
  594. - (void)showPartialFailurePane;
  595. - (void)sendPushed;
  596. - (void)cancelPushed;
  597. - (void)hidePartialFailurePane;
  598. - (void)setDelegate:(id)fp8;
  599. - (void)setDisplayString:(id)fp8;
  600. - (void)setProgress:(float)fp8;
  601. - (void)drawRect:(struct CGRect)fp8;
  602.  
  603. @end
  604.  
  605. @interface WhiteOutlineButton : UIPushButton
  606. {
  607. }
  608.  
  609. - (struct CGColor *)currentTitleColor;
  610. - (void)drawRect:(struct CGRect)fp8;
  611.  
  612. @end
  613.  
  614. @interface mSMSTimeStampLayer : UITableCell
  615. {
  616. NSDate *_date;
  617. }
  618.  
  619. - (id)initWithDate:(id)fp8;
  620. - (void)dealloc;
  621. - (void)drawRect:(struct CGRect)fp8;
  622.  
  623. @end
  624.  
  625. @interface mSMSMessageEntryView : UI9PartImageView
  626. {
  627. SMSTextEntryView *_textField;
  628. UI9PartImageView *_balloonBGView;
  629. UIThreePartButton *_sendButton;
  630. struct CGRect _finalFrame;
  631. BOOL _isAnimating;
  632. struct CGColor *_disabledColor;
  633. }
  634.  
  635. + (float)defaultHeight;
  636. + (float)maximumHeight;
  637. + (float)verticalPaddingForTextView;
  638. - (id)initWithDefaultSize;
  639. - (void)dealloc;
  640. - (void)send:(id)fp8;
  641. - (id)textField;
  642. - (void)enableSendButton;
  643. - (struct CGColor *)_disabledColor;
  644. - (void)disableSendButton;
  645. - (void)mouseUp:(struct __GSEvent *)fp8;
  646. - (struct CGRect)balloonFrame;
  647. - (void)setIsAnimating:(BOOL)fp8;
  648. - (void)setFinalFrame:(struct CGRect)fp8;
  649. - (struct CGRect)finalFrame;
  650.  
  651. @end
  652.  
  653. @interface mSMSSendButtonView : UIThreePartButton
  654. {
  655. }
  656.  
  657. - (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
  658. - (float)minTitleMargin;
  659.  
  660. @end
  661.  
  662. @interface mSMSMessageTranscriptController (testingAdditions)
  663. - (void)setMessageText:(id)fp8;
  664. - (id)transcriptLayer;
  665. @end
  666.  
  667. @interface mSMSApplication (mSMSApplicationTesting)
  668. - (BOOL)runTest:(id)fp8 options:(id)fp12;
  669. - (void)finishedTest:(id)fp8 extraResults:(id)fp12;
  670. - (void)failedTest:(id)fp8;
  671. - (void)showTranscriptList;
  672. - (void)didShowAMessage;
  673. - (void)didShowTranscriptList;
  674. - (void)didSendMessage;
  675. - (void)showNextMessage;
  676. - (void)startShowMessagesTest:(id)fp8;
  677. - (void)startSendMessageTest:(id)fp8;
  678. - (void)sendNextMessage;
  679. - (void)startThrowTest:(id)fp8;
  680. - (void)flickFinished:(id)fp8;
  681. - (void)_scrollTranscriptTest:(id)fp8;
  682. - (void)startScrollTranscriptTest:(id)fp8;
  683. @end
  684.  
  685. @interface mSMS1PartImageView : UIView
  686. {
  687. }
  688.  
  689. - (id)initWithFrame:(struct CGRect)fp8 image:(id)fp24;
  690.  
  691. @end
  692.  
  693. @interface mSMSLinkViewController : UIViewController
  694. {
  695. mSMSUIController *_uiController;
  696. NSArray *_linkProps;
  697. UIPreferencesTable *_table;
  698. }
  699.  
  700. - (id)initWithUIController:(id)fp8;
  701. - (void)dealloc;
  702. - (void)setLinkProperties:(id)fp8;
  703. - (id)view;
  704. - (id)navigationTitle;
  705. - (void)tableSelectionDidChange:(id)fp8;
  706. - (int)numberOfGroupsInPreferencesTable:(id)fp8;
  707. - (int)preferencesTable:(id)fp8 numberOfRowsInGroup:(int)fp12;
  708. - (id)preferencesTable:(id)fp8 cellForRow:(int)fp12 inGroup:(int)fp16;
  709.  
  710. @end
  711.  
  712. @interface NSString (LinkProperties)
  713. - (id)linkProperties;
  714. @end
  715.  
  716. @interface SMSTextEntryView : UIView
  717. {
  718. SMSTextView *_textView;
  719. id _delegate;
  720. BOOL _visible;
  721. BOOL _settingContent;
  722. float _minHeight;
  723. float _resizeDuration;
  724. }
  725.  
  726. + (struct CGSize)defaultSize;
  727. - (id)initWithFrame:(struct CGRect)fp8;
  728. - (void)mouseUp:(struct __GSEvent *)fp8;
  729. - (BOOL)canBecomeFirstResponder;
  730. - (BOOL)canResignFirstResponder;
  731. - (unsigned int)becomeFirstResponder;
  732. - (BOOL)isFirstResponder;
  733. - (BOOL)resignFirstResponder;
  734. - (void)smsTextViewWillBecomeFirstResponder:(id)fp8;
  735. - (float)bottomBufferHeight;
  736. - (void)setText:(id)fp8;
  737. - (id)text;
  738. - (void)setDelegate:(id)fp8;
  739. - (id)delegate;
  740. - (void)setDraws:(BOOL)fp8;
  741. - (void)animator:(id)fp8 stopAnimation:(id)fp12;
  742. - (BOOL)keyboardInputChanged:(id)fp8;
  743. - (void)resizeToFit:(BOOL)fp8;
  744. - (void)setResizeDuration:(float)fp8;
  745. - (BOOL)textView:(id)fp8 shouldScrollForPendingContentSize:(struct CGSize)fp12;
  746. - (id)keyboardInputOverlayContainer:(id)fp8;
  747. - (int)keyboardInput:(id)fp8 positionForAutocorrection:(id)fp12;
  748. - (void)saveCursorPosition;
  749. - (void)restoreCursorPosition;
  750.  
  751. @end
  752.  
  753. @interface SMSTextView : UITextView
  754. {
  755. BOOL _ignoresEnsureSelection;
  756. int _lastCursorLocation;
  757. }
  758.  
  759. - (void)ensureSelection;
  760. - (void)setText:(id)fp8;
  761. - (void)mouseUp:(struct __GSEvent *)fp8;
  762. - (void)_forceSetContentSize:(struct CGSize)fp8;
  763. - (void)_setCursorLocation:(int)fp8;
  764. - (int)_cursorLocation;
  765. - (void)restoreCursorPosition;
  766. - (id)initWithFrame:(struct CGRect)fp8;
  767. - (unsigned int)becomeFirstResponder;
  768. - (void)saveCursorPosition;
  769.  
  770. @end
  771.  
  772. @interface NSObject (SMSTextEntryViewDelegate)
  773. - (void)smsTextEntryViewSizeChanged:(id)fp8 height:(float)fp12 animate:(BOOL)fp16;
  774. - (id)smsTextEntryViewMessageEntryView:(id)fp8;
  775. - (void)smsTextEntryViewTextChanged:(id)fp8;
  776. - (void)smsTextEntryViewWillBecomeFirstResponder:(id)fp8;
  777. - (struct CGRect)smsTextEntryViewFinalFrame:(id)fp8;
  778. @end
  779.  
  780. @interface UITextView (ReachingIn)
  781. - (id)_webView;
  782. @end
  783.  
  784. @interface SMSRecipientSelectionView : UIView
  785. {
  786. ComposeRecipientView *_toField;
  787. UIScroller *_toFieldScrollingView;
  788. UIView *_separator;
  789. NSMutableArray *_searchResults;
  790. UITable *_searchResultsTable;
  791. SearchShadowView *_shadowView;
  792. BOOL _showingSearchField;
  793. BOOL _justDismissedPeoplePicker;
  794. id _delegate;
  795. }
  796.  
  797. - (id)firstRecipient;
  798. - (id)recipients;
  799. - (float)_maxHeight;
  800. - (float)_properHeight;
  801. - (void)setFrame:(struct CGRect)fp8;
  802. - (void)_resetHeight;
  803. - (void)dealloc;
  804. - (id)initWithFrame:(struct CGRect)fp8;
  805. - (void)reset;
  806. - (id)toField;
  807. - (void)setDelegate:(id)fp8;
  808. - (void)_hideSearchField;
  809. - (void)_showSearchField;
  810. - (int)numberOfRowsInTable:(id)fp8;
  811. - (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16 reusing:(id)fp20;
  812. - (void)tableSelectionDidChange:(id)fp8;
  813. - (void)appendSearchResults:(id)fp8 identifiers:(id)fp12 recipientClass:(Class)fp16;
  814. - (void)searchWithText:(id)fp8;
  815. - (void)composeRecipientView:(id)fp8 textDidChange:(id)fp12;
  816. - (void)composeRecipientView:(id)fp8 requestDeleteRecipientAtIndex:(int)fp12;
  817. - (void)composeRecipientViewDidFinishEnteringRecipient:(id)fp8;
  818. - (void)composeRecipientView:(id)fp8 peoplePicker:(id)fp12 selectedRecord:(struct CPRecord *)fp16 withIdentifier:(int)fp20;
  819. - (id)composeRecipientView:(id)fp8 composeRecipientForAddress:(id)fp12;
  820. - (id)composeRecipientView:(id)fp8 composeRecipientForRecord:(struct CPRecord *)fp12 identifier:(int)fp16;
  821. - (void)animationDidStop:(id)fp8;
  822. - (void)composeRecipientView:(id)fp8 didChangeSize:(struct CGSize)fp12;
  823. - (void)composeRecipientViewRequestAddRecipient:(id)fp8;
  824. - (void)composeRecipientViewDidFinishPickingRecipient:(id)fp8;
  825. - (BOOL)justDismissedPeoplePicker;
  826.  
  827. @end
  828.  
  829. @interface ComposeRecipientView (ReachingIn)
  830. - (id)addButton;
  831. @end
  832.  
  833. @interface SMSTranscriptTopCell : UIView
  834. {
  835. id _delegate;
  836. NSMutableArray *_buttonViews;
  837. }
  838.  
  839. + (float)defaultHeight;
  840. - (void)dealloc;
  841. - (void)_addButtonWithTitle:(id)fp8 frame:(struct CGRect)fp12;
  842. - (void)setFirstButton:(id)fp8 secondButton:(id)fp12;
  843. - (void)setDelegate:(id)fp8;
  844. - (id)buttonViews;
  845. - (void)_buttonClicked:(id)fp8;
  846.  
  847. @end
  848.  
  849. @interface AlwaysHighlightingPlacardButton : UIPlacardButton
  850. {
  851. }
  852.  
  853. - (BOOL)_alwaysHandleScrollerMouseEvent;
  854.  
  855. @end
  856.  
  857. @interface mSMSBalloonSimpleTextField : mSMSBalloonTextField
  858. {
  859. NSString *_text;
  860. }
  861.  
  862. + (float)heightForText:(id)fp8;
  863. - (id)text;
  864. - (void)setText:(id)fp8;
  865. - (void)dealloc;
  866. - (void)drawRect:(struct CGRect)fp8;
  867.  
  868. @end
  869.  
  870. @interface mSMSBalloonWebTextField : mSMSBalloonTextField
  871. {
  872. UIWebView *_webLayer;
  873. DOMHTMLElement *_textElement;
  874. }
  875.  
  876. + (float)heightForText:(id)fp8;
  877. - (id)initWithFrame:(struct CGRect)fp8;
  878. - (void)dealloc;
  879. - (void)setOrientation:(int)fp8;
  880. - (void)setText:(id)fp8;
  881. - (void)setDraws:(BOOL)fp8;
  882. - (id)text;
  883. - (void)setNeedsDisplay;
  884. - (void)tighten;
  885. - (void)cancelInteraction;
  886. - (void)webViewDidChange:(id)fp8;
  887.  
  888. @end
  889.  
  890. @interface SMSMessageDelivery : NSObject
  891. {
  892. id _delegate;
  893. NSString *_text;
  894. int _group;
  895. int _associationID;
  896. SMSMessage *_message;
  897. unsigned int _isSending:1;
  898. }
  899.  
  900. - (id)init;
  901. - (void)dealloc;
  902. - (void)setDelegate:(id)fp8;
  903. - (float)progress;
  904. - (BOOL)isSending;
  905. - (void)_finishedSendingMessages;
  906. - (void)_notifyDelegatesOfMessageDelivery:(struct __CTSMSMessage *)fp8 success:(BOOL)fp12;
  907. - (void)_sentMessage:(struct __CTSMSMessage *)fp8;
  908. - (void)_errorSendingMessage:(struct __CTSMSMessage *)fp8;
  909. - (void)populateWithDeliveringMessage:(id)fp8;
  910. - (void)deliverText:(id)fp8 recipients:(id)fp12 group:(int)fp16 replyTo:(id)fp20;
  911. - (void)sendOutboundMessage:(struct __CTSMSMessage *)fp8;
  912. - (void)redeliverPartiallyFailedMessage:(id)fp8;
  913. - (void)_deliverText:(id)fp8 recipient:(struct CPRecord *)fp12 replyTo:(id)fp16;
  914. - (CDAnonymousStruct1)_sendMessage:(struct __CTSMSMessage *)fp8;
  915. - (void)_fakeSendMessage:(struct __CTSMSMessage *)fp8 afterDelay:(double)fp12;
  916.  
  917. @end
  918.  
  919. @interface NSString (SMSPhoneNumberNormalization)
  920. - (id)unformattedPhoneNumber;
  921. @end
  922.  
  923. @interface LabelledAtomList : UIView
  924. {
  925. NSMutableArray *_addresses;
  926. UITextLabel *_toLabel;
  927. UITextLabel *_inactiveModeLabel;
  928. UITextLabel *_detailsLabel;
  929. UITextLabel *_hideDetailsLabel;
  930. id _delegate;
  931. unsigned int _expanded:1;
  932. unsigned int _inReflow:1;
  933. }
  934.  
  935. - (id)initWithLabel:(id)fp8 width:(float)fp12 addresses:(id)fp16;
  936. - (void)dealloc;
  937. - (void)setDelegate:(id)fp8;
  938. - (id)label;
  939. - (BOOL)isExpanded;
  940. - (void)setExpanded:(BOOL)fp8 animate:(BOOL)fp12;
  941. - (void)_reflowWithAnimation:(BOOL)fp8;
  942. - (void)_setViewHeight:(float)fp8 animate:(BOOL)fp12;
  943. - (float)_heightAfterReflowingForAtom:(id)fp8;
  944. - (void)reflowForAtom:(id)fp8;
  945. - (void)setAddressAtomTarget:(id)fp8 action:(SEL)fp12;
  946. - (id)_inactiveModeText;
  947.  
  948. @end
  949.  
  950. @interface AddressAtom : UIControl
  951. {
  952. struct {
  953. struct CGRect left;
  954. struct CGRect middle;
  955. struct CGRect right;
  956. } _atomImageSlices;
  957. SlicedImageView *_leftCap;
  958. SlicedImageView *_rightCap;
  959. SlicedImageView *_center;
  960. UITextLabel *_addressLabel;
  961. NSString *_fullAddress;
  962. struct CPRecord *_person;
  963. NSString *_displayString;
  964. struct CGPoint _displayStringOrigin;
  965. unsigned int _maxWidth;
  966. int _identifier;
  967. unsigned int _needsToSendMouseUpEvents:1;
  968. unsigned int _dragging:1;
  969. unsigned int _updatedABPerson:1;
  970. }
  971.  
  972. + (void)initialize;
  973. - (void)_registerForNotifications;
  974. - (void)_unregisterForNotifications;
  975. - (id)initWithAddress:(id)fp8 maxWidth:(float)fp12 useAddressBookDisplayString:(BOOL)fp16;
  976. - (void)setMaxWidth:(float)fp8;
  977. - (void)mouseUp:(struct __GSEvent *)fp8;
  978. - (void)mouseDragged:(struct __GSEvent *)fp8;
  979. - (void)sendAction:(SEL)fp8 toTarget:(id)fp12 forEvent:(struct __GSEvent *)fp16;
  980. - (void)dealloc;
  981. - (void)setFrame:(struct CGRect)fp8;
  982. - (void)autoResizeWithOrigin:(struct CGPoint)fp8;
  983. - (void)autoResize;
  984. - (void)_updateABPerson;
  985. - (void)_updateDisplayString;
  986. - (void)_updateDisplayStringIncludingABPerson:(BOOL)fp8;
  987. - (struct CPRecord *)ABPerson;
  988. - (id)displayString;
  989. - (int)identifier;
  990. - (id)unmodifiedAddressString;
  991. - (void)setHighlighted:(BOOL)fp8;
  992. - (BOOL)_alwaysHandleScrollerMouseEvent;
  993.  
  994. @end
  995.  
  996. @interface SlicedImageView : UIView
  997. {
  998. UIImage *_image;
  999. UIImage *_imagePressed;
  1000. struct CGRect _imageSlice;
  1001. unsigned int _isPressed:1;
  1002. }
  1003.  
  1004. - (id)initWithFrame:(struct CGRect)fp8 image:(id)fp24 pressed:(id)fp28 slice:(struct CGRect)fp32;
  1005. - (void)dealloc;
  1006. - (void)drawRect:(struct CGRect)fp8;
  1007. - (void)setPressed:(BOOL)fp8;
  1008.  
  1009. @end
  1010.  
  1011. @interface SMSMessage : NSObject
  1012. {
  1013. NSMutableArray *_messages;
  1014. int _associationID;
  1015. int _groupID;
  1016. }
  1017.  
  1018. - (id)init;
  1019. - (id)initWithMessage:(struct __CTSMSMessage *)fp8;
  1020. - (id)initWithMessages:(id)fp8;
  1021. - (BOOL)isEqual:(id)fp8;
  1022. - (void)dealloc;
  1023. - (void)addMessage:(struct __CTSMSMessage *)fp8;
  1024. - (int)associationID;
  1025. - (int)groupID;
  1026. - (id)messages;
  1027. - (id)date;
  1028. - (void)markAsRead;
  1029. - (void)permanentlyRemoveMessage;
  1030. - (BOOL)isOutgoing;
  1031. - (id)textCopy;
  1032. - (unsigned long)height;
  1033. - (void)setUIHeight:(unsigned long)fp8 flags:(unsigned long)fp12;
  1034. - (void)getUIHeight:(unsigned int *)fp8 flags:(unsigned int *)fp12;
  1035. - (int)pendingCount;
  1036. - (BOOL)pending;
  1037. - (BOOL)failedSend;
  1038. - (BOOL)partiallyFailedSend;
  1039. - (int)sentCount;
  1040. - (BOOL)hasBeenSent;
  1041. - (BOOL)hasBeenRead;
  1042. - (BOOL)isPlaceholder;
  1043. - (int)failedSendCount;
  1044. - (BOOL)completelyFailedSend;
  1045.  
  1046. @end
  1047.  
  1048. @interface SMSMessageAddress : NSObject
  1049. {
  1050. struct CPRecord *_address;
  1051. int _hash;
  1052. BOOL _hashComputed;
  1053. }
  1054.  
  1055. + (id)addressessForCTMessageAddresses:(id)fp8;
  1056. - (id)initWithCTMessageAddress:(struct CPRecord *)fp8;
  1057. - (void)dealloc;
  1058. - (id)phoneNumber;
  1059. - (unsigned int)hash;
  1060. - (BOOL)isEqual:(id)fp8;
  1061.  
  1062. @end
Add Comment
Please, Sign In to add comment