зеркало из https://github.com/nextcloud/talk-ios.git
49 строки
1.3 KiB
Objective-C
49 строки
1.3 KiB
Objective-C
/**
|
|
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface NCAppBranding : NSObject
|
|
|
|
// App configuration
|
|
extern NSString * const talkAppName;
|
|
extern NSString * const filesAppName;
|
|
extern NSString * const copyright;
|
|
extern NSString * const bundleIdentifier;
|
|
extern NSString * const groupIdentifier;
|
|
extern NSString * const appsGroupIdentifier;
|
|
extern NSString * const pushNotificationServer;
|
|
extern NSString * const privacyURL;
|
|
extern BOOL const isBrandedApp;
|
|
extern BOOL const multiAccountEnabled;
|
|
extern BOOL const useAppsGroup;
|
|
extern BOOL const forceDomain;
|
|
extern NSString * const domain;
|
|
extern BOOL const customNavigationLogo;
|
|
|
|
+ (NSString *)getAppVersionString;
|
|
|
|
// Theming
|
|
+ (UIColor *)brandColor;
|
|
+ (UIColor *)brandTextColor;
|
|
+ (UIColor *)themeColor;
|
|
+ (UIColor *)themeTextColor;
|
|
+ (UIColor *)elementColor;
|
|
+ (NSString *)navigationLogoImageName;
|
|
+ (UIColor *)placeholderColor;
|
|
+ (UIColor *)backgroundColor;
|
|
+ (UIColor *)avatarPlaceholderColor;
|
|
+ (UIColor *)chatForegroundColor;
|
|
+ (UIStatusBarStyle)statusBarStyleForBrandColor;
|
|
+ (UIStatusBarStyle)statusBarStyleForThemeColor;
|
|
+ (void)styleViewController:(UIViewController *)controller;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|