Fix a few framecnt / framepos type confusions.
[ardour.git] / libs / ardour / ardour / named_selection.h
index 39ab524d4f7e20174653b9545b2936512da2753d..f03db205749699d6c5a442db70f804f1d77f4e7a 100644 (file)
@@ -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
 #include <list>
 #include <boost/shared_ptr.hpp>
 
-#include <pbd/stateful.h> 
+#include "pbd/stateful.h"
 
 class XMLNode;
 
 namespace ARDOUR
 {
+
 class Session;
 class Playlist;
 
 struct NamedSelection : public PBD::Stateful
 {
-    NamedSelection (std::string, std::list<boost::shared_ptr<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<boost::shared_ptr<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 */