summaryrefslogtreecommitdiff
path: root/src/ReplayGainGlobal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-11-25 11:13:08 +0100
committerMax Kellermann <max@musicpd.org>2016-11-25 11:13:08 +0100
commit77c1f5487668569abb24dc458c40f019539dda52 (patch)
tree028c4bb9714a165f7a9ccb4984ae346267c719a7 /src/ReplayGainGlobal.hxx
parentdc5984d0e0fb28ce4443c7bd1791fa1363fb7bed (diff)
ReplayGainConfig: add struct ReplayGainConfig, move globals to ReplayGainGlobal.cxx
Diffstat (limited to 'src/ReplayGainGlobal.hxx')
-rw-r--r--src/ReplayGainGlobal.hxx35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/ReplayGainGlobal.hxx b/src/ReplayGainGlobal.hxx
new file mode 100644
index 000000000..9f73472e6
--- /dev/null
+++ b/src/ReplayGainGlobal.hxx
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2003-2016 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_REPLAY_GAIN_GLOBAL_HXX
+#define MPD_REPLAY_GAIN_GLOBAL_HXX
+
+#include "check.h"
+#include "ReplayGainMode.hxx"
+
+struct ReplayGainConfig;
+
+extern ReplayGainMode replay_gain_mode;
+
+extern ReplayGainConfig replay_gain_config;
+
+void
+replay_gain_global_init();
+
+#endif