summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export/src/utils.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-14 14:31:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-14 14:31:39 +0000
commitaa090255cfc30e3aeef7e2ed8d1c8eac3e477cdb (patch)
treeb4e4653276536c993e4b55a46a023f0e59831168 /plugins/Msg_Export/src/utils.h
parentfd8eefffc4b86f389c72e9cb88cf34533c759657 (diff)
fix: various problems with memory
git-svn-id: http://svn.miranda-ng.org/main/trunk@4025 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Msg_Export/src/utils.h')
-rwxr-xr-xplugins/Msg_Export/src/utils.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/Msg_Export/src/utils.h b/plugins/Msg_Export/src/utils.h
index 37b16b23e5..6264ad2a62 100755
--- a/plugins/Msg_Export/src/utils.h
+++ b/plugins/Msg_Export/src/utils.h
@@ -39,7 +39,7 @@ extern int nMaxLineWidth;
extern tstring sExportDir;
extern tstring sDefaultFile;
extern tstring sTimeFormat;
-extern map<tstring , string::size_type , less<tstring> > clFileTo1ColWidth;
+extern map<tstring, string::size_type, less<tstring> > clFileTo1ColWidth;
extern bool bAppendNewLine;
extern bool bUseUtf8InNewFiles;
@@ -49,9 +49,9 @@ extern bool bReplaceHistory;
tstring sGetErrorString(DWORD dwError);
tstring sGetErrorString();
-void DisplayLastError(const _TCHAR * pszError);
+void DisplayLastError(const TCHAR *pszError);
-_TCHAR * CheckedTranslate( const _TCHAR *szEng , int nFormatCount = -1 );
+TCHAR *CheckedTranslate( const TCHAR *szEng, int nFormatCount = -1 );
void SaveSettings();
void ShowDebugInfo();
@@ -59,27 +59,27 @@ void ShowDebugInfo();
int nExportEvent(WPARAM wparam,LPARAM lparam);
int nContactDeleted(WPARAM wparam,LPARAM lparam);
-const _TCHAR *NickFromHandle(HANDLE hContact);
+const TCHAR *NickFromHandle(HANDLE hContact);
-tstring __inline _DBGetStringW(HANDLE hContact,const char *szModule,const char *szSetting , const _TCHAR * pszError );
-string __inline _DBGetStringA(HANDLE hContact,const char *szModule,const char *szSetting , const char * pszError );
+tstring __inline _DBGetStringW(HANDLE hContact,const char *szModule,const char *szSetting, const TCHAR *pszError );
+string __inline _DBGetStringA(HANDLE hContact,const char *szModule,const char *szSetting, const char *pszError );
-void ReplaceAll( tstring &sSrc , const _TCHAR * pszReplace , const tstring &sNew);
-void ReplaceAll( tstring &sSrc , const _TCHAR * pszReplace , const _TCHAR * pszNew);
+void ReplaceAll( tstring &sSrc, const TCHAR *pszReplace, const tstring &sNew);
+void ReplaceAll( tstring &sSrc, const TCHAR *pszReplace, const TCHAR *pszNew);
void UpdateFileToColWidth();
bool bReadMirandaDirAndPath();
tstring GetFilePathFromUser( HANDLE hContact );
-void ReplaceDefines( HANDLE hContact , tstring & sTarget );
+void ReplaceDefines( HANDLE hContact, tstring & sTarget );
void ReplaceTimeVariables( tstring &sRet );
bool bCreatePathToFile( tstring sFilePath );
-bool bWriteIndentedToFile( HANDLE hFile , int nIndent , const char * pszSrc , bool bUtf8File );
-bool bWriteIndentedToFile( HANDLE hFile , int nIndent , const _TCHAR * pszSrc , bool bUtf8File );
-bool bWriteNewLine( HANDLE hFile , DWORD dwIndent );
+bool bWriteIndentedToFile( HANDLE hFile, int nIndent, const char *pszSrc, bool bUtf8File );
+bool bWriteIndentedToFile( HANDLE hFile, int nIndent, const TCHAR *pszSrc, bool bUtf8File );
+bool bWriteNewLine( HANDLE hFile, DWORD dwIndent );
bool bIsUtf8Header( BYTE * pucByteOrder );
#endif