aboutsummaryrefslogtreecommitdiff
path: root/Menu.h
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2018-02-27 01:00:47 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2018-02-27 01:00:47 +0800
commit1948342aa869ad284d3bed11abbec03bc56ac612 (patch)
treeddda137e56aa1086be0f3edb67e1ffcc5be17b5a /Menu.h
downloadScript-Materializer-1948342aa869ad284d3bed11abbec03bc56ac612.tar.xz
the fscking initial commit.
Diffstat (limited to 'Menu.h')
-rw-r--r--Menu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Menu.h b/Menu.h
new file mode 100644
index 0000000..90e4fa5
--- /dev/null
+++ b/Menu.h
@@ -0,0 +1,13 @@
+#pragma once
+
+//by default these functions are called in Testcallback.cpp
+//if you do not use callback (do not have Testcallback.cpp), you should call these functions manually
+
+//to add a menu in Virtools Dev main menu.
+void InitMenu();
+//to remove the menu from Virtools Dev main menu
+void RemoveMenu();
+//to fill menu with your own commands
+void UpdateMenu();
+
+#define STR_MAINMENUNAME "Fsck"