mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 03:20:50 +02:00
Groups: self-management of membership of groups
- Add Groups tab vector-im/riot-meta#114
This commit is contained in:
@@ -22,15 +22,18 @@
|
||||
#import "FavouritesViewController.h"
|
||||
#import "PeopleViewController.h"
|
||||
#import "RoomsViewController.h"
|
||||
#import "GroupsViewController.h"
|
||||
|
||||
#import "RoomViewController.h"
|
||||
#import "ContactDetailsViewController.h"
|
||||
#import "GroupDetailsViewController.h"
|
||||
|
||||
#define TABBAR_HOME_INDEX 0
|
||||
#define TABBAR_FAVOURITES_INDEX 1
|
||||
#define TABBAR_PEOPLE_INDEX 2
|
||||
#define TABBAR_ROOMS_INDEX 3
|
||||
#define TABBAR_COUNT 4
|
||||
#define TABBAR_GROUPS_INDEX 4
|
||||
#define TABBAR_COUNT 5
|
||||
|
||||
@interface MasterTabBarController : UITabBarController
|
||||
|
||||
@@ -83,6 +86,14 @@
|
||||
*/
|
||||
- (void)selectContact:(MXKContact*)contact;
|
||||
|
||||
/**
|
||||
Open a GroupDetailsViewController to display the information of the provided group.
|
||||
|
||||
@param group
|
||||
@param mxSession the matrix session in which the group should be available.
|
||||
*/
|
||||
- (void)selectGroup:(MXGroup*)group inMatrixSession:(MXSession*)matrixSession;
|
||||
|
||||
/**
|
||||
Release the current selected item (if any).
|
||||
*/
|
||||
@@ -116,6 +127,7 @@
|
||||
@property (nonatomic, readonly) FavouritesViewController *favouritesViewController;
|
||||
@property (nonatomic, readonly) PeopleViewController *peopleViewController;
|
||||
@property (nonatomic, readonly) RoomsViewController *roomsViewController;
|
||||
@property (nonatomic, readonly) GroupsViewController *groupsViewController;
|
||||
|
||||
// References on the currently selected room and its view controller
|
||||
@property (nonatomic, readonly) RoomViewController *currentRoomViewController;
|
||||
@@ -128,5 +140,10 @@
|
||||
@property (nonatomic, readonly) ContactDetailsViewController *currentContactDetailViewController;
|
||||
@property (nonatomic, readonly) MXKContact *selectedContact;
|
||||
|
||||
// References on the currently selected group and its view controller
|
||||
@property (nonatomic, readonly) GroupDetailsViewController *currentGroupDetailViewController;
|
||||
@property (nonatomic, readonly) MXGroup *selectedGroup;
|
||||
@property (nonatomic, readonly) MXSession *selectedGroupSession;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user