blackberry.com
BlackBerry Dynamics
Runtime library for macOS applications
from the application developer portal

GDAppConfig.h

Go to the documentation of this file.
00001 /*
00002  * (c) 2017 BlackBerry Limited. All rights reserved.
00003  *
00004  */
00005 
00006 #pragma once
00007 
00008 #import <Foundation/Foundation.h>
00009 
00010 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
00011 
00012 // See: http://clang.llvm.org/docs/LanguageExtensions.html
00013 #   ifndef __has_extension
00014 #       define __has_extension(x) 0  // Compatibility with non-clang compilers.
00015 #   endif
00016 
00017 #   if __has_extension(attribute_deprecated_with_message)
00018 #       define DEPRECATE_APPCONFIGKEYS __attribute__((deprecated("Use GDAppConfigKeyServers")))
00019 #       define DEPRECATE_APP_COPYPASTEON __attribute__((deprecated("Use GDAppConfigKeyPreventDataLeakageOut")))
00020 #   else
00021 #       define DEPRECATE_APPCONFIGKEYS __attribute__((deprecated))
00022 #       define DEPRECATE_APP_COPYPASTEON __attribute__((deprecated))
00023 #   endif
00024 
00025 #endif
00026 
00030 extern const NSString* const GDAppConfigKeyServers;
00031 
00032 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
00033 
00035 extern const NSString* const GDAppConfigKeyHost DEPRECATE_APPCONFIGKEYS;
00036 
00039 extern const NSString* const GDAppConfigKeyPort DEPRECATE_APPCONFIGKEYS;
00040 #endif
00041 
00045 extern const NSString* const GDAppConfigKeyConfig;
00046 
00050 extern const NSString* const GDAppConfigKeyPreventDataLeakageOut;
00051 
00055 extern const NSString* const GDAppConfigKeyPreventDataLeakageIn;
00056 
00057 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
00058 
00060 extern const NSString* const GDAppConfigKeyCopyPasteOn DEPRECATE_APP_COPYPASTEON;
00061 #endif
00062 
00066 extern const NSString* const GDAppConfigKeyDetailedLogsOn;
00067 
00071 extern const NSString* const GDAppConfigKeyPreventUserDetailedLogs;
00072 
00076 extern const NSString* const GDAppConfigKeyUserId;
00077 
00081 extern const NSString* const GDAppConfigKeyUserPrincipalName;
00082 
00083 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
00084 
00086 extern const NSString* const GDAppConfigKeyPreventDictation;
00087 
00090 extern const NSString* const GDAppConfigKeyPreventCustomKeyboards;
00091 #endif
00092 
00097 extern const NSString* const GDAppConfigKeyProtectedByPassword;
00098 
00116 extern const NSString* const GDAppConfigKeyCommunicationProtocols;
00117 
00121 extern const NSString* const GDProtocolsKeySSLv3_0;
00122 
00126 extern const NSString* const GDProtocolsKeyTLSv1_0;
00127 
00131 extern const NSString* const GDProtocolsKeyTLSv1_1;
00132 
00136 extern const NSString* const GDProtocolsKeyTLSv1_2;
00137