#ifndef _ELM_APP_SERVER_VIEW_EO_H_
#define _ELM_APP_SERVER_VIEW_EO_H_

/**

 */
#define ELM_APP_SERVER_VIEW_CLASS elm_app_server_view_class_get()

const Eo_Class *elm_app_server_view_class_get(void) EINA_CONST;

/**
 * @def elm_app_server_view_constructor
 *
 * No description supplied.
 *
 * @param[in] id identifier of view
 *
 */
EAPI void  elm_app_server_view_constructor(const char *id);

/**
 * @def elm_app_server_view_progress_set
 *
 * No description supplied.
 *
 * @param[in] progress No description supplied.
 *
 */
EAPI void  elm_app_server_view_progress_set(short progress);

/**
 * @def elm_app_server_view_progress_get
 *
 * No description supplied.
 *
 *
 */
EAPI short  elm_app_server_view_progress_get(void);

/**
 * @def elm_app_server_view_new_events_set
 *
 * No description supplied.
 *
 * @param[in] events No description supplied.
 *
 */
EAPI void  elm_app_server_view_new_events_set(int events);

/**
 * @def elm_app_server_view_new_events_get
 *
 * No description supplied.
 *
 *
 */
EAPI int  elm_app_server_view_new_events_get(void);

/**
 * @def elm_app_server_view_icon_set
 *
 * No description supplied.
 *
 * @param[in] icon No description supplied.
 *
 */
EAPI void  elm_app_server_view_icon_set(const char *icon);

/**
 * @def elm_app_server_view_icon_get
 *
 * No description supplied.
 *
 *
 */
EAPI const char * elm_app_server_view_icon_get(void);

/**
 * @def elm_app_server_view_title_set
 *
 * No description supplied.
 *
 * @param[in] title No description supplied.
 *
 */
EAPI void  elm_app_server_view_title_set(const char *title);

/**
 * @def elm_app_server_view_title_get
 *
 * No description supplied.
 *
 *
 */
EAPI const char * elm_app_server_view_title_get(void);

/**
 * @def elm_app_server_view_window_set
 *
 * No description supplied.
 *
 * @param[in] win No description supplied.
 *
 */
EAPI void  elm_app_server_view_window_set(Evas_Object *win);

/**
 * @def elm_app_server_view_id_get
 *
 * No description supplied.
 *
 *
 */
EAPI Eina_Stringshare * elm_app_server_view_id_get(void);

/**
 * @def elm_app_server_view_state_get
 *
 * No description supplied.
 *
 *
 */
EAPI Elm_App_View_State  elm_app_server_view_state_get(void);

/**
 * @def elm_app_server_view_path_get
 *
 * No description supplied.
 *
 *
 */
EAPI const char * elm_app_server_view_path_get(void);

/**
 * @def elm_app_server_view_pixels_set
 *
 * Set icon to application, using the raw pixels of image.
 *
 * @param[in] w No description supplied.
 * @param[in] h No description supplied.
 * @param[in] has_alpha No description supplied.
 * @param[in] pixels No description supplied.
 *
 */
EAPI void  elm_app_server_view_pixels_set(unsigned int w, unsigned int h, Eina_Bool has_alpha, const unsigned char *pixels);

/**
 * @def elm_app_server_view_pixels_get
 *
 * Get application raw icon.
 *
 * @param[out] w No description supplied.
 * @param[out] h No description supplied.
 * @param[out] has_alpha No description supplied.
 * @param[out] pixels No description supplied.
 *
 */
EAPI void  elm_app_server_view_pixels_get(unsigned int *w, unsigned int *h, Eina_Bool *has_alpha, const unsigned char **pixels);

/**
 * @def elm_app_server_view_pause
 *
 * No description supplied.
 *
 *
 */
EAPI void  elm_app_server_view_pause(void);

/**
 * @def elm_app_server_view_resume
 *
 * No description supplied.
 *
 *
 */
EAPI void  elm_app_server_view_resume(void);

/**
 * @def elm_app_server_view_shallow
 *
 * No description supplied.
 *
 *
 */
EAPI void  elm_app_server_view_shallow(void);

/**
 * @def elm_app_server_view_close
 *
 * No description supplied.
 *
 *
 */
EAPI void  elm_app_server_view_close(void);

EAPI extern const Eo_Event_Description _ELM_APP_SERVER_VIEW_EVENT_RESUMED;
EAPI extern const Eo_Event_Description _ELM_APP_SERVER_VIEW_EVENT_PAUSED;
EAPI extern const Eo_Event_Description _ELM_APP_SERVER_VIEW_EVENT_CLOSED;
EAPI extern const Eo_Event_Description _ELM_APP_SERVER_VIEW_EVENT_SHALLOW;
EAPI extern const Eo_Event_Description _ELM_APP_SERVER_VIEW_EVENT_SAVE;

/**
 * Called when view must be resumed
 */
#define ELM_APP_SERVER_VIEW_EVENT_RESUMED (&(_ELM_APP_SERVER_VIEW_EVENT_RESUMED))

/**
 * Called when view must be paused
 */
#define ELM_APP_SERVER_VIEW_EVENT_PAUSED (&(_ELM_APP_SERVER_VIEW_EVENT_PAUSED))

/**
 * Called when view must be closed
 */
#define ELM_APP_SERVER_VIEW_EVENT_CLOSED (&(_ELM_APP_SERVER_VIEW_EVENT_CLOSED))

/**
 * Called when view state is set to shallow
 */
#define ELM_APP_SERVER_VIEW_EVENT_SHALLOW (&(_ELM_APP_SERVER_VIEW_EVENT_SHALLOW))

/**
 * Called when view state should be saved
 */
#define ELM_APP_SERVER_VIEW_EVENT_SAVE (&(_ELM_APP_SERVER_VIEW_EVENT_SAVE))

#endif