hydrogen
1.2.3
Future.h
Go to the documentation of this file.
1
/*
2
* Hydrogen
3
* Copyright(c) 2008-2024 The hydrogen development team [hydrogen-devel@lists.sourceforge.net]
4
*
5
* http://www.hydrogen-music.org
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY, without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see https://www.gnu.org/licenses
19
*
20
*/
21
22
#ifndef H2C_FUTURE_H
23
#define H2C_FUTURE_H
24
25
#include <
core/Object.h
>
26
#include <memory>
27
#include <vector>
28
29
namespace
H2Core
{
30
31
class
DrumkitComponent
;
32
class
XMLNode
;
33
37
class
Future
:
public
H2Core::Object
<Future> {
38
H2_OBJECT
(
Future
)
39
public
:
40
static
std::vector<std::shared_ptr<DrumkitComponent>>
loadDrumkitComponentsFromKit
(
41
XMLNode
* pNode );
42
};
43
44
};
45
46
#endif
// H2C_FUTURE_H
Object.h
H2_OBJECT
#define H2_OBJECT(name)
Definition
Object.h:224
H2Core::DrumkitComponent
Definition
DrumkitComponent.h:41
H2Core::Future
Ensures compatibility with the song format introduced in Hydrogen v1.3.0.
Definition
Future.h:37
H2Core::Future::loadDrumkitComponentsFromKit
static std::vector< std::shared_ptr< DrumkitComponent > > loadDrumkitComponentsFromKit(XMLNode *pNode)
Definition
Future.cpp:30
H2Core::Object
Definition
Object.h:178
H2Core::XMLNode
XMLNode is a subclass of QDomNode with read and write values methods.
Definition
Xml.h:39
H2Core
Definition
ExportMidiDialog.h:31
src
core
Helpers
Future.h
Generated by
1.13.2