Ardour  9.0-pre0-582-g084a23a80d
recent_sessions.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2015 Paul Davis <paul@linuxaudiosystems.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #pragma once
20 
21 #include <deque>
22 #include <utility>
23 #include <string>
24 
26 
27 namespace ARDOUR {
28  typedef std::deque<std::pair<std::string,std::string> > RecentSessions;
29 
31  LIBARDOUR_API int read_recent_templates (std::deque<std::string>& rt);
32  LIBARDOUR_API int store_recent_sessions (std::string name, std::string path);
33  LIBARDOUR_API int store_recent_templates (const std::string& session_template_full_name);
35  LIBARDOUR_API int write_recent_templates (std::deque<std::string>& rt);
36  LIBARDOUR_API int remove_recent_sessions (const std::string& path);
37 }; // namespace ARDOUR
38 
GtkImageIconNameData name
Definition: gtkimage.h:6
#define LIBARDOUR_API
int write_recent_sessions(RecentSessions &rs)
int write_recent_templates(std::deque< std::string > &rt)
int store_recent_templates(const std::string &session_template_full_name)
int store_recent_sessions(std::string name, std::string path)
int remove_recent_sessions(const std::string &path)
std::deque< std::pair< std::string, std::string > > RecentSessions
int read_recent_templates(std::deque< std::string > &rt)
int read_recent_sessions(RecentSessions &rs)