aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/smbclient
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-06 22:11:03 +0100
committerMax Kellermann <max@duempel.org>2014-02-06 22:12:50 +0100
commita7989077abe2b862b131b7573380a82f889bad95 (patch)
tree110ef1d67939ae399e4448cd0b8aff7dc463a8f9 /src/lib/smbclient
parent7e34737b2b516484227b225289e8325f78452a8a (diff)
downloadmpd-a7989077abe2b862b131b7573380a82f889bad95.tar.gz
mpd-a7989077abe2b862b131b7573380a82f889bad95.tar.xz
mpd-a7989077abe2b862b131b7573380a82f889bad95.zip
neighbor/smbclient: move smbclient_domain to lib/smbclient/Domain.cxx
Diffstat (limited to 'src/lib/smbclient')
-rw-r--r--src/lib/smbclient/Domain.cxx24
-rw-r--r--src/lib/smbclient/Domain.hxx27
2 files changed, 51 insertions, 0 deletions
diff --git a/src/lib/smbclient/Domain.cxx b/src/lib/smbclient/Domain.cxx
new file mode 100644
index 000000000..00f5ee6c1
--- /dev/null
+++ b/src/lib/smbclient/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 smbclient_domain("smbclient");
diff --git a/src/lib/smbclient/Domain.hxx b/src/lib/smbclient/Domain.hxx
new file mode 100644
index 000000000..3b21c4e60
--- /dev/null
+++ b/src/lib/smbclient/Domain.hxx
@@ -0,0 +1,27 @@
+/*
+ * 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.
+ */
+
+#ifndef MPD_SMBCLIENT_DOMAIN_HXX
+#define MPD_SMBCLIENT_DOMAIN_HXX
+
+class Domain;
+
+extern const Domain smbclient_domain;
+
+#endif