2,新增“Apps”; 3,新增“Common”; 4,新增“FileList”; 5,新增“MediaX”; 6,新增“OpenSource”; 7,新增“Samples”; 8,新增“SoftwareBusinessLines”.
41 lines
685 B
C++
41 lines
685 B
C++
#ifndef CONFIGINFO_H
|
|
#define CONFIGINFO_H
|
|
|
|
#include <QWidget>
|
|
#include <QString>
|
|
#include <QSettings>
|
|
#include <QTextCodec>
|
|
#include <QCoreApplication>
|
|
#include "TypeDef.h"
|
|
#include <QMutex>
|
|
|
|
|
|
class ConfigInfo
|
|
{
|
|
protected:
|
|
ConfigInfo();
|
|
|
|
public:
|
|
void readConfig();
|
|
void writeConfig();
|
|
void readConfigInfo();
|
|
void writeConfigInfo();
|
|
|
|
static ConfigInfo* GetInstance();
|
|
static void ReleaseInstance();
|
|
|
|
private:
|
|
static ConfigInfo* m_pConfigInfo;
|
|
|
|
public:
|
|
QString m_strServerIP;
|
|
QString m_strServerPort;
|
|
QString m_strCurTopic;
|
|
QString m_strPubishTopic;
|
|
|
|
QString m_strInfo[10];
|
|
|
|
};
|
|
|
|
#endif // CONFIGINFO_H
|