/[usata]/usata2/src/object.hpp
ViewVC logotype

Diff of /usata2/src/object.hpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by skunix, Mon Jan 3 07:43:49 2005 UTC revision 1.8 by skunix, Fri Jan 7 06:13:11 2005 UTC
# Line 20  Line 20 
20  #include <string>  #include <string>
21  #include "usata.hpp"  #include "usata.hpp"
22    
23    
24    // these need to go somewhere else
25    #define USATA_DRAW_ORDER_LAST  255
26    #define USATA_DRAW_ORDER_DEFAULT 100
27    #define USATA_DRAW_ORDER_FIRST 0
28    
29  namespace usata  namespace usata
30  {  {
31    
# Line 41  namespace usata Line 47  namespace usata
47                          virtual ResourceList                          virtual ResourceList
48                                                          construct(const ObjectProperties&) = 0;                                                          construct(const ObjectProperties&) = 0;
49          };          };
50    
51            struct Node
52            {
53                    enum ChildOp{ CHILD_SHOW, CHILD_HIDE };
54                    enum Query { QUERY_DRAW_ORDER };
55            };
56                    
57          class NodeInterface          class NodeInterface
58          {          {
# Line 49  namespace usata Line 61  namespace usata
61                          virtual void add_child(const Object_sp&, std::string& path){};                          virtual void add_child(const Object_sp&, std::string& path){};
62                          virtual void add_child(const Object_sp&){};                          virtual void add_child(const Object_sp&){};
63                          virtual Object_sp get_child(const std::string&)=0;                          virtual Object_sp get_child(const std::string&)=0;
64                            virtual bool child_op(Node::ChildOp,Object*){return false;}
65                            virtual bool query(Node::Query, int& i){return false;}
66          };          };
67    
68          class Object          class Object

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26