|
a/src/main.hxx |
|
b/src/main.hxx |
|
... |
|
... |
17 |
#ifndef _MAIN_H_X_INCLUDED_
|
17 |
#ifndef _MAIN_H_X_INCLUDED_
|
18 |
#define _MAIN_H_X_INCLUDED_
|
18 |
#define _MAIN_H_X_INCLUDED_
|
19 |
|
19 |
|
20 |
#include <string>
|
20 |
#include <string>
|
21 |
#include <unordered_set>
|
21 |
#include <unordered_set>
|
22 |
#include <mutex>
|
|
|
23 |
|
22 |
|
24 |
extern std::string g_configfilename;
|
23 |
extern std::string g_configfilename;
|
25 |
extern std::string g_datadir;
|
24 |
extern std::string g_datadir;
|
26 |
extern bool g_enableL16;
|
25 |
extern bool g_enableL16;
|
27 |
class ConfSimple;
|
26 |
class ConfSimple;
|
28 |
extern std::mutex g_configlock;
|
|
|
29 |
extern ConfSimple *g_config;
|
27 |
extern ConfSimple *g_config;
|
30 |
|
28 |
|
31 |
typedef struct ohInfoDesc {
|
29 |
typedef struct ohInfoDesc {
|
32 |
std::string name;
|
30 |
std::string name;
|
33 |
std::string info;
|
31 |
std::string info;
|