diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-17 12:51:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-17 12:51:21 +0000 |
commit | 7a65cbd15d4f808f973d782deea2a5e1a02accd6 (patch) | |
tree | db84b5fe05afc63d1d17bec16363410ce799cfe8 /plugins/Utils | |
parent | 1afab9fe8e14637b5b9b9c4a7d1b16399184fac4 (diff) |
obsolete heaader file, m_plugins.h, removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@1005 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils')
-rw-r--r-- | plugins/Utils/templates.cpp | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/plugins/Utils/templates.cpp b/plugins/Utils/templates.cpp index 11a81d856e..0fbb4715f8 100644 --- a/plugins/Utils/templates.cpp +++ b/plugins/Utils/templates.cpp @@ -10,7 +10,6 @@ extern "C" #include <time.h>
#include <win2k.h>
#include <m_system.h>
-#include <m_plugins.h>
#include <m_options.h>
#include <m_langpack.h>
#include <m_database.h>
@@ -88,14 +87,14 @@ int CopyData(StringHelper *str, const char *text, size_t len) memmove(&str->text[str->used], text, sizeof(char) * len);
str->used += len;
str->text[str->used] = '\0';
-
+
return 0;
}
-char * ParseText(const char *text,
- const char **variables, size_t variablesSize,
- const char **data, size_t dataSize)
+char * ParseText(const char *text,
+ const char **variables, size_t variablesSize,
+ const char **data, size_t dataSize)
{
size_t length = strlen(text);
size_t nextPos = 0;
@@ -211,14 +210,14 @@ int CopyDataW(StringHelperW *str, const WCHAR *text, size_t len) memmove(&str->text[str->used], text, sizeof(WCHAR) * len);
str->used += len;
str->text[str->used] = '\0';
-
+
return 0;
}
-WCHAR * ParseTextW(const WCHAR *text,
- const WCHAR **variables, size_t variablesSize,
- const WCHAR **data, size_t dataSize)
+WCHAR * ParseTextW(const WCHAR *text,
+ const WCHAR **variables, size_t variablesSize,
+ const WCHAR **data, size_t dataSize)
{
size_t length = lstrlenW(text);
size_t nextPos = 0;
@@ -356,13 +355,13 @@ WCHAR *MNotifyGetWParsedTemplate(HANDLE notifyORtype, const char *name, const WC BOOL MNotifyHasVariables(HANDLE notifyORtype)
{
- return MNotifyGetDWord(notifyORtype, NFOPT_VARIABLES_STRS, NULL) != NULL &&
+ return MNotifyGetDWord(notifyORtype, NFOPT_VARIABLES_STRS, NULL) != NULL &&
MNotifyGetDWord(notifyORtype, NFOPT_VARIABLES_SIZE, 0) != 0;
}
BOOL MNotifyHasWVariables(HANDLE notifyORtype)
{
- return MNotifyGetDWord(notifyORtype, NFOPT_VARIABLES_STRSW, NULL) != NULL &&
+ return MNotifyGetDWord(notifyORtype, NFOPT_VARIABLES_STRSW, NULL) != NULL &&
MNotifyGetDWord(notifyORtype, NFOPT_VARIABLES_SIZE, 0) != 0;
}
@@ -472,5 +471,3 @@ void MNotifyShowWVariables(HANDLE notifyORtype) mir_free(ret.text);
}
-
-
|