projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
provide an RC configuration variable to "shadow" Evoral::ControlList::thinning_factor
[ardour.git]
/
libs
/
ardour
/
ardour
/
named_selection.h
diff --git
a/libs/ardour/ardour/named_selection.h
b/libs/ardour/ardour/named_selection.h
index 87b71e73ffb12c3176ec199d9c2ecbe9068ea475..f03db205749699d6c5a442db70f804f1d77f4e7a 100644
(file)
--- 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
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.
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__
*/
#ifndef __ardour_named_selection_h__
@@
-23,30
+22,32
@@
#include <string>
#include <list>
#include <string>
#include <list>
+#include <boost/shared_ptr.hpp>
-#include
<pbd/stateful.h>
+#include
"pbd/stateful.h"
class XMLNode;
namespace ARDOUR
{
class XMLNode;
namespace ARDOUR
{
+
class Session;
class Playlist;
class Session;
class Playlist;
-struct NamedSelection : public Stateful
+struct NamedSelection : public
PBD::
Stateful
{
{
-
NamedSelection (std::string, std::list<Playlist*
>&);
- NamedSelection (Session&, const XMLNode&);
- virtual ~NamedSelection ();
+
NamedSelection (std::string, std::list<boost::shared_ptr<Playlist>
>&);
+
NamedSelection (Session&, const XMLNode&);
+
virtual ~NamedSelection ();
- std::string name;
-
std::list<Playlist*
> playlists;
+
std::string name;
+
std::list<boost::shared_ptr<Playlist>
> playlists;
- XMLNode& get_state (void);
+
XMLNode& get_state (void);
-
int set_state (const XMLNode&
);
+
int set_state (const XMLNode&, int version
);
-
static sigc::signal
<void,NamedSelection*> NamedSelectionCreated;
+
static PBD::Signal1
<void,NamedSelection*> NamedSelectionCreated;
};
}/* namespace ARDOUR */
};
}/* namespace ARDOUR */