summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/stdafx.h')
-rw-r--r--plugins/MirLua/src/stdafx.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index 6cd1dde489..d781edee8b 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -34,12 +34,7 @@
#include <m_toptoolbar.h>
#include <m_variables.h>
-extern "C"
-{
- #include "lua\lua.h"
- #include "lua\lualib.h"
- #include "lua\lauxlib.h"
-}
+#include <lua.hpp>
#include "version.h"
#include "resource.h"
@@ -129,7 +124,7 @@ void InitIcons();
HICON GetIcon(int iconId);
HANDLE GetIconHandle(int iconId);
-void ShowNotification(const char *caption, const char *message, int flags, MCONTACT hContact);
+void ShowNotification(const char *caption, const char *message, int flags = 0, MCONTACT hContact = NULL);
void ObsoleteMethod(lua_State *L, const char *message);