/*
- 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__