usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/object.hpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/object.hpp
Date: Tue, 01 Mar 2005 19:27:12 -0500

Index: usata2/src/object.hpp
diff -u usata2/src/object.hpp:1.15 usata2/src/object.hpp:1.16
--- usata2/src/object.hpp:1.15  Wed Feb 23 16:54:23 2005
+++ usata2/src/object.hpp       Wed Mar  2 00:27:11 2005
@@ -10,7 +10,7 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: object.hpp,v 1.15 2005/02/23 16:54:23 skunix Exp $
+// $Id: object.hpp,v 1.16 2005/03/02 00:27:11 skunix Exp $
 
 
 #ifndef USATA_GAME_OBJECT_HPP
@@ -77,7 +77,7 @@
                public:
                        virtual void    realize(Usata&, const Object_sp& ) = 0;
                        virtual ResourceList 
-                                                       construct(const 
ObjectProperties&) = 0;
+                                                       
construct(ObjectProperties&) = 0;
        };
 
        struct Node
@@ -118,7 +118,7 @@
                                                throw 
(exceptions::NodeException);
                        virtual void add_child(const Object_sp&){};
                        virtual void remove_child(std::string&_name){};
-                       virtual Object_sp get_child(const std::string&)=0;
+                       virtual Object_sp get_child(const std::string&)const=0;
 
                        virtual bool child_op(Node::ChildOp,Object*){return 
false;}
                        virtual bool node_query(Node::Query, int& i){return 
false;}
@@ -126,8 +126,11 @@
        };
        
        typedef NodeObject NodeInterface;       
+       typedef boost::shared_ptr<NodeObject> NodeObject_sp;
 
        std::string node_path_check(const std::string& path);
+
+       Object_sp       node_path_lookup(const std::string& path, Object_sp&);
        
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]