[Top][All Lists]
[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: |
Wed, 02 Mar 2005 00:36:34 -0500 |
Index: usata2/src/object.hpp
diff -u usata2/src/object.hpp:1.18 usata2/src/object.hpp:1.19
--- usata2/src/object.hpp:1.18 Wed Mar 2 04:45:49 2005
+++ usata2/src/object.hpp Wed Mar 2 05:36:32 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: object.hpp,v 1.18 2005/03/02 04:45:49 skunix Exp $
+// $Id: object.hpp,v 1.19 2005/03/02 05:36:32 skunix Exp $
#ifndef USATA_GAME_OBJECT_HPP
@@ -63,22 +63,13 @@
};
}
-
- struct ResourceList
- {
- };
-/*
- class ObjectProperties
- {
- };
-*/
typedef GProperties<std::string> ObjectProperties;
+
class GCInterface
{
public:
virtual void realize(Usata&, const Object_sp& ) = 0;
virtual bool initialize(ObjectProperties&) = 0;
-//
construct(ObjectProperties&) = 0;
};
struct Node
@@ -117,7 +108,7 @@
public:
virtual void add(const Object_sp&, const std::string&
path)
throw
(exceptions::NodeException);
- virtual void add_child(const Object_sp&){};
+ virtual void add_child(const Object_sp&)=0;
virtual void remove_child(std::string&_name){};
virtual Object_sp get_child(const std::string&)const=0;