summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export/src/utils.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-08-13 19:16:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-08-13 19:16:38 +0300
commit7572c2f49fc29f3f5b20128cdb96e6087f89ab9a (patch)
tree331c8eca7d807e7c0af7c3b18b3674e180a7b217 /plugins/Msg_Export/src/utils.h
parent4e8d4723c8d60474147e12e7f6ff85836681d746 (diff)
MsgExport: options diivded into two separate dialogs, code cleaning
Diffstat (limited to 'plugins/Msg_Export/src/utils.h')
-rwxr-xr-xplugins/Msg_Export/src/utils.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/plugins/Msg_Export/src/utils.h b/plugins/Msg_Export/src/utils.h
index 2a725d2920..25b9fac08a 100755
--- a/plugins/Msg_Export/src/utils.h
+++ b/plugins/Msg_Export/src/utils.h
@@ -27,29 +27,27 @@ enum ENDialogAction
eDANothing
};
-extern ENDialogAction enRenameAction;
-extern ENDialogAction enDeleteAction;
+extern ENDialogAction g_enRenameAction;
+extern ENDialogAction g_enDeleteAction;
extern int nMaxLineWidth;
-extern wstring sExportDir;
-extern wstring sDefaultFile;
-extern wstring sTimeFormat;
+extern wstring g_sExportDir;
+extern wstring g_sDefaultFile;
+extern wstring g_sTimeFormat;
extern map<wstring, string::size_type, less<wstring> > clFileTo1ColWidth;
-extern bool bAppendNewLine;
-extern bool bUseUtf8InNewFiles;
-extern bool bUseLessAndGreaterInExport;
+extern bool g_bAppendNewLine;
+extern bool g_bUseJson;
+extern bool g_bUseUtf8InNewFiles;
+extern bool g_bUseLessAndGreaterInExport;
-extern bool bReplaceHistory;
+extern bool g_bReplaceHistory;
wstring sGetErrorString(DWORD dwError);
wstring sGetErrorString();
void DisplayLastError(const wchar_t *pszError);
void DisplayErrorDialog(const wchar_t *pszError, wstring &sFilePath, DBEVENTINFO *dbei);
-void SaveSettings();
-void ShowDebugInfo();
-
bool bIsExportEnabled(MCONTACT hContact);
HANDLE openCreateFile(wstring sFilePath);
bool bExportEvent(MCONTACT hContact, MEVENT hDbEvent, HANDLE hFile, wstring sFilePath, bool bAppendOnly);