forked from enlightenment/enlightenment
export the restart call to libe - just in case
SVN revision: 13767
This commit is contained in:
parent
0080605d42
commit
4b94b1ad39
|
@ -39,11 +39,19 @@ extern EAPI int E_RESPONSE_BACKGROUND_GET;
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* library startup and shutdown */
|
||||
EAPI int e_init (const char *display);
|
||||
EAPI int e_shutdown (void);
|
||||
|
||||
/* E startup and shutdown */
|
||||
EAPI void e_restart (void);
|
||||
|
||||
/* E module manipulation */
|
||||
EAPI void e_module_enabled_set (const char *module, int enable);
|
||||
EAPI void e_module_loaded_set (const char *module, int load);
|
||||
EAPI void e_module_list (void);
|
||||
|
||||
/* E desktop manipulation */
|
||||
EAPI void e_background_set (const char *bgfile);
|
||||
EAPI void e_background_get (void);
|
||||
|
||||
|
|
|
@ -110,6 +110,9 @@ e_init(const char* display)
|
|||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* close our connection to E
|
||||
*/
|
||||
int
|
||||
e_shutdown(void)
|
||||
{
|
||||
|
@ -120,6 +123,18 @@ e_shutdown(void)
|
|||
return 1;
|
||||
}
|
||||
|
||||
/* actual IPC calls */
|
||||
void
|
||||
e_restart(void)
|
||||
{
|
||||
E_Ipc_Op type;
|
||||
|
||||
type = E_IPC_OP_RESTART;
|
||||
ecore_ipc_server_send(_e_ipc_server, E_IPC_DOMAIN_REQUEST, type, 0/*ref*/,
|
||||
0/*ref_to*/, 0/*response*/, NULL, 0);
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
e_module_enabled_set(const char *module, int enable)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue