diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-11-11 08:26:59 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-11-11 08:26:59 +0000 |
commit | 6c1a5d616e83a6ca20479255ccc272abac586011 (patch) | |
tree | dea3257a36f602e626272cc25c912704619e9b2c /plugins/!Deprecated/VersionInfo/src/utils.h | |
parent | eabafdf4b42139ff85a8c8212cd0a9d287171e73 (diff) |
- VersionInfo moved to deprecated and replaced be CrashDumper because CrashDumper's debugger part can be switched off now if needed
git-svn-id: http://svn.miranda-ng.org/main/trunk@10950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!Deprecated/VersionInfo/src/utils.h')
-rw-r--r-- | plugins/!Deprecated/VersionInfo/src/utils.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/plugins/!Deprecated/VersionInfo/src/utils.h b/plugins/!Deprecated/VersionInfo/src/utils.h new file mode 100644 index 0000000000..7c8711ad3e --- /dev/null +++ b/plugins/!Deprecated/VersionInfo/src/utils.h @@ -0,0 +1,42 @@ +#ifndef _M_VERSIONINFO_UTILS_H
+#define _M_VERSIONINFO_UTILS_H
+
+//utils.cpp
+void Log(const TCHAR*);
+TCHAR *StrTrim(TCHAR *, const TCHAR *);
+
+//returns a string from the database and uses MirandaFree to deallocate the string, leaving only the local copy
+//utils.cpp
+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 TCHAR *szWholeText, TCHAR *szStartText, TCHAR *szEndText);
+
+//utils.cpp
+bool DoesDllExist(char *dllName);
+
+//utils.cpp
+void GetModuleTimeStamp(LPTSTR lpszString, DWORD dwSize);
+void GetISO8061Time(SYSTEMTIME* stLocal, LPTSTR lpszString, DWORD dwSize);
+void NotifyError(DWORD, const TCHAR*, int);
+
+//utils.cpp
+PLUGININFOEX *CopyPluginInfo(PLUGININFOEX *);
+void FreePluginInfo(PLUGININFOEX *);
+
+//utils.cpp
+
+BOOL IsCurrentUserLocalAdministrator();
+
+TCHAR *GetLanguageName(LANGID language);
+TCHAR *GetLanguageName(LCID locale);
+
+BOOL GetWindowsShell(TCHAR *shellPath, size_t shSize);
+BOOL GetInternetExplorerVersion(TCHAR *ieVersion, size_t ieSize);
+
+BOOL UUIDToString(MUUID uuid, TCHAR *str, size_t len);
+
+BOOL IsUUIDNull(MUUID uuid);
+
+#endif
\ No newline at end of file |