Fix sketchy casts.
[ardour.git] / libs / ardour / ardour / named_selection.h
index 7636099e1f62e5725bd9645c1daa3c1453502424..d41f104e1a1518e0684621fd42e92772b33c1c9f 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
@@ -24,7 +24,7 @@
 #include <list>
 #include <boost/shared_ptr.hpp>
 
-#include <pbd/stateful.h> 
+#include "pbd/stateful.h"
 
 class XMLNode;
 
@@ -33,7 +33,7 @@ namespace ARDOUR
 class Session;
 class Playlist;
 
-struct NamedSelection : public Stateful
+struct NamedSelection : public PBD::Stateful
 {
     NamedSelection (std::string, std::list<boost::shared_ptr<Playlist> >&);
     NamedSelection (Session&, const XMLNode&);
@@ -44,7 +44,7 @@ struct NamedSelection : public Stateful
 
     XMLNode& get_state (void);
 
-    int set_state (const XMLNode&);
+    int set_state (const XMLNode&, int version);
 
     static sigc::signal<void,NamedSelection*> NamedSelectionCreated;
 };