Index: src/ch/AppHelper.h
===================================================================
diff -u -N -r4213a6bbd2b543810d29c5a1964917903055d60c -ra0a0c78670588f86c6be24afb076e6b304441563
--- src/ch/AppHelper.h	(.../AppHelper.h)	(revision 4213a6bbd2b543810d29c5a1964917903055d60c)
+++ src/ch/AppHelper.h	(.../AppHelper.h)	(revision a0a0c78670588f86c6be24afb076e6b304441563)
@@ -19,6 +19,8 @@
 #ifndef __APPHELPER_H__
 #define __APPHELPER_H__
 
+#include <boost/optional.hpp>
+
 class CAppHelper
 {
 public:
@@ -37,7 +39,7 @@
 	PCTSTR GetProgramPath() const { return m_pszProgramPath; };
 	PCTSTR GetProgramName() const { return m_pszProgramName; };
 
-	static bool GetProgramDataPath(CString& rStrPath);
+	bool GetProgramDataPath(CString& rStrPath);
 
 protected:
 	void InitProtection();		// optional call - protects from running multiple instance
@@ -56,6 +58,8 @@
 	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)
+
+	boost::optional<bool> m_optPortableMode;
 };
 
 #endif
\ No newline at end of file