2018-06-01 09:36:01 +00:00
|
|
|
/*!
|
|
|
|
* \file SystemData.h
|
|
|
|
* \date 2014/08/18 13:23
|
|
|
|
*
|
|
|
|
* \author Kane
|
|
|
|
* Contact: user@company.com
|
|
|
|
*
|
|
|
|
* \brief
|
|
|
|
*
|
|
|
|
* TODO: long description
|
|
|
|
*
|
|
|
|
* \note
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SystemData_h__
|
|
|
|
#define SystemData_h__
|
|
|
|
|
2018-06-02 09:47:28 +00:00
|
|
|
#include <unordered_map>
|
2018-06-01 09:36:01 +00:00
|
|
|
#include <string>
|
|
|
|
#include "Parameters.h"
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
//extern hash_map<string, string> parameters;
|
2018-06-15 06:35:27 +00:00
|
|
|
extern Parameters * pParameters;
|
2018-06-01 09:36:01 +00:00
|
|
|
|
|
|
|
//bool checkVersion();
|
|
|
|
|
2018-06-15 06:35:27 +00:00
|
|
|
void init_parameters();
|
|
|
|
|
2018-06-01 09:36:01 +00:00
|
|
|
string getUserCode();
|
|
|
|
string getUserName();
|
|
|
|
|
|
|
|
void setUserCode( const string & cstrUserCode );
|
|
|
|
void setUserName( const string & cstrUserName );
|
|
|
|
|
|
|
|
string getVersion();
|
|
|
|
|
|
|
|
|
|
|
|
#endif // SystemData_h__
|