2010-04-07 08:03:27 -07:00
|
|
|
#ifndef EVRY_H
|
|
|
|
#define EVRY_H
|
|
|
|
|
2009-08-13 08:10:54 -07:00
|
|
|
#include "e.h"
|
|
|
|
|
2010-04-08 04:55:15 -07:00
|
|
|
#define EVRY_API_VERSION 1
|
|
|
|
|
|
|
|
|
2009-08-13 08:10:54 -07:00
|
|
|
#define EVRY_ACTION_OTHER 0
|
|
|
|
#define EVRY_ACTION_FINISHED 1
|
|
|
|
#define EVRY_ACTION_CONTINUE 2
|
|
|
|
|
|
|
|
#define EVRY_ASYNC_UPDATE_ADD 0
|
|
|
|
#define EVRY_ASYNC_UPDATE_CLEAR 1
|
2010-04-01 21:19:38 -07:00
|
|
|
#define EVRY_ASYNC_UPDATE_REFRESH 2
|
2009-08-13 08:10:54 -07:00
|
|
|
|
2010-03-06 06:15:00 -08:00
|
|
|
extern int _e_module_evry_log_dom;
|
|
|
|
|
|
|
|
#ifndef EINA_LOG_DEFAULT_COLOR
|
|
|
|
#define EINA_LOG_DEFAULT_COLOR EINA_COLOR_CYAN
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#undef DBG
|
|
|
|
#undef INF
|
|
|
|
#undef WRN
|
|
|
|
#undef ERR
|
|
|
|
|
|
|
|
#define DBG(...) EINA_LOG_DOM_DBG(_e_module_evry_log_dom , __VA_ARGS__)
|
|
|
|
#define INF(...) EINA_LOG_DOM_INFO(_e_module_evry_log_dom , __VA_ARGS__)
|
|
|
|
#define WRN(...) EINA_LOG_DOM_WARN(_e_module_evry_log_dom , __VA_ARGS__)
|
|
|
|
#define ERR(...) EINA_LOG_DOM_ERR(_e_module_evry_log_dom , __VA_ARGS__)
|
2009-08-13 08:10:54 -07:00
|
|
|
|
2009-08-22 20:12:05 -07:00
|
|
|
typedef struct _Evry_Plugin Evry_Plugin;
|
|
|
|
typedef struct _Evry_Item Evry_Item;
|
|
|
|
typedef struct _Evry_Item_App Evry_Item_App;
|
|
|
|
typedef struct _Evry_Item_File Evry_Item_File;
|
|
|
|
typedef struct _Evry_Action Evry_Action;
|
|
|
|
typedef struct _Evry_State Evry_State;
|
|
|
|
typedef struct _Evry_View Evry_View;
|
|
|
|
typedef struct _Plugin_Config Plugin_Config;
|
2010-04-10 13:05:57 -07:00
|
|
|
typedef struct _History Evry_History;
|
|
|
|
typedef struct _History_Entry History_Entry;
|
|
|
|
typedef struct _History_Item History_Item;
|
|
|
|
typedef struct _Config Evry_Config;
|
2009-08-22 20:12:05 -07:00
|
|
|
|
|
|
|
#define EVRY_ITEM(_item) ((Evry_Item *)_item)
|
|
|
|
#define EVRY_PLUGIN(_plugin) ((Evry_Plugin *) _plugin)
|
|
|
|
#define EVRY_VIEW(_view) ((Evry_View *) _view)
|
|
|
|
#define ITEM_FILE(_file, _item) Evry_Item_File *_file = (Evry_Item_File *) _item
|
|
|
|
#define ITEM_APP(_app, _item) Evry_Item_App *_app = (Evry_Item_App *) _item
|
|
|
|
#define PLUGIN(_p, _plugin) Plugin *_p = (Plugin*) _plugin
|
2009-08-22 21:48:17 -07:00
|
|
|
#define VIEW(_v, _view) View *_v = (View*) _view
|
2009-08-22 20:12:05 -07:00
|
|
|
|
|
|
|
#define EVRY_PLUGIN_ITEMS_CLEAR(_p) \
|
|
|
|
if (EVRY_PLUGIN(_p)->items) \
|
|
|
|
eina_list_free(EVRY_PLUGIN(_p)->items); \
|
|
|
|
EVRY_PLUGIN(_p)->items = NULL;
|
|
|
|
|
|
|
|
#define EVRY_PLUGIN_ITEMS_FREE(_p) \
|
|
|
|
Evry_Item *evryitem; \
|
|
|
|
EINA_LIST_FREE(EVRY_PLUGIN(_p)->items, evryitem) \
|
|
|
|
evry_item_free(evryitem);
|
|
|
|
|
|
|
|
#define EVRY_PLUGIN_ITEMS_SORT(_p, _sortcb) \
|
|
|
|
EVRY_PLUGIN(_p)->items = eina_list_sort \
|
|
|
|
(EVRY_PLUGIN(_p)->items, \
|
|
|
|
eina_list_count(EVRY_PLUGIN(_p)->items), _sortcb); \
|
|
|
|
|
|
|
|
#define EVRY_PLUGIN_ITEM_APPEND(_p, _item) \
|
|
|
|
EVRY_PLUGIN(_p)->items = \
|
|
|
|
eina_list_append(EVRY_PLUGIN(_p)->items, EVRY_ITEM(_item)) \
|
|
|
|
|
2010-04-10 15:38:05 -07:00
|
|
|
/* if you extended a plugin struct and you are sure
|
|
|
|
not to have any data lying around after cleanup you
|
|
|
|
can use this */
|
2009-08-22 20:12:05 -07:00
|
|
|
#define EVRY_PLUGIN_FREE(_p) \
|
|
|
|
evry_plugin_free(EVRY_PLUGIN(_p), 0); \
|
|
|
|
E_FREE(_p);
|
2009-08-13 08:10:54 -07:00
|
|
|
|
2010-03-06 06:15:00 -08:00
|
|
|
|
2009-08-13 08:10:54 -07:00
|
|
|
struct _Plugin_Config
|
|
|
|
{
|
|
|
|
const char *name;
|
|
|
|
|
|
|
|
int loaded;
|
|
|
|
int enabled;
|
|
|
|
|
|
|
|
/* minimum input chars to query this source */
|
|
|
|
int min_query;
|
|
|
|
|
|
|
|
int priority;
|
|
|
|
|
|
|
|
const char *trigger;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct _Evry_Item
|
|
|
|
{
|
2009-08-14 07:44:18 -07:00
|
|
|
/* label to show for this item */
|
2009-08-13 08:10:54 -07:00
|
|
|
const char *label;
|
2009-08-22 20:12:05 -07:00
|
|
|
const char *icon;
|
2009-08-13 08:10:54 -07:00
|
|
|
|
2009-09-03 07:21:27 -07:00
|
|
|
/* context provided by item. e.g. to remember which action
|
|
|
|
* was performed on a file with a specific mimetype */
|
|
|
|
const char *context;
|
|
|
|
|
2009-08-14 07:44:18 -07:00
|
|
|
/* item can be browsed, e.g. folders */
|
2009-08-13 08:10:54 -07:00
|
|
|
Eina_Bool browseable;
|
|
|
|
|
2010-04-07 08:03:27 -07:00
|
|
|
Eina_Bool selected;
|
|
|
|
|
2009-08-30 07:54:25 -07:00
|
|
|
/* for internally use by plugins */
|
2009-08-22 20:12:05 -07:00
|
|
|
void *data;
|
2009-08-14 07:44:18 -07:00
|
|
|
|
|
|
|
/* priority hints for sorting */
|
2009-08-13 08:10:54 -07:00
|
|
|
int priority;
|
|
|
|
|
2009-08-14 07:44:18 -07:00
|
|
|
/* store value of fuzzy match with input */
|
|
|
|
int fuzzy_match;
|
2009-08-17 16:54:16 -07:00
|
|
|
|
2009-08-30 07:54:25 -07:00
|
|
|
/* optional: plugin can set id to identify
|
|
|
|
* it in history otherwise label is used */
|
2009-08-30 06:35:06 -07:00
|
|
|
const char *id;
|
2009-08-30 07:54:25 -07:00
|
|
|
|
|
|
|
/* if transient item is removed from history
|
|
|
|
* on shutdown */
|
|
|
|
Eina_Bool transient;
|
2010-03-06 06:15:00 -08:00
|
|
|
|
2009-08-14 07:44:18 -07:00
|
|
|
/* do not set by plugin! */
|
2009-08-28 21:42:17 -07:00
|
|
|
Evry_Item *next;
|
2009-08-14 07:44:18 -07:00
|
|
|
Evry_Plugin *plugin;
|
2009-08-13 15:42:40 -07:00
|
|
|
int ref;
|
2009-08-21 18:15:21 -07:00
|
|
|
void (*free) (Evry_Item *item);
|
2009-08-30 01:51:15 -07:00
|
|
|
double usage;
|
2009-08-13 08:10:54 -07:00
|
|
|
};
|
|
|
|
|
2009-08-22 20:12:05 -07:00
|
|
|
struct _Evry_Item_App
|
|
|
|
{
|
|
|
|
Evry_Item base;
|
|
|
|
const char *file;
|
|
|
|
Efreet_Desktop *desktop;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _Evry_Item_File
|
|
|
|
{
|
|
|
|
Evry_Item base;
|
2010-04-07 08:03:27 -07:00
|
|
|
const char *url;
|
|
|
|
const char *path;
|
2009-08-22 20:12:05 -07:00
|
|
|
const char *mime;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2009-08-13 08:10:54 -07:00
|
|
|
struct _Evry_Plugin
|
|
|
|
{
|
|
|
|
const char *name;
|
|
|
|
const char *icon;
|
|
|
|
|
|
|
|
enum { type_subject, type_action, type_object } type;
|
|
|
|
|
|
|
|
const char *type_in;
|
|
|
|
const char *type_out;
|
|
|
|
|
|
|
|
const char *trigger;
|
|
|
|
|
2009-08-21 15:42:06 -07:00
|
|
|
/* list of items visible for everything */
|
|
|
|
Eina_List *items;
|
2009-08-13 08:10:54 -07:00
|
|
|
|
2009-08-22 14:22:38 -07:00
|
|
|
/* run when plugin is activated. when returns positve it is added
|
2009-08-21 15:42:06 -07:00
|
|
|
to the list of current plugins and queried for results */
|
|
|
|
Evry_Plugin *(*begin) (Evry_Plugin *p, const Evry_Item *item);
|
2009-08-13 08:10:54 -07:00
|
|
|
|
2009-08-22 14:22:38 -07:00
|
|
|
/* get candidates matching string, fill 'items' list */
|
2009-08-13 08:10:54 -07:00
|
|
|
int (*fetch) (Evry_Plugin *p, const char *input);
|
|
|
|
|
2009-08-17 16:54:16 -07:00
|
|
|
/* run when state is removed in which this plugin is active */
|
2009-08-13 08:10:54 -07:00
|
|
|
void (*cleanup) (Evry_Plugin *p);
|
|
|
|
|
|
|
|
Evas_Object *(*icon_get) (Evry_Plugin *p, const Evry_Item *it, Evas *e);
|
|
|
|
/* provide more information for a candidate */
|
|
|
|
/* int (*candidate_info) (Evas *evas, Evry_Item *item); */
|
2009-08-30 06:35:06 -07:00
|
|
|
|
2010-02-01 05:06:44 -08:00
|
|
|
/* only used when plugin is of type_action */
|
2009-08-21 18:15:21 -07:00
|
|
|
int (*action) (Evry_Plugin *p, const Evry_Item *item);
|
2009-08-13 08:10:54 -07:00
|
|
|
|
2010-04-07 08:03:27 -07:00
|
|
|
int (*cb_key_down) (Evry_Plugin *p, const Ecore_Event_Key *ev);
|
2010-04-10 15:38:05 -07:00
|
|
|
|
|
|
|
/* optional: use this when you extend the plugin struct */
|
|
|
|
void (*free) (Evry_Plugin *p);
|
2010-04-07 08:03:27 -07:00
|
|
|
|
2010-04-01 21:19:38 -07:00
|
|
|
/* show in aggregator. default is TRUE */
|
|
|
|
Eina_Bool aggregate;
|
|
|
|
|
|
|
|
/* whether the plugin uses evry_async_update to add new
|
|
|
|
items. default is FALSE */
|
|
|
|
Eina_Bool async_fetch;
|
|
|
|
|
2009-08-13 08:10:54 -07:00
|
|
|
/* not to be set by plugin! */
|
|
|
|
Plugin_Config *config;
|
|
|
|
};
|
|
|
|
|
2009-08-17 16:54:16 -07:00
|
|
|
|
|
|
|
struct _Evry_State
|
|
|
|
{
|
|
|
|
char *input;
|
|
|
|
/* all available plugins for current state */
|
|
|
|
Eina_List *plugins;
|
|
|
|
|
|
|
|
/* currently active plugins, i.e. those that provide items */
|
|
|
|
Eina_List *cur_plugins;
|
|
|
|
|
|
|
|
/* active plugin */
|
|
|
|
Evry_Plugin *plugin;
|
|
|
|
|
|
|
|
/* selected item */
|
2009-08-28 21:42:17 -07:00
|
|
|
Evry_Item *cur_item;
|
2009-08-17 16:54:16 -07:00
|
|
|
|
2009-08-28 21:42:17 -07:00
|
|
|
Eina_List *sel_items;
|
2010-03-06 06:15:00 -08:00
|
|
|
|
2009-08-17 16:54:16 -07:00
|
|
|
/* this is for the case when the current plugin was not selected
|
|
|
|
manually and a higher priority (async) plugin retrieves
|
|
|
|
candidates, the higher priority plugin is made current */
|
|
|
|
Eina_Bool plugin_auto_selected;
|
|
|
|
Eina_Bool item_auto_selected;
|
|
|
|
|
|
|
|
Evry_View *view;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _Evry_View
|
|
|
|
{
|
2009-08-28 21:42:17 -07:00
|
|
|
Evry_View *id;
|
2009-08-17 16:54:16 -07:00
|
|
|
const char *name;
|
2009-08-21 01:19:30 -07:00
|
|
|
const char *trigger;
|
|
|
|
int active;
|
2009-08-20 14:39:01 -07:00
|
|
|
Evas_Object *o_list;
|
|
|
|
Evas_Object *o_bar;
|
2009-08-17 16:54:16 -07:00
|
|
|
|
2009-08-21 01:19:30 -07:00
|
|
|
Evry_View *(*create) (Evry_View *view, const Evry_State *s, const Evas_Object *swallow);
|
2009-08-21 18:15:21 -07:00
|
|
|
void (*destroy) (Evry_View *view);
|
|
|
|
int (*cb_key_down) (Evry_View *view, const Ecore_Event_Key *ev);
|
|
|
|
int (*update) (Evry_View *view);
|
|
|
|
void (*clear) (Evry_View *view);
|
2009-08-17 16:54:16 -07:00
|
|
|
|
|
|
|
int priority;
|
|
|
|
};
|
|
|
|
|
2009-08-13 08:10:54 -07:00
|
|
|
struct _Evry_Action
|
|
|
|
{
|
|
|
|
const char *name;
|
|
|
|
|
|
|
|
const char *type_in1;
|
|
|
|
const char *type_in2;
|
2009-08-21 15:42:06 -07:00
|
|
|
const char *type_out;
|
2009-08-13 08:10:54 -07:00
|
|
|
|
2009-08-21 18:15:21 -07:00
|
|
|
const Evry_Item *item1;
|
|
|
|
const Evry_Item *item2;
|
2009-08-22 20:12:05 -07:00
|
|
|
|
2009-08-21 18:15:21 -07:00
|
|
|
int (*action) (Evry_Action *act);
|
|
|
|
int (*check_item) (Evry_Action *act, const Evry_Item *it);
|
|
|
|
int (*intercept) (Evry_Action *act);
|
|
|
|
void (*cleanup) (Evry_Action *act);
|
2010-04-04 07:11:35 -07:00
|
|
|
Eina_List *(*actions) (Evry_Action *act);
|
2009-08-13 08:10:54 -07:00
|
|
|
Evas_Object *(*icon_get) (Evry_Action *act, Evas *e);
|
|
|
|
|
2010-04-10 15:38:05 -07:00
|
|
|
/* optional: use this when you keep stuff in 'data' */
|
|
|
|
void (*free) (Evry_Action *act);
|
|
|
|
|
2009-08-13 08:10:54 -07:00
|
|
|
/* use icon name from theme */
|
|
|
|
const char *icon;
|
|
|
|
|
2010-04-01 21:19:38 -07:00
|
|
|
void *data;
|
2010-04-04 07:11:35 -07:00
|
|
|
|
2009-08-27 19:25:13 -07:00
|
|
|
int priority;
|
|
|
|
};
|
2009-08-17 16:54:16 -07:00
|
|
|
|
2010-04-10 19:34:18 -07:00
|
|
|
struct _Config
|
|
|
|
{
|
|
|
|
int version;
|
|
|
|
/* position */
|
|
|
|
double rel_x, rel_y;
|
|
|
|
/* size */
|
|
|
|
int width, height;
|
|
|
|
|
|
|
|
Eina_List *modules;
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
};
|
|
|
|
|
2010-04-10 13:05:57 -07:00
|
|
|
struct _History_Entry
|
|
|
|
{
|
|
|
|
Eina_List *items;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _History
|
|
|
|
{
|
|
|
|
int version;
|
|
|
|
Eina_Hash *subjects;
|
|
|
|
Eina_Hash *actions;
|
|
|
|
double begin;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _History_Item
|
|
|
|
{
|
|
|
|
const char *plugin;
|
|
|
|
const char *context;
|
|
|
|
const char *input;
|
|
|
|
double last_used;
|
|
|
|
double usage;
|
|
|
|
int count;
|
|
|
|
int transient;
|
|
|
|
};
|
|
|
|
|
2009-08-27 19:25:13 -07:00
|
|
|
/* evry.c */
|
2009-08-20 16:40:02 -07:00
|
|
|
EAPI void evry_item_select(const Evry_State *s, Evry_Item *it);
|
2009-08-28 21:42:17 -07:00
|
|
|
EAPI void evry_item_mark(const Evry_State *state, Evry_Item *it, Eina_Bool mark);
|
2009-08-20 16:40:02 -07:00
|
|
|
EAPI void evry_plugin_select(const Evry_State *s, Evry_Plugin *p);
|
|
|
|
EAPI int evry_list_win_show(void);
|
|
|
|
EAPI void evry_list_win_hide(void);
|
2009-08-22 20:12:05 -07:00
|
|
|
EAPI Evry_Item *evry_item_new(Evry_Item *base, Evry_Plugin *p, const char *label, void (*cb_free) (Evry_Item *item));
|
2009-08-20 16:40:02 -07:00
|
|
|
EAPI void evry_item_free(Evry_Item *it);
|
|
|
|
EAPI void evry_item_ref(Evry_Item *it);
|
|
|
|
EAPI void evry_plugin_async_update(Evry_Plugin *plugin, int state);
|
|
|
|
EAPI void evry_clear_input(void);
|
2009-08-18 07:29:30 -07:00
|
|
|
|
2009-08-27 19:25:13 -07:00
|
|
|
/* evry_util.c */
|
2009-08-20 16:40:02 -07:00
|
|
|
EAPI Evas_Object *evry_icon_mime_get(const char *mime, Evas *e);
|
|
|
|
EAPI Evas_Object *evry_icon_theme_get(const char *icon, Evas *e);
|
|
|
|
EAPI int evry_fuzzy_match(const char *str, const char *match);
|
2009-08-22 20:12:05 -07:00
|
|
|
EAPI Eina_List *evry_fuzzy_match_sort(Eina_List *items);
|
2009-08-27 19:25:13 -07:00
|
|
|
EAPI int evry_util_exec_app(const Evry_Item *it_app, const Evry_Item *it_file);
|
2010-04-07 08:03:27 -07:00
|
|
|
EAPI char *evry_util_unescape(const char *string, int length);
|
|
|
|
|
2009-08-27 19:25:13 -07:00
|
|
|
|
|
|
|
/* e_mod_main.c */
|
|
|
|
EAPI void evry_plugin_register(Evry_Plugin *p, int priority);
|
|
|
|
EAPI void evry_plugin_unregister(Evry_Plugin *p);
|
|
|
|
EAPI void evry_action_register(Evry_Action *act, int priority);
|
|
|
|
EAPI void evry_action_unregister(Evry_Action *act);
|
|
|
|
EAPI void evry_view_register(Evry_View *view, int priority);
|
|
|
|
EAPI void evry_view_unregister(Evry_View *view);
|
2009-08-14 07:44:18 -07:00
|
|
|
|
2010-04-10 13:05:57 -07:00
|
|
|
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);
|
|
|
|
|
2009-08-21 15:42:06 -07:00
|
|
|
EAPI Evry_Plugin *evry_plugin_new(Evry_Plugin *base, const char *name, int type,
|
|
|
|
const char *type_in, const char *type_out,
|
|
|
|
int async_fetch, const char *icon, const char *trigger,
|
|
|
|
Evry_Plugin *(*begin) (Evry_Plugin *p, const Evry_Item *item),
|
|
|
|
void (*cleanup) (Evry_Plugin *p),
|
|
|
|
int (*fetch) (Evry_Plugin *p, const char *input),
|
2009-08-21 18:15:21 -07:00
|
|
|
int (*action) (Evry_Plugin *p, const Evry_Item *item),
|
2009-08-21 15:42:06 -07:00
|
|
|
Evas_Object *(*icon_get) (Evry_Plugin *p, const Evry_Item *it, Evas *e),
|
2010-04-10 15:38:05 -07:00
|
|
|
void (*free) (Evry_Plugin *p));
|
2009-08-21 15:42:06 -07:00
|
|
|
|
|
|
|
EAPI void evry_plugin_free(Evry_Plugin *p, int free_pointer);
|
|
|
|
|
|
|
|
|
2009-08-21 18:15:21 -07:00
|
|
|
EAPI Evry_Action *evry_action_new(const char *name, const char *type_in1,
|
|
|
|
const char *type_in2, const char *type_out,
|
2009-08-21 15:42:06 -07:00
|
|
|
const char *icon,
|
2009-08-21 18:15:21 -07:00
|
|
|
int (*action) (Evry_Action *act),
|
|
|
|
int (*check_item) (Evry_Action *act, const Evry_Item *it),
|
|
|
|
void (*cleanup) (Evry_Action *act),
|
|
|
|
int (*intercept) (Evry_Action *act),
|
2010-04-10 15:38:05 -07:00
|
|
|
Evas_Object *(*icon_get) (Evry_Action *act, Evas *e),
|
|
|
|
void (*free) (Evry_Action *p));
|
2009-08-18 07:29:30 -07:00
|
|
|
|
2009-08-20 16:40:02 -07:00
|
|
|
EAPI void evry_action_free(Evry_Action *act);
|
2009-08-22 20:12:05 -07:00
|
|
|
|
2010-04-08 04:55:15 -07:00
|
|
|
EAPI int evry_api_version_check(int version);
|
|
|
|
|
2010-04-07 08:03:27 -07:00
|
|
|
typedef struct _Evry_Event_Item_Changed Evry_Event_Item_Changed;
|
|
|
|
|
|
|
|
struct _Evry_Event_Item_Changed
|
|
|
|
{
|
|
|
|
Evry_Item *item;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern EAPI int EVRY_EVENT_ITEM_SELECT;
|
|
|
|
extern EAPI int EVRY_EVENT_ITEM_CHANGED;
|
|
|
|
extern EAPI int EVRY_EVENT_ITEMS_UPDATE;
|
|
|
|
|
2010-04-10 13:05:57 -07:00
|
|
|
EAPI extern Evry_History *evry_hist;
|
|
|
|
EAPI extern Evry_Config *evry_conf;
|
|
|
|
|
2010-04-07 08:03:27 -07:00
|
|
|
#endif
|