Ardour
9.0-pre0-582-g084a23a80d
manifest.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Luciano Iam <oss@lucianoiam.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
#ifndef _ardour_surface_websockets_manifest_h_
20
#define _ardour_surface_websockets_manifest_h_
21
22
#include <string>
23
24
namespace
ArdourSurface
{
25
26
class
SurfaceManifest
27
{
28
public
:
29
// all ardour control surfaces implement presets using xml format
30
SurfaceManifest
(std::string);
31
32
bool
valid
() {
return
_valid
; }
33
34
std::string
path
() {
return
_path
; }
35
std::string
name
() {
return
_name
; }
36
std::string
description
() {
return
_description
; }
37
std::string
version
() {
return
_version
; }
38
39
std::string
to_json
();
40
41
static
bool
exists_at_path
(std::string);
42
43
private
:
44
bool
_valid
;
45
46
std::string
_path
;
47
std::string
_name
;
48
std::string
_description
;
49
std::string
_version
;
50
};
51
52
}
// namespace ArdourSurface
53
54
#endif
// _ardour_surface_websockets_manifest_h_
ArdourSurface::SurfaceManifest
Definition:
manifest.h:27
ArdourSurface::SurfaceManifest::_description
std::string _description
Definition:
manifest.h:48
ArdourSurface::SurfaceManifest::_name
std::string _name
Definition:
manifest.h:47
ArdourSurface::SurfaceManifest::valid
bool valid()
Definition:
manifest.h:32
ArdourSurface::SurfaceManifest::_path
std::string _path
Definition:
manifest.h:46
ArdourSurface::SurfaceManifest::exists_at_path
static bool exists_at_path(std::string)
ArdourSurface::SurfaceManifest::version
std::string version()
Definition:
manifest.h:37
ArdourSurface::SurfaceManifest::_valid
bool _valid
Definition:
manifest.h:44
ArdourSurface::SurfaceManifest::description
std::string description()
Definition:
manifest.h:36
ArdourSurface::SurfaceManifest::name
std::string name()
Definition:
manifest.h:35
ArdourSurface::SurfaceManifest::path
std::string path()
Definition:
manifest.h:34
ArdourSurface::SurfaceManifest::_version
std::string _version
Definition:
manifest.h:49
ArdourSurface::SurfaceManifest::SurfaceManifest
SurfaceManifest(std::string)
ArdourSurface::SurfaceManifest::to_json
std::string to_json()
ArdourSurface
Definition:
cc121.h:71
libs
surfaces
websockets
manifest.h
Generated on Wed Dec 25 2024 05:44:34 for Ardour by
1.9.1