admin
2025-04-08 5c9991be21f57781573f04961ec511ac2938ea3d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once
#include<string>
#include <libconfig.h++>
#include<list>
using namespace std;
class ConfigUtil
{
private:
 
    static void readConfig(libconfig::Config& config);
    static void writeConfig(libconfig::Config& config);
    static int readIntConfig(const char* key);
    static string readStringConfig(const char* key);
    static void setIntConfig(const char* key, int val);
    static void setStringConfig(const char* key, string val);
 
 
public:
 
    // ´°¿ÚλÖÃ
    static POINT getWindowPos();
    static void setWindowPos(int x, int y);
    
 
 
 
 
 
};