iFun Engine API  1.0.0-b6053
Great Technology for Great Games
app_info.h
Go to the documentation of this file.
1 // Copyright (C) 2013-2020 iFunFactory Inc. All Rights Reserved.
2 //
3 // This work is confidential and proprietary to iFunFactory Inc. and
4 // must not be used, disclosed, copied, or distributed without the prior
5 // consent of iFunFactory Inc.
6 
9 #ifndef INCLUDE_FUNAPI_MANAGEMENT_APP_INFO_H_
10 #define INCLUDE_FUNAPI_MANAGEMENT_APP_INFO_H_
11 
12 #include <boost/noncopyable.hpp>
13 #include <funapi/types.h>
14 
15 #include <set>
16 
17 
18 namespace fun {
19 
22 class FUNAPI_DLL_VISIBILITY AppInfo : private boost::noncopyable {
23  public:
25  static const string &authentication_service_provider();
26 
28  static const string &app_id();
29 
31  static const string &app_password();
32 
34  static const string &app_authentication_key();
35 
37  static const string &current_version();
38 
40  static void SetCompatibleVersions(const std::set<string> &versions);
41 
43  static const std::set<string> &GetCompatibleVersions();
44 
46  static bool IsCompatibleVersion(const string &version);
47 
49  static const string &client_update_info();
50 
52  static const string &client_update_uri();
53 };
54 
55 } // namespace fun
56 
57 #endif // INCLUDE_FUNAPI_MANAGEMENT_APP_INFO_H_
Holds the currently running app ID, authentication info and client version info.
Definition: app_info.h:22
Definition: json.h:18