wxhelper/src/config.cc

17 lines
289 B
C++
Raw Normal View History

2023-04-26 09:57:39 +08:00
#include "pch.h"
#include "config.h"
2023-03-31 21:21:35 +08:00
namespace wxhelper {
Config::Config(/* args */) {}
Config::~Config() {}
2023-04-26 09:57:39 +08:00
void Config::Initialize(){
port_ = GetPrivateProfileInt("config", "Port", 19088, "./config.ini");
}
int Config::GetPort(){
return port_;
}
} // namespace wxhelper