app_mgr.h 404 Bytes
#ifndef ETRADECLIENT_UTILITY_APP_MGR_H_INCLUDED
#define ETRADECLIENT_UTILITY_APP_MGR_H_INCLUDED

class AppMgr
{
public:
	static AppMgr& Instance();
	bool IsNeedRelauch();
	void Exit(bool is_need_user_confirm = true);
	void Relauch();
private:
	AppMgr();
	AppMgr(const AppMgr&);
	AppMgr& operator=(const AppMgr&);

private:

	bool m_is_need_relauch;
};


#endif // ETRADECLIENT_UTILITY_APP_MGR_H_INCLUDED