4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
9 #include <libextl/readconfig.h>
10 #include <ioncore/saveload.h>
11 #include <ioncore/bindmaps.h>
17 /*{{{ Module information */
20 #include "../version.h"
22 char mod_menu_ion_api_version
[]=NOTION_API_VERSION
;
31 WBindmap
*mod_menu_menu_bindmap
=NULL
;
37 /*{{{ Init & deinit */
40 void mod_menu_deinit()
42 if(mod_menu_menu_bindmap
!=NULL
){
43 ioncore_free_bindmap("WMenu", mod_menu_menu_bindmap
);
44 mod_menu_menu_bindmap
=NULL
;
47 mod_menu_unregister_exports();
53 mod_menu_menu_bindmap
=ioncore_alloc_bindmap("WMenu", NULL
);
55 if(mod_menu_menu_bindmap
==NULL
)
58 if(!mod_menu_register_exports()){
63 /*ioncore_read_config("cfg_menu", NULL, TRUE);*/