summaryrefslogtreecommitdiff
path: root/plugins/Variables/variables.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-26 23:41:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-26 23:41:55 +0000
commit25221b7d2afb70f82eb3805330fd39a6f6708049 (patch)
tree6fdd3eb5c5642788e1f8286385b15535f9a7ec16 /plugins/Variables/variables.cpp
parentef81e9edc10e2478f514e1fbfb0828ad1e7d8e49 (diff)
mk: removed all LIST_INTERFACE, MI_INTERFACE & UTF8_INTERFACE instances.
all related functions moved to mir_core. git-svn-id: http://svn.miranda-ng.org/main/trunk@644 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/variables.cpp')
-rw-r--r--plugins/Variables/variables.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/Variables/variables.cpp b/plugins/Variables/variables.cpp
index 26190fb779..acc5f90a26 100644
--- a/plugins/Variables/variables.cpp
+++ b/plugins/Variables/variables.cpp
@@ -534,23 +534,6 @@ static INT_PTR freeMemory(WPARAM wParam, LPARAM lParam) {
return 0;
}
-/*
- MS_VARS_GET_MMI
- this code is copied from Miranda's core (miranda.c)
-*/
-INT_PTR getMemoryManagerInterface(WPARAM wParam, LPARAM lParam) {
-
- struct MM_INTERFACE *mmi = (struct MM_INTERFACE*) lParam;
- if (mmi || mmi->cbSize == sizeof(struct MM_INTERFACE))
- {
- mmi->mmi_malloc = malloc;
- mmi->mmi_realloc = realloc;
- mmi->mmi_free = free;
- return 0;
- }
- return 1;
-}
-
int setParseOptions(struct ParseOptions *po) {
if (po == NULL) {
@@ -580,7 +563,6 @@ int LoadVarModule() {
hFormatStringService = CreateServiceFunction(MS_VARS_FORMATSTRING, formatStringService);
hFreeMemoryService = CreateServiceFunction(MS_VARS_FREEMEMORY, freeMemory);
hRegisterVariableService = CreateServiceFunction(MS_VARS_REGISTERTOKEN, registerToken);
- hGetMMIService = CreateServiceFunction(MS_VARS_GET_MMI, getMemoryManagerInterface);
// help dialog
hCurSplitNS = LoadCursor(NULL, IDC_SIZENS);
hUxTheme = NULL;