//
//  MCHostingDefines.h
//  MCHosting
//
//  Created by Thomas Bartelmess on 10-09-03.
//  Copyright 2010 Marketcircle Inc. All rights reserved.
//



#define USE_IP_V4 YES
#define USE_IP_V6 NO

extern NSString *kMCHostingBundleIdentifier;

#define MCHostingBundle [NSBundle bundleWithIdentifier:kMCHostingBundleIdentifier]

extern NSString * kServerNodeDefaultsUUIDKey;
extern NSString * kServerNodeDefaultsAdminDBServerKey;
extern NSString * kServerNodeDefaultsAdminDBServerPortKey;
extern NSString * kServerNodeDefaultsAdminDBNameKey;
extern NSString * kServerNodeDefaultsAdminDBUsernameKey;
extern NSString * kServerNodeDefaultsAdminDBPasswordKey;

extern NSString * kServerDictExternalHostname;
extern NSString * kServerDictExternalIP;
extern NSString * kServerDictInternalHostname;
extern NSString * kServerDictInternalIP;
extern NSString * kServerDictDatabaseName;
extern NSString * kServerDictHostname;
extern NSString * kServerDictIP;
extern NSString * kServerDictPort;
extern NSString * kServerDictUsername;
extern NSString * kServerDictPassword;
extern NSString * kServerDictServer;
extern NSString * kServerDictPostgresSchema;


/*!
 These launch arguments have been added in order to make staged capable of launching with arguments thus not requiring to query the server via runloop trickery which is causing weird crashes.
 */
extern NSString * kLaunchCloudID;
extern NSString * kLaunchDatabaseHostname;
extern NSString * kLaunchDatabasePort;
extern NSString * kLaunchDatabaseName;
extern NSString * kLaunchDatabaseUsername;
extern NSString * kLaunchDatabasePassword;
extern NSString * kLaunchDatabaseSchemaName;

/*!
 Need the -name variants to launch
 */
extern NSString * kLaunchArgDatabaseHostname;
extern NSString * kLaunchArgDatabasePort;
extern NSString * kLaunchArgDatabaseName;
extern NSString * kLaunchArgDatabaseUsername;
extern NSString * kLaunchArgDatabasePassword;
extern NSString * kLaunchArgDatabaseSchemaName;
