allow to query export profile type
[ardour.git] / libs / ardour / ardour / recent_sessions.h
index e32b67bcd853f2d3259d6352e1d5746fd31deffc..7c4158c9b540a65e74fd3b37377b9655537c9854 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2004 Paul Davis 
+    Copyright (C) 2004 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 <utility>
 #include <string>
 
-using std::deque;
-using std::pair;
-using std::string;
+#include "ardour/libardour_visibility.h"
 
 namespace ARDOUR {
-       typedef deque<pair<string,string> > RecentSessions;
-
-       int read_recent_sessions (RecentSessions& rs);
-       int store_recent_sessions (string name, string path);
-       int write_recent_sessions (RecentSessions& rs);
+       typedef std::deque<std::pair<std::string,std::string> > RecentSessions;
+
+       LIBARDOUR_API int read_recent_sessions (RecentSessions& rs);
+       LIBARDOUR_API int read_recent_templates (std::deque<std::string>& rt);
+       LIBARDOUR_API int store_recent_sessions (std::string name, std::string path);
+       LIBARDOUR_API int store_recent_templates (const std::string& session_template_full_name);
+       LIBARDOUR_API int write_recent_sessions (RecentSessions& rs);
+       LIBARDOUR_API int write_recent_templates (std::deque<std::string>& rt);
+       LIBARDOUR_API int remove_recent_sessions (const std::string& path);
 }; // namespace ARDOUR
 
 #endif // __ardour_recent_sessions_h__