/* === S Y N F I G ========================================================= */
-/*! \file template.h
+/*! \file selectionmanager.h
** \brief Template Header
**
-** $Id: selectionmanager.h,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $
+** $Id$
**
** \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
*/
/* ========================================================================= */
//! Returns a list of the currently selected layers.
virtual LayerList get_selected_layers()const=0;
-
+
//! Returns the first layer selected or an empty handle if none are selected.
virtual synfig::Layer::Handle get_selected_layer()const=0;
-
+
//! Sets which layers should be selected
virtual void set_selected_layers(const LayerList &layer_list)=0;
//! Returns a list of the currently selected childrens.
virtual ChildrenList get_selected_children()const=0;
-
+
//! Returns the first children selected or an empty handle if none are selected.
virtual ChildrenList::value_type get_selected_child()const=0;
-
+
//! Sets which childrens should be selected
virtual void set_selected_children(const ChildrenList &children_list)=0;
//! Returns a list of the currently selected layer parameters.
virtual LayerParamList get_selected_layer_parameters()const=0;
-
+
//! Returns the first layer parameter selected or an empty handle if none are selected.
virtual LayerParam get_selected_layer_parameter()const=0;
-
+
//! Sets which layer parameters should be selected
virtual void set_selected_layer_parameters(const LayerParamList &layer_param_list)=0;