iFun Engine API  1.0.0-b2601
Great Technology for Great Games
 All Classes Files Functions Variables Typedefs Macros
runtime_configuration.h
Go to the documentation of this file.
1 // Copyright (C) 2013-2015 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_RUNTIME_CONFIGURATION_H_
10 #define INCLUDE_FUNAPI_MANAGEMENT_RUNTIME_CONFIGURATION_H_
11 
12 #include <boost/function.hpp>
13 
14 #include <funapi/types.h>
15 
16 
17 namespace fun {
18 
20  public:
21  typedef function<void(const string &/*name*/,
22  const string &/*new_value*/,
23  const string &/*old_value*/)> ConfigChangeHandler;
24 
25  static void RegisterConfigChangeHandler(const string &name,
26  const ConfigChangeHandler &handler);
27 };
28 
29 } // namespace fun
30 
31 #endif // INCLUDE_FUNAPI_MANAGEMENT_RUNTIME_CONFIGURATION_H_
Definition: runtime_configuration.h:19