Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/include


Modified Files:
        gui_component.h 


Log Message:
* Add the concept of an 'inactive' plugin, to avoid sending wasted messages

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/include/gui_component.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- gui_component.h     20 Oct 2005 08:45:54 -0000      1.1
+++ gui_component.h     8 Dec 2005 09:01:36 -0000       1.2
@@ -3,7 +3,8 @@
 
 #include "entropy.h"
 
-
+#define COMPONENT_ACTIVE 1
+#define COMPONENT_INACTIVE 0
 
 typedef struct entropy_gui_component_instance entropy_gui_component_instance;
 struct entropy_gui_component_instance {
@@ -12,6 +13,8 @@
 
        entropy_gui_component_instance* layout_parent; /*A layout, or NULL if 
we are a layout;*/
 
+       int active; /*Are we active or not? I.e. able to consume messages*/
+
        void* gui_object; /*A reference to a structure of your choice 
representing a viewable object.
                            In the case of the EWL components, this is the Root 
widget that the container creates*/
 
@@ -21,4 +24,7 @@
        entropy_plugin* plugin; /*The plugin that is responsible for handling 
this component */
 };
 
+
+entropy_gui_component_instance* entropy_gui_component_instance_new();
+
 #endif




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to