summaryrefslogtreecommitdiff
path: root/plugins/SimpleAR/src/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SimpleAR/src/Main.cpp')
-rw-r--r--plugins/SimpleAR/src/Main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp
index c4b35e8611..196fc1b722 100644
--- a/plugins/SimpleAR/src/Main.cpp
+++ b/plugins/SimpleAR/src/Main.cpp
@@ -16,6 +16,7 @@ Copyright (C) 2000-2 Richard Hughes, Roland Rabien & Tristan Van de Vreede
#include "Common.h"
+CLIST_INTERFACE *pcli;
HINSTANCE hinstance;
HGENMENU hToggle, hEnableMenu;
@@ -261,6 +262,7 @@ IconItemT iconList[] =
extern "C" int __declspec(dllexport)Load(void)
{
mir_getLP(&pluginInfoEx);
+ mir_getCLI();
CreateServiceFunction(protocolname"/ToggleEnable", ToggleEnable);
CreateServiceFunction(protocolname"/ToggleAutoanswer",Toggle);