1
/************************************************************************
5
Copyright (C) 2007 Virus
6
Copyright (C) 2002 mooby
8
This program is free software; you can redistribute it and/or
9
modify it under the terms of the GNU General Public License
10
as published by the Free Software Foundation; either version 2
11
of the License, or (at your option) any later version.
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
18
You should have received a copy of the GNU General Public License
19
along with this program; if not, write to the Free Software
20
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
************************************************************************/
24
#pragma warning(disable:4786)
26
#ifndef PREFERENCES_HPP
27
#define PREFERENCES_HPP
32
#include <FL/Fl_Preferences.H>
34
static char* repeatString = "repeat";
35
static char* volumeString = "volume";
36
static char* autorunString = "autorun";
37
static char* lastrunString = "lastrun";
38
static char* cacheSizeString = "cachesize";
39
static char* cachingModeString = "cachemode";
40
static char* subEnableString = "subenable";
42
// these are the repeat mode strings
43
static char* repeatAllString = "repeatAll";
44
static char* repeatOneString = "repeatOne";
45
static char* playOneString = "playOne";
46
static char* oldCachingString = "old";
47
static char* newCachingString = "new";
49
// a wrapper for preference information.
62
std::map<std::string, std::string> prefsMap;
63
std::list<std::string> allPrefs;