diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-26 14:47:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-26 14:47:04 +0000 |
commit | 1d9dd615e5f1a43d3b78f37b5aaae836dfac1c4d (patch) | |
tree | dd3dd64e8c60cccb072e5acae857c9c55203e86d /plugins/Svc_vi/utils.h | |
parent | 32abe163ec316671ec5a0a3bbec68ec13f71cb92 (diff) |
- plugin converted to Unicode
- old bug fixed with the profile path
git-svn-id: http://svn.miranda-ng.org/main/trunk@182 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Svc_vi/utils.h')
-rw-r--r-- | plugins/Svc_vi/utils.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/Svc_vi/utils.h b/plugins/Svc_vi/utils.h index ef2b29ba59..eb28ce6146 100644 --- a/plugins/Svc_vi/utils.h +++ b/plugins/Svc_vi/utils.h @@ -6,7 +6,7 @@ //utils.cpp
void MB(char*);
void Log(char*);
-char *StrTrim(char *, const char *);
+TCHAR *StrTrim(TCHAR *, const TCHAR *);
//logging functions
//utils.cpp
@@ -14,22 +14,22 @@ void LogToFileInit(); void LogToFile(char *format, ...);
//utils.cpp
-char *RelativePathToAbsolute(char *szRelative, char *szAbsolute, size_t size);
-char *AbsolutePathToRelative(char *szAbsolute, char *szRelative, size_t size);
+TCHAR *RelativePathToAbsolute(TCHAR *szRelative, TCHAR *szAbsolute, size_t size);
+TCHAR *AbsolutePathToRelative(TCHAR *szAbsolute, TCHAR *szRelative, size_t size);
//returns a string from the database and uses MirandaFree to deallocate the string, leaving only the local copy
//utils.cpp
-int GetStringFromDatabase(char *szSettingName, char *szError, char *szResult, size_t size);
+int GetStringFromDatabase(char *szSettingName, TCHAR *szError, TCHAR *szResult, size_t size);
//a string of the form %s(start) | %s(end) is split into the two strings (start and end)
//utils.cpp
-int SplitStringInfo(const char *szWholeText, char *szStartText, char *szEndText);
+int SplitStringInfo(const TCHAR *szWholeText, TCHAR *szStartText, TCHAR *szEndText);
//utils.cpp
bool DoesDllExist(char *dllName);
//utils.cpp
-void GetModuleTimeStamp(char*, char*);
+void GetModuleTimeStamp(TCHAR*, TCHAR*);
void NotifyError(DWORD, char*, int);
//utils.cpp
@@ -41,13 +41,13 @@ void FreePluginInfo(PLUGININFOEX *); BOOL IsCurrentUserLocalAdministrator();
-char *GetLanguageName(LANGID language);
-char *GetLanguageName(LCID locale);
+TCHAR *GetLanguageName(LANGID language);
+TCHAR *GetLanguageName(LCID locale);
-BOOL GetWindowsShell(char *shellPath, size_t shSize);
-BOOL GetInternetExplorerVersion(char *ieVersion, size_t ieSize);
+BOOL GetWindowsShell(TCHAR *shellPath, size_t shSize);
+BOOL GetInternetExplorerVersion(TCHAR *ieVersion, size_t ieSize);
-BOOL UUIDToString(MUUID uuid, char *str, size_t len);
+BOOL UUIDToString(MUUID uuid, TCHAR *str, size_t len);
BOOL IsUUIDNull(MUUID uuid);
|