ContactDetailsViewController.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // _____ _
  2. // |_ _| |_ _ _ ___ ___ _ __ __ _
  3. // | | | ' \| '_/ -_) -_) ' \/ _` |_
  4. // |_| |_||_|_| \___\___|_|_|_\__,_(_)
  5. //
  6. // Threema iOS Client
  7. // Copyright (c) 2012-2020 Threema GmbH
  8. //
  9. // This program is free software: you can redistribute it and/or modify
  10. // it under the terms of the GNU Affero General Public License, version 3,
  11. // as published by the Free Software Foundation.
  12. //
  13. // This program is distributed in the hope that it will be useful,
  14. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. // GNU Affero General Public License for more details.
  17. //
  18. // You should have received a copy of the GNU Affero General Public License
  19. // along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. //// ContactDetailsViewController.h
  21. //// Threema
  22. ////
  23. //// Copyright (c) 2012 Threema GmbH. All rights reserved.
  24. ////
  25. //
  26. //#import <ContactsUI/ContactsUI.h>
  27. //#import <UIKit/UIKit.h>
  28. //#import "ThemedTableViewController.h"
  29. //#import "ProfilePictureRecipientCell.h"
  30. //
  31. //@class Contact;
  32. //@class ContactDetailsViewController;
  33. //
  34. //typedef void (^ContactDetailsCompletionBlock)(ContactDetailsViewController *contactsDetailsViewController);
  35. //
  36. //@protocol ContactDetailsViewControllerDelegate <NSObject>
  37. //
  38. //- (void)presentContactDetails:(ContactDetailsViewController *)contactsDetailsViewController onCompletion:(ContactDetailsCompletionBlock)onCompletion;
  39. //
  40. //@end
  41. //
  42. //
  43. //@interface ContactDetailsViewController : ThemedTableViewController <CNContactPickerDelegate, ProfilePictureRecipientCellDelegate>
  44. //
  45. //@property (weak, nonatomic) IBOutlet UIView *headerView;
  46. //@property (weak, nonatomic) IBOutlet UIButton *disclosureButton;
  47. //@property (weak, nonatomic) IBOutlet UIImageView *imageView;
  48. //@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
  49. //@property (weak, nonatomic) IBOutlet UILabel *companyNameLabel;
  50. //@property (weak, nonatomic) IBOutlet UIImageView *threemaTypeIcon;
  51. //@property (weak, nonatomic) IBOutlet UIBarButtonItem *scanQrCodeBarButtonItem;
  52. //
  53. //@property (strong, nonatomic) Contact* contact;
  54. //
  55. //@property id<ContactDetailsViewControllerDelegate> delegate;
  56. //
  57. //@property BOOL hideActionButtons;
  58. //
  59. ////- (IBAction)sendMessageAction:(id)sender;
  60. //- (IBAction)scanIdentityAction:(id)sender;
  61. ////- (IBAction)emailConversationAction:(id)sender;
  62. //
  63. //@end