#ifndef _JIDU_ENVCONFIG_H_
#define _JIDU_ENVCONFIG_H_


#include "jidu_macro.h"

class EnvConfig {

private:
	App_Env_t environment = App_Env_Staging;
	static EnvConfig* instance;

public:
	EnvConfig();
	string getEnvPath();
	string getAppPath();
	bool setEnvironment(int environment);
	int getEnvironment();
	bool checkEnvironment();

	static EnvConfig* getInstance() {
		if (NULL == instance) {
			instance = new EnvConfig();
		}
		return instance;
	}

	string getWorkerFolderWindows();
};

#endif
