/[svn]/gigedit/trunk/src/gigedit/Settings.h
ViewVC logotype

Annotation of /gigedit/trunk/src/gigedit/Settings.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2541 - (hide annotations) (download) (as text)
Wed Apr 23 16:49:05 2014 UTC (10 years ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 679 byte(s)
* Mark all recently added new leverage controllers (which are an
  unofficial gig sound format extension, only understood by
  LinuxSampler so far, not by GSt) with a "[EXT]" tag and show
  the user a warning dialog in case he tries to use one of those
  new controller types (warning can be switched off from menu).

1 schoenebeck 2541 /*
2     Copyright (c) 2014 Christian Schoenebeck
3    
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     // Probably a bit overkill for only one setting (right now), but I saw no better
12     // place to put this, since warnUserOnExtensions needs to be accessed without
13     // a MainWindow instance.
14     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    
17     static Settings* singleton();
18     Settings();
19     };
20    
21     #endif // GIGEDIT_SETTINGS

  ViewVC Help
Powered by ViewVC