SaltAPI  1.1
An API for the HTTPd / Zia by Salty Studio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
IConfigLoader.hpp
Go to the documentation of this file.
1 //
2 // Created by wery_a on 07/01/17.
3 //
4 
5 #ifndef API_V2_ICONFIGLOADER_HPP
6 #define API_V2_ICONFIGLOADER_HPP
7 
8 #include <string>
9 
18 class IConfig {};
19 
20 namespace Module {
24  class IConfigLoader {
25  public:
31  virtual IConfig *LoadConfig(std::string const &path) = 0;
32  };
33 }
34 
35 #endif //API_V2_ICONFIGLOADER_HPP
virtual IConfig * LoadConfig(std::string const &path)=0
LoadConfig from file.
This class is for the config It's use to store a pointer of the config in the Core You have to dynami...