summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_genmenu.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-30 21:31:03 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-30 21:31:03 +0000
commitce1c33a2c65a605929c5fcc7c075c76c3b27ea68 (patch)
treee756063cb1323cca57afb78270745abba6a1c6a3 /plugins/MirLua/src/m_genmenu.h
parentfce279191e7b00a56ff5ca0e81dbb1a3fcee354f (diff)
MirLua: removed duplicate code
git-svn-id: http://svn.miranda-ng.org/main/trunk@14464 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_genmenu.h')
-rw-r--r--plugins/MirLua/src/m_genmenu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/MirLua/src/m_genmenu.h b/plugins/MirLua/src/m_genmenu.h
new file mode 100644
index 0000000000..69ddff6215
--- /dev/null
+++ b/plugins/MirLua/src/m_genmenu.h
@@ -0,0 +1,9 @@
+#ifndef _LUA_M_GENMENU_H_
+#define _LUA_M_GENMENU_H_
+
+#define MLUA_GENMENU "m_genmenu"
+LUAMOD_API int (luaopen_m_genmenu)(lua_State *L);
+
+void MakeMenuItem(lua_State *L, CMenuItem &mi);
+
+#endif //_LUA_CONSOLE_H_ \ No newline at end of file