aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/sqlite/Domain.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-12 20:49:00 +0100
committerMax Kellermann <max@duempel.org>2014-12-12 20:49:00 +0100
commit2ca18a7ee5ede89e95fe9a862262726a1e845268 (patch)
tree26a6499b398b9c77ed3ef2bb5961bc7d9d66d513 /src/lib/sqlite/Domain.cxx
parent7dbe5f4640d95737b06063b0162184dc9f1978d0 (diff)
downloadmpd-2ca18a7ee5ede89e95fe9a862262726a1e845268.tar.gz
mpd-2ca18a7ee5ede89e95fe9a862262726a1e845268.tar.xz
mpd-2ca18a7ee5ede89e95fe9a862262726a1e845268.zip
lib/sqlite/Domain: add Domain instance for SQLite
Replaces the sticker_domain for Error::domain.
Diffstat (limited to 'src/lib/sqlite/Domain.cxx')
-rw-r--r--src/lib/sqlite/Domain.cxx24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/sqlite/Domain.cxx b/src/lib/sqlite/Domain.cxx
new file mode 100644
index 000000000..82c99d718
--- /dev/null
+++ b/src/lib/sqlite/Domain.cxx
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2003-2014 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.
+ */
+
+#include "config.h"
+#include "Domain.hxx"
+#include "util/Domain.hxx"
+
+const Domain sqlite_domain("sqlite");