/home/tetron/hack/vos/libs/vos/csplugin/vosclone.hh
Go to the documentation of this file.00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 $Id: vosclone.h,v 1.3 2004/06/07 08:57:20 tetron Exp $ 00003 00004 This file is part of Crystal Space Virtual Object System Abstract 00005 3D Layer plugin (csvosa3dl). 00006 00007 Copyright (C) 2004 Peter Amstutz 00008 00009 This program is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU Lesser General Public License as published by 00011 the Free Software Foundation; either version 2 of the License, or 00012 (at your option) any later version. 00013 00014 This library is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public License 00020 along with this program; if not, write to the Free Software 00021 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 */ 00023 00024 #ifndef _VOSCLONE_H_ 00025 #define _VOSCLONE_H_ 00026 00027 #include <vos/metaobjects/a3dl/clone.hh> 00028 #include "ivosa3dl.hh" 00029 #include "csvosa3dl.hh" 00030 #include "vosobject3d.hh" 00031 00032 class csMetaClone : public virtual csMetaObject3D, public virtual A3DL::Clone 00033 { 00034 private: 00035 bool alreadyLoaded; 00036 public: 00037 csMetaClone(VOS::VobjectBase* superobject); 00038 00039 static VOS::MetaObject* new_csMetaClone(VOS::VobjectBase* superobject, 00040 const std::string& type); 00041 00042 virtual void Setup(csVosA3DL* vosa3dl, csVosSector* sect); 00043 }; 00044 00045 #endif