LMMS
Loading...
Searching...
No Matches
session_mgr.h
Go to the documentation of this file.
1/* Calf DSP Library Utility Application - calfjackhost
2 * Internal session manager API
3 *
4 * Copyright (C) 2010 Krzysztof Foltman
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 * 02110-1301, USA.
20 */
21#ifndef CALF_SESSION_MGR_H
22#define CALF_SESSION_MGR_H
23
24#include <string>
25
26namespace calf_plugins {
27
29{
30 virtual bool get_next_item(std::string &key, std::string &value) = 0;
32};
33
35{
36 virtual void write_next_item(const std::string &key, const std::string &value) = 0;
38};
39
41{
42 virtual void load(session_load_iface *) = 0;
43 virtual void save(session_save_iface *) = 0;
45};
46
48{
49 virtual bool is_being_restored() = 0;
50 virtual void set_jack_client_name(const std::string &name) = 0;
51 virtual void connect(const std::string &name) = 0;
52 virtual void poll() = 0;
53 virtual void disconnect() = 0;
55};
56
57#if USE_LASH
58extern session_manager_iface *create_lash_session_mgr(session_client_iface *client, int &argc, char **&argv);
59#endif
60
61};
62
63#endif
static PuglViewHint int value
Definition pugl.h:1708
char * argv[]
Definition unzip.c:738
static const char * name
Definition pugl.h:1582
Definition benchmark.cpp:53
Definition session_mgr.h:41
virtual ~session_client_iface()
Definition session_mgr.h:44
virtual void load(session_load_iface *)=0
virtual void save(session_save_iface *)=0
Definition session_mgr.h:29
virtual bool get_next_item(std::string &key, std::string &value)=0
virtual ~session_load_iface()
Definition session_mgr.h:31
Definition session_mgr.h:48
virtual ~session_manager_iface()
Definition session_mgr.h:54
virtual void connect(const std::string &name)=0
virtual void set_jack_client_name(const std::string &name)=0
Definition session_mgr.h:35
virtual void write_next_item(const std::string &key, const std::string &value)=0
virtual ~session_save_iface()
Definition session_mgr.h:37
ZCONST char * key
Definition crypt.c:587
int argc
Definition zipinfo.c:455