Can now remember last app run, so on return to mmenu it jumps right back there
[pandora-libraries.git] / minimenu / mmconf.h
index a8d6c7b..4f07c43 100644 (file)
@@ -11,6 +11,8 @@ typedef enum {
   ct_boolean,                   // boolean 1/0 value
   ct_exit,                      // save and quit configuring
   ct_filename,                  // pick a filename
+  ct_go_manage_categories,      // go to other menu, manage categories
+  ct_go_manage_skins,           // to to other menu, pick skins
   //ct_category_list
 } change_type_e;
 
@@ -34,10 +36,12 @@ void conf_display_page ( confitem_t *page, unsigned int selitem, unsigned int fi
 #define CONF_SELECTED 1
 #define CONF_UNSELECTED 0
 unsigned char conf_prepare_page ( confitem_t *page );
+unsigned int conf_determine_pagelength ( confitem_t *page );
 
 void conf_merge_into ( char *fullpath, pnd_conf_handle h ); // merge fullpath as a conf file into 'h'; no turning back.
 unsigned char conf_write ( pnd_conf_handle h, char *fullpath ); // emit a conf file, based on items known to conf-ui
 #define CONF_PREF_FILENAME ".mmpref.conf" // or should be .mmprefrc? tend to use '.conf' already so go with it.
+#define CONF_PREF_TEMPPATH "/tmp/" CONF_PREF_FILENAME
 char *conf_determine_location ( pnd_conf_handle h ); // where to stick the conf file?
 void conf_setup_missing ( pnd_conf_handle h ); // find missing keys, set them to default values