ChatConversationInfoView.h 2.03 KB
Newer Older
DanmeiChen's avatar
DanmeiChen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/*
 * Copyright (c) 2010-2019 Belledonne Communications SARL.
 *
 * This file is part of linphone-iphone 
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
19 20 21 22 23 24 25 26 27

#import <UIKit/UIKit.h>

#import "UICompositeView.h"
#import "UIRoundBorderedButton.h"

@interface ChatConversationInfoView : UIViewController <UICompositeViewDelegate, UIGestureRecognizerDelegate, UITextFieldDelegate, UITableViewDelegate, UITableViewDataSource>

@property(nonatomic) BOOL create;
28
@property(nonatomic) BOOL imAdmin;
29
@property(nonatomic) BOOL encrypted;
30 31 32
@property(nonatomic, strong) NSMutableArray *contacts;
@property(nonatomic, strong) NSMutableArray *admins;
@property(nonatomic, strong) NSMutableArray *oldContacts;
33
@property(nonatomic, strong) NSMutableArray *oldAdmins;
34
@property(nonatomic) NSString *oldSubject;
35
@property(nonatomic) LinphoneChatRoom *room;
36
@property(nonatomic) LinphoneChatRoomCbs *chatRoomCbs;
37 38 39

@property (weak, nonatomic) IBOutlet UIIconButton *nextButton;
@property (weak, nonatomic) IBOutlet UIRoundBorderedButton *quitButton;
40
@property (weak, nonatomic) IBOutlet UIIconButton *addButton;
41 42
@property (weak, nonatomic) IBOutlet UITextField *nameLabel;
@property (weak, nonatomic) IBOutlet UITableView *tableView;
43
@property (weak, nonatomic) IBOutlet UIView *waitView;
44
@property (weak, nonatomic) IBOutlet UIView *participantsBar;
45

Benjamin REIS's avatar
Benjamin REIS committed
46 47
+ (void)displayCreationError;

48 49 50 51 52
- (IBAction)onNextClick:(id)sender;
- (IBAction)onBackClick:(id)sender;
- (IBAction)onQuitClick:(id)sender;

@end