1 |
schoenebeck |
2541 |
/* |
2 |
schoenebeck |
2689 |
Copyright (c) 2014-2015 Christian Schoenebeck |
3 |
schoenebeck |
2541 |
|
4 |
|
|
This file is part of "gigedit" and released under the terms of the |
5 |
|
|
GNU General Public License version 2. |
6 |
|
|
*/ |
7 |
|
|
|
8 |
|
|
#ifndef GIGEDIT_SETTINGS |
9 |
|
|
#define GIGEDIT_SETTINGS |
10 |
|
|
|
11 |
schoenebeck |
2689 |
// Probably a bit overkill for only two settings (right now), but I saw |
12 |
|
|
// originnaly no better place to put this, since warnUserOnExtensions needs to |
13 |
|
|
// be accessed without a MainWindow instance. |
14 |
schoenebeck |
2541 |
struct Settings { |
15 |
|
|
bool warnUserOnExtensions; ///< if enabled, the user shall he be warned if he is trying to use a gig format extension that will not work with Gigasampler/GigaStudio |
16 |
schoenebeck |
2689 |
bool syncSamplerInstrumentSelection; ///< if enabled, the sampler's current instrument will automatically be switched whenever another instrument was selected in gigedit |
17 |
schoenebeck |
2541 |
|
18 |
|
|
static Settings* singleton(); |
19 |
|
|
Settings(); |
20 |
|
|
}; |
21 |
|
|
|
22 |
|
|
#endif // GIGEDIT_SETTINGS |