--- gigedit/trunk/src/gigedit/Settings.h 2014/04/23 16:49:05 2541 +++ gigedit/trunk/src/gigedit/Settings.h 2015/01/04 17:19:19 2689 @@ -1,5 +1,5 @@ /* - Copyright (c) 2014 Christian Schoenebeck + Copyright (c) 2014-2015 Christian Schoenebeck This file is part of "gigedit" and released under the terms of the GNU General Public License version 2. @@ -8,11 +8,12 @@ #ifndef GIGEDIT_SETTINGS #define GIGEDIT_SETTINGS -// Probably a bit overkill for only one setting (right now), but I saw no better -// place to put this, since warnUserOnExtensions needs to be accessed without -// a MainWindow instance. +// Probably a bit overkill for only two settings (right now), but I saw +// originnaly no better place to put this, since warnUserOnExtensions needs to +// be accessed without a MainWindow instance. struct Settings { 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 + bool syncSamplerInstrumentSelection; ///< if enabled, the sampler's current instrument will automatically be switched whenever another instrument was selected in gigedit static Settings* singleton(); Settings();