All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
iOSPlatformConfigBuilder.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "IPlatformConfigBuilder.h"
6 #include "Types.h"
7 #include "App.h"
8 
9 namespace Eegeo {
10  namespace iOS {
11 
13  {
14  public:
15 
16  static iOSPlatformConfigBuilder Make();
17 
19  iOSPlatformConfigBuilder(u32 deviceTypeId, bool isMultiCore, int iOSMajorVersion = 0)
20  : m_deviceTypeId(static_cast<GameDeviceType>(deviceTypeId))
21  , m_iOSMajorVersion(iOSMajorVersion)
22  {}
23 
24  Config::PlatformConfig Build();
25 
26  private:
27  iOSPlatformConfigBuilder(GameDeviceType deviceTypeId, int iOSMajorVersion)
28  : m_deviceTypeId(deviceTypeId)
29  , m_iOSMajorVersion(iOSMajorVersion)
30  {}
31 
32  GameDeviceType m_deviceTypeId;
33  int m_iOSMajorVersion;
34  };
35 
36  }
37 }
38