aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigDefaults.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-05 08:42:08 +0200
committerMax Kellermann <max@duempel.org>2013-09-05 08:42:08 +0200
commit9605e24655dbb0d67b34e0be7aa71e621f3ae415 (patch)
treee648cdddf0eca06d7361fcb689b1d3198639fe01 /src/ConfigDefaults.hxx
parent7d0269d2cec68c7e55df5b6db3d2266741534b17 (diff)
downloadmpd-9605e24655dbb0d67b34e0be7aa71e621f3ae415.tar.gz
mpd-9605e24655dbb0d67b34e0be7aa71e621f3ae415.tar.xz
mpd-9605e24655dbb0d67b34e0be7aa71e621f3ae415.zip
conf.h: move constants to ConfigDefaults.hxx
Diffstat (limited to '')
-rw-r--r--src/ConfigDefaults.hxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ConfigDefaults.hxx b/src/ConfigDefaults.hxx
new file mode 100644
index 000000000..9cfe61582
--- /dev/null
+++ b/src/ConfigDefaults.hxx
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * http://www.musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPD_CONFIG_DEFAULTS_HXX
+#define MPD_CONFIG_DEFAULTS_HXX
+
+static constexpr unsigned DEFAULT_PLAYLIST_MAX_LENGTH = 16 * 1024;
+static constexpr bool DEFAULT_PLAYLIST_SAVE_ABSOLUTE_PATHS = false;
+
+#endif