// -*- mode: C++; tab-width: 4; indent-tabs-mode: t; -*- vim:ts=4:sw=4 // // Copyright (C) 2004 David Lau (skunix) // Chong Kai Xiong (descender) // // This file is part of The Plains of Usata. // // The Plains of Usata is licensed under the GNU General Public // License (GPL) version 2. For details, please see the COPYING file // included in the software distribution, or visit // http://www.fsf.org/licenses/gpl.html. // // $Id: scene-manager.hpp,v 1.1 2004/12/31 06:34:14 skunix Exp $ #ifndef USATA_SCENE_MANAGER_HPP #define USATA_SCENE_MANAGER_HPP #include #include "object.hpp" namespace usata { namespace SM_internal { struct Impl; } class SceneManager : public Object, public NodeInterface { std::auto_ptr impl; public: SceneManager(); virtual ~SceneManager(); void insert(Object_sp,const std::string&); bool lock(bool); virtual void add_child(const Object_sp&, std::string& path); virtual Object_sp get_child(const std::string&); }; } #endif