X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fchildrentreestore.h;h=1dcc66a492cb46b9ade56307c70fadb4a213313f;hb=ce408de81ca266b1f334ee9bc6c8fb7ba1492ed4;hp=bae0667aa8cba4e710389801064c95bf9caaf7e4;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/childrentreestore.h b/synfig-studio/trunk/src/gtkmm/childrentreestore.h index bae0667..1dcc66a 100644 --- a/synfig-studio/trunk/src/gtkmm/childrentreestore.h +++ b/synfig-studio/trunk/src/gtkmm/childrentreestore.h @@ -1,36 +1,37 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file childrentreestore.h ** \brief Template Header ** ** $Id: childrentreestore.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. ** \endlegal */ /* ========================================================================= */ /* === S T A R T =========================================================== */ -#ifndef __SINFG_STUDIO_CHILDRENTREESTORE_H -#define __SINFG_STUDIO_CHILDRENTREESTORE_H +#ifndef __SYNFIG_STUDIO_CHILDRENTREESTORE_H +#define __SYNFIG_STUDIO_CHILDRENTREESTORE_H /* === H E A D E R S ======================================================= */ #include -#include +#include #include "canvastreestore.h" -#include -#include +#include +#include #include /* === M A C R O S ========================================================= */ @@ -67,9 +68,9 @@ private: Gtk::TreeModel::Row value_node_row; Gtk::TreeModel::Row canvas_row; - std::set changed_set_; + std::set changed_set_; - std::set replaced_set_; + std::set replaced_set_; /* -- ** -- P R I V A T E M E T H O D S --------------------------------------- @@ -88,12 +89,12 @@ private: private: - void on_value_node_added(sinfg::ValueNode::Handle value_node); - void on_value_node_deleted(sinfg::ValueNode::Handle value_node); - void on_value_node_changed(sinfg::ValueNode::Handle value_node); - void on_value_node_replaced(sinfg::ValueNode::Handle replaced_value_node,sinfg::ValueNode::Handle new_value_node); - void on_canvas_added(sinfg::Canvas::Handle canvas); - void on_canvas_removed(sinfg::Canvas::Handle canvas); + void on_value_node_added(synfig::ValueNode::Handle value_node); + void on_value_node_deleted(synfig::ValueNode::Handle value_node); + void on_value_node_changed(synfig::ValueNode::Handle value_node); + void on_value_node_replaced(synfig::ValueNode::Handle replaced_value_node,synfig::ValueNode::Handle new_value_node); + void on_canvas_added(synfig::Canvas::Handle canvas); + void on_canvas_removed(synfig::Canvas::Handle canvas); void set_value_impl(const Gtk::TreeModel::iterator& iter, int column, const Glib::ValueBase& value); @@ -103,7 +104,7 @@ private: public: - ChildrenTreeStore(etl::loose_handle canvas_interface_); + ChildrenTreeStore(etl::loose_handle canvas_interface_); ~ChildrenTreeStore(); void rebuild(); @@ -130,7 +131,7 @@ public: public: - static Glib::RefPtr create(etl::loose_handle canvas_interface_); + static Glib::RefPtr create(etl::loose_handle canvas_interface_); }; // END of class ChildrenTreeStore }; // END of namespace studio