1 /** 2 * @file 3 */ 4 5 /* 6 Copyright (C) 2001-2006, William Joseph. 7 All Rights Reserved. 8 9 This file is part of GtkRadiant. 10 11 GtkRadiant is free software; you can redistribute it and/or modify 12 it under the terms of the GNU General Public License as published by 13 the Free Software Foundation; either version 2 of the License, or 14 (at your option) any later version. 15 16 GtkRadiant is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU General Public License for more details. 20 21 You should have received a copy of the GNU General Public License 22 along with GtkRadiant; if not, write to the Free Software 23 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 */ 25 26 #if !defined(INCLUDED_TREEMODEL_H) 27 #define INCLUDED_TREEMODEL_H 28 29 #include "iscenegraph.h" 30 #include "nameable.h" 31 32 class GraphTreeModel; 33 34 GraphTreeModel* graph_tree_model_new (); 35 void graph_tree_model_delete (GraphTreeModel* model); 36 37 namespace scene 38 { 39 class Instance; 40 } 41 void graph_tree_model_insert (GraphTreeModel* model, const scene::Instance& instance); 42 void graph_tree_model_erase (GraphTreeModel* model, const scene::Instance& instance); 43 44 GraphTreeModel* scene_graph_get_tree_model (); // temp hack; 45 46 #endif 47