X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fnamed_selection.h;h=f03db205749699d6c5a442db70f804f1d77f4e7a;hb=184c7cedf9974ecce3445b2686a1ebb32703694c;hp=87b71e73ffb12c3176ec199d9c2ecbe9068ea475;hpb=50a3102b9b533d7f8786d220f8df67421b9227c8;p=ardour.git diff --git a/libs/ardour/ardour/named_selection.h b/libs/ardour/ardour/named_selection.h index 87b71e73ff..f03db20574 100644 --- a/libs/ardour/ardour/named_selection.h +++ b/libs/ardour/ardour/named_selection.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2003 Paul Davis + Copyright (C) 2003 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,7 +15,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id$ */ #ifndef __ardour_named_selection_h__ @@ -23,30 +22,32 @@ #include #include +#include -#include +#include "pbd/stateful.h" class XMLNode; namespace ARDOUR { + class Session; class Playlist; -struct NamedSelection : public Stateful +struct NamedSelection : public PBD::Stateful { - NamedSelection (std::string, std::list&); - NamedSelection (Session&, const XMLNode&); - virtual ~NamedSelection (); + NamedSelection (std::string, std::list >&); + NamedSelection (Session&, const XMLNode&); + virtual ~NamedSelection (); - std::string name; - std::list playlists; + std::string name; + std::list > playlists; - XMLNode& get_state (void); + XMLNode& get_state (void); - int set_state (const XMLNode&); + int set_state (const XMLNode&, int version); - static sigc::signal NamedSelectionCreated; + static PBD::Signal1 NamedSelectionCreated; }; }/* namespace ARDOUR */