4 * Copyright (c) Tuomo Valkonen 1999-2007.
6 * Ion is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
12 #include <libextl/readconfig.h>
13 #include <ioncore/saveload.h>
14 #include <ioncore/bindmaps.h>
20 /*{{{ Module information */
23 #include "../version.h"
25 char mod_menu_ion_api_version[]=ION_API_VERSION;
34 WBindmap *mod_menu_menu_bindmap=NULL;
40 /*{{{ Init & deinit */
43 void mod_menu_deinit()
45 if(mod_menu_menu_bindmap!=NULL){
46 ioncore_free_bindmap("WMenu", mod_menu_menu_bindmap);
47 mod_menu_menu_bindmap=NULL;
50 mod_menu_unregister_exports();
56 mod_menu_menu_bindmap=ioncore_alloc_bindmap("WMenu", NULL);
58 if(mod_menu_menu_bindmap==NULL)
61 if(!mod_menu_register_exports()){
66 /*ioncore_read_config("cfg_menu", NULL, TRUE);*/