Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
PlatformBaseApplication.h
1 #ifndef _IPHONE_PLATFORMBASEAPPLICATION_H_
2 #define _IPHONE_PLATFORMBASEAPPLICATION_H_
3 
6 {
7 public:
8  enum NetworkStatus
9  {
10  NotReachable = 0,
11  ReachableViaWiFi,
12  ReachableViaWWAN
13  };
14 
17 
21 
22 
23  void Init(){;}
24  void Update(){;}
25  void Close(){;}
26  void Sleep(){;}
27  void Resume(){;}
28  void Message(int /* mtype */,int /* Params */);
29  void OpenLink(const char* a_link);
30  void OpenLink(const unsigned short* a_link, unsigned int a_length);
31  bool CheckConnexion();
32 
33  // ?
34  bool CheckBackKeyPressed()
35  {
36  return false;
37  }
38 
39  // get number of core / processor
40  unsigned int getProcessorCount();
41 
42 protected:
43 /* NetworkStatus localWiFiStatusForFlags(SCNetworkReachabilityFlags flags);
44  NetworkStatus networkStatusForFlags(SCNetworkReachabilityFlags flags);
45  */
46 };
47 
48 #endif //_IPHONE_PLATFORMBASEAPPLICATION_H_
PlatformBaseApplication
This class must not be virtual because there's a double inheritance.
Definition: PlatformBaseApplication.h:5
PlatformBaseApplication::PlatformBaseApplication
PlatformBaseApplication()
constructor
Definition: PlatformBaseApplication.h:16
PlatformBaseApplication::~PlatformBaseApplication
~PlatformBaseApplication()
Definition: PlatformBaseApplication.h:20