mirror of
https://github.com/ttttupup/wxhelper.git
synced 2025-04-30 00:39:51 +08:00
17 lines
289 B
C++
17 lines
289 B
C++
#include "pch.h"
|
|
#include "config.h"
|
|
|
|
namespace wxhelper {
|
|
Config::Config(/* args */) {}
|
|
|
|
Config::~Config() {}
|
|
|
|
|
|
void Config::Initialize(){
|
|
port_ = GetPrivateProfileInt("config", "Port", 19088, "./config.ini");
|
|
}
|
|
int Config::GetPort(){
|
|
return port_;
|
|
}
|
|
|
|
} // namespace wxhelper
|