diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-17 15:50:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-17 15:50:17 +0000 |
commit | a338e594273bda039eec784ecb461395f23bd56e (patch) | |
tree | 672ca0530c45df8af7289d6d3d7e287342a77376 /plugins/VersionInfo/utils.h | |
parent | 11771cfdeade7fbb283a208138c6561ba779779c (diff) |
- missing plugins added
- fixes for the status plugins' projects
- other VS2010 projects cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@13 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/VersionInfo/utils.h')
-rw-r--r-- | plugins/VersionInfo/utils.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/plugins/VersionInfo/utils.h b/plugins/VersionInfo/utils.h new file mode 100644 index 0000000000..ef2b29ba59 --- /dev/null +++ b/plugins/VersionInfo/utils.h @@ -0,0 +1,54 @@ +#ifndef _M_VERSIONINFO_UTILS_H
+#define _M_VERSIONINFO_UTILS_H
+
+#include "common.h"
+
+//utils.cpp
+void MB(char*);
+void Log(char*);
+char *StrTrim(char *, const char *);
+
+//logging functions
+//utils.cpp
+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);
+
+//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);
+
+//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);
+
+//utils.cpp
+bool DoesDllExist(char *dllName);
+
+//utils.cpp
+void GetModuleTimeStamp(char*, char*);
+void NotifyError(DWORD, char*, int);
+
+//utils.cpp
+PLUGININFOEX *GetPluginInfo(const char *,HINSTANCE *);
+PLUGININFOEX *CopyPluginInfo(PLUGININFOEX *);
+void FreePluginInfo(PLUGININFOEX *);
+
+//utils.cpp
+
+BOOL IsCurrentUserLocalAdministrator();
+
+char *GetLanguageName(LANGID language);
+char *GetLanguageName(LCID locale);
+
+BOOL GetWindowsShell(char *shellPath, size_t shSize);
+BOOL GetInternetExplorerVersion(char *ieVersion, size_t ieSize);
+
+BOOL UUIDToString(MUUID uuid, char *str, size_t len);
+
+BOOL IsUUIDNull(MUUID uuid);
+
+#endif
\ No newline at end of file |