summaryrefslogtreecommitdiff
path: root/src/modules/everything/e_mod_main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/everything/e_mod_main.h')
-rw-r--r--src/modules/everything/e_mod_main.h90
1 files changed, 13 insertions, 77 deletions
diff --git a/src/modules/everything/e_mod_main.h b/src/modules/everything/e_mod_main.h
index 96489e22ab..ed543e69a6 100644
--- a/src/modules/everything/e_mod_main.h
+++ b/src/modules/everything/e_mod_main.h
@@ -4,80 +4,9 @@
#define E_MOD_MAIN_H
-typedef struct _Config Config;
typedef struct _Evry_Selector Evry_Selector;
typedef struct _Tab_View Tab_View;
-typedef struct _History History;
-typedef struct _History_Entry History_Entry;
-typedef struct _History_Item History_Item;
-struct _Config
-{
- int version;
- /* position */
- double rel_x, rel_y;
- /* size */
- int width, height;
-
- /* generic plugin config */
- Eina_List *conf_subjects;
- Eina_List *conf_actions;
- Eina_List *conf_objects;
- Eina_List *conf_views;
-
- int scroll_animate;
- double scroll_speed;
-
- int hide_input;
- int hide_list;
-
- int quick_nav;
-
- const char *cmd_terminal;
- const char *cmd_sudo;
-
- int view_mode;
- int view_zoom;
-
- int history_sort_mode;
-
- /* use up/down keys for prev/next in thumb view */
- int cycle_mode;
-
- /* not saved data */
- Eina_List *plugins;
- Eina_List *actions;
- Eina_List *views;
-
- int min_w, min_h;
-};
-
-
-
-struct _History_Item
-{
- const char *plugin;
- const char *context;
- const char *input;
- double last_used;
- double usage;
- int count;
- int transient;
-};
-
-struct _History_Entry
-{
- Eina_List *items;
-};
-
-struct _History
-{
- int version;
- Eina_Hash *subjects;
- Eina_Hash *actions;
- double begin;
-};
-
struct _Evry_Selector
{
@@ -137,6 +66,18 @@ EAPI E_Config_Dialog *evry_config_dialog(E_Container *con, const char *params);
EAPI Tab_View *evry_tab_view_new(const Evry_State *s, Evas *e);
EAPI void evry_tab_view_free(Tab_View *v);
+Eina_Bool view_thumb_init(void);
+void view_thumb_shutdown(void);
+
+Eina_Bool view_help_init(void);
+void view_help_shutdown(void);
+
+Eina_Bool view_preview_init(void);
+void view_preview_shutdown(void);
+
+Eina_Bool evry_plug_clipboard_init(void);
+void evry_plug_clipboard_shutdown(void);
+
int evry_init(void);
int evry_shutdown(void);
int evry_show(E_Zone *zone, const char *params);
@@ -150,16 +91,11 @@ EAPI void evry_plug_actions_free(Evry_Plugin *plugin);
void evry_history_init(void);
void evry_history_free(void);
-EAPI void evry_history_load(void);
-EAPI void evry_history_unload(void);
-EAPI void evry_history_add(Eina_Hash *hist, Evry_State *s, const char *ctxt);
-EAPI int evry_history_item_usage_set(Eina_Hash *hist, Evry_Item *it, const char *input, const char *ctxt);
EAPI int evry_browse_item(Evry_Selector *sel);
void evry_browse_back(Evry_Selector *sel);
-EAPI extern Config *evry_conf;
-EAPI extern History *evry_hist;
extern Evry_Selector **selectors;
extern const char *action_selector;
+
#endif