Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_ipc.c e_ipc.h e_remote_main.c 


Log Message:
add -restart to enlightenment_remote

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_ipc.c     4 Feb 2005 06:11:57 -0000       1.8
+++ e_ipc.c     17 Mar 2005 01:30:50 -0000      1.9
@@ -213,6 +213,12 @@
                                   bg, strlen(bg) + 1);
          }
        break;
+      case E_IPC_OP_RESTART:
+         {
+            restart = 1;
+            ecore_main_loop_quit();
+         }
+       break;
       default:
        break;
      }
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_ipc.h     7 Feb 2005 13:51:09 -0000       1.7
+++ e_ipc.h     17 Mar 2005 01:30:50 -0000      1.8
@@ -23,6 +23,7 @@
    E_IPC_OP_BG_SET,
    E_IPC_OP_BG_GET,
    E_IPC_OP_BG_GET_REPLY,
+   E_IPC_OP_RESTART,
    E_IPC_OP_LAST
 } E_Ipc_Op;
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_remote_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_remote_main.c     7 Feb 2005 13:51:09 -0000       1.8
+++ e_remote_main.c     17 Mar 2005 01:30:50 -0000      1.9
@@ -48,7 +48,8 @@
    OSTR("-module-enable", "Enable module OPT1 if not enabled", 
E_IPC_OP_MODULE_ENABLE, 0),
    OSTR("-module-disable", "Disable module OPT1 if not disabled", 
E_IPC_OP_MODULE_DISABLE, 0),
    OREQ("-module-list", "List all loaded modules and their states", 
E_IPC_OP_MODULE_LIST, 1),
-   OSTR("-bg-set", "Set the background edje file to be OPT1", E_IPC_OP_BG_SET, 
0)
+   OSTR("-bg-set", "Set the background edje file to be OPT1", E_IPC_OP_BG_SET, 
0),
+   OREQ("-restart", "Restart E17", E_IPC_OP_RESTART, 0)
 };
 
 /* externally accessible functions */




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to