Index: src/ch/AppHelper.h =================================================================== diff -u -rffb46a396ce20cda2e04020cf01c118ae81642b5 -r58de8d7360813537b384eff808c031f9e63db4de --- src/ch/AppHelper.h (.../AppHelper.h) (revision ffb46a396ce20cda2e04020cf01c118ae81642b5) +++ src/ch/AppHelper.h (.../AppHelper.h) (revision 58de8d7360813537b384eff808c031f9e63db4de) @@ -28,20 +28,20 @@ CAppHelper(); virtual ~CAppHelper(); - bool SetAutorun(bool bState); // changes state of "run with system" option + bool IsFirstInstance() const { return m_bFirstInstance; } - bool IsFirstInstance() const { return m_bFirstInstance; }; + PCTSTR GetAppName() const { return m_pszAppName; } + PCTSTR GetAppNameVer() const { return m_pszAppNameVer; } + PCTSTR GetAppVersion() const { return m_pszAppVersion; } - PCTSTR GetAppName() const { return m_pszAppName; }; - PCTSTR GetAppNameVer() const { return m_pszAppNameVer; }; - PCTSTR GetAppVersion() const { return m_pszAppVersion; }; + PCTSTR GetProgramName() const { return m_pszProgramName; } - PCTSTR GetProgramName() const { return m_pszProgramName; }; - bool GetProgramDataPath(CString& rStrPath); CString ExpandPath(CString strPath); CString GetProgramPath() const; + CString GetFullProgramPath() const; + bool IsInPortableMode(); protected: @@ -57,9 +57,9 @@ TPathProcessor m_pathProcessor; TCHAR* m_pszProgramName; // name of this program (ie. CH.exe) - TCHAR* m_pszAppName; // app-name string of this app - TCHAR* m_pszAppNameVer; // extended app-name-with small version - TCHAR* m_pszAppVersion; // app-version string of this app (VERSION based) + const TCHAR* m_pszAppName; // app-name string of this app + const TCHAR* m_pszAppNameVer; // extended app-name-with small version + const TCHAR* m_pszAppVersion; // app-version string of this app (VERSION based) boost::optional m_optPortableMode; };