mattermost-mobile/ios/UploadAttachments/UploadAttachments/StoreManager.h
Elias Nahum 3feaa8e6bb
iOS Native Share Extension (Swift) (#2575)
* iOS Native Share Extension (Swift)

* Re-arrange files

* Fix .gitignore
2019-02-26 14:31:57 -03:00

22 lines
716 B
Objective-C

#import <Foundation/Foundation.h>
#import "MattermostBucket.h"
@interface StoreManager : NSObject
@property MattermostBucket *bucket;
@property (nonatomic, strong) NSDictionary *entities;
+(instancetype)shared;
-(NSDictionary *)getChannelById:(NSString *)channelId;
-(NSDictionary *)getChannelsBySections:(NSString *)forTeamId;
-(NSDictionary *)getCurrentChannel;
-(NSString *)getCurrentChannelId;
-(NSString *)getCurrentTeamId;
-(NSString *)getCurrentUserId;
-(NSDictionary *)getDefaultChannel:(NSString *)forTeamId;
-(NSDictionary *)getEntities:(BOOL)loadFromFile;
-(UInt64)getMaxFileSize;
-(NSArray *)getMyTeams;
-(NSString *)getServerUrl;
-(NSString *)getToken;
-(void)updateEntities:(NSString *)content;
@end