Do not globally use namespace std.
This commit is contained in:
@@ -28,6 +28,16 @@
|
|||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <sstream>
|
||||||
|
#include <cstdlib>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
class QtToolsWrapper;
|
class QtToolsWrapper;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+3
-13
@@ -21,21 +21,11 @@
|
|||||||
#define CONFIGFILE_H
|
#define CONFIGFILE_H
|
||||||
|
|
||||||
#include "tinyxml.h"
|
#include "tinyxml.h"
|
||||||
#include <string>
|
|
||||||
#include <iostream>
|
|
||||||
#include <sstream>
|
|
||||||
#include <cstdlib>
|
|
||||||
#include <fstream>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <string>
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
enum ConfigState { NONEXISTING, OLD };
|
enum ConfigState { NONEXISTING, OLD };
|
||||||
enum ConfigType { CONFIG_TYPE_INT, CONFIG_TYPE_STRING };
|
enum ConfigType { CONFIG_TYPE_INT, CONFIG_TYPE_STRING };
|
||||||
|
|
||||||
@@ -68,8 +58,8 @@ private:
|
|||||||
std::string defaultValue;
|
std::string defaultValue;
|
||||||
};
|
};
|
||||||
|
|
||||||
vector<ConfigInfo> configList;
|
std::vector<ConfigInfo> configList;
|
||||||
vector<ConfigInfo> configBufferList;
|
std::vector<ConfigInfo> configBufferList;
|
||||||
|
|
||||||
std::string configFileName;
|
std::string configFileName;
|
||||||
std::string logDir;
|
std::string logDir;
|
||||||
|
|||||||
Reference in New Issue
Block a user