]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/workplace.h
hay pequenias modificaciones en el workplace, se cuelga por eso pero en un rato lo...
[z.facultad/75.42/plaqui.git] / Constructor / workplace.h
index 8a26e1da5929dd6bc899a486bfdafc45a1c38ac3..2bb065318914f57221a27a0d2a582299affbe941 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef _H_WORKPLACE_
 #define _H_WORKPLACE_
 
@@ -7,11 +6,22 @@
 #include <gtkmm.h>
 #include <libglademm.h>
 
+class CItem;
+
+typedef struct {
+       CItem *logic, *store;
+}t_line;
+
 class WorkPlace:public Gtk::Fixed {
-public:
-       WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
-       virtual ~WorkPlace() {}
-       virtual bool on_expose_event(GdkEventExpose *);
+       public:
+               WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
+               virtual ~WorkPlace();
+               virtual bool on_expose_event(GdkEventExpose *event);
+               void delete_item(int _id);
+               void delete_line(int _id);      
+               CItem *get_logic_item(int _id);
+               std::list<CItem *> *listaItems, *lista_logic_Items;
+               std::list<t_line> lista_lineas;
 };
 
 #endif