summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-04-03 20:59:00 +0200
committerMax Kellermann <max@musicpd.org>2019-04-03 20:59:00 +0200
commit1213d979f8f2895e689b05fb2c2f1e8581e9169f (patch)
treea923b526e02904e914c0e5b3dd8af159c62b7b00
parenta9cb12b745c099edef622ed5dd1a84852a1bc699 (diff)
client/*: rename source files, remove "Client" prefix
-rw-r--r--meson.build24
-rw-r--r--src/Main.cxx2
-rw-r--r--src/client/Client.cxx2
-rw-r--r--src/client/Client.hxx2
-rw-r--r--src/client/Event.cxx (renamed from src/client/ClientEvent.cxx)0
-rw-r--r--src/client/Expire.cxx (renamed from src/client/ClientExpire.cxx)2
-rw-r--r--src/client/File.cxx (renamed from src/client/ClientFile.cxx)0
-rw-r--r--src/client/Global.cxx (renamed from src/client/ClientGlobal.cxx)2
-rw-r--r--src/client/Idle.cxx (renamed from src/client/ClientIdle.cxx)2
-rw-r--r--src/client/Internal.hxx (renamed from src/client/ClientInternal.hxx)0
-rw-r--r--src/client/List.cxx (renamed from src/client/ClientList.cxx)3
-rw-r--r--src/client/List.hxx (renamed from src/client/ClientList.hxx)0
-rw-r--r--src/client/Message.cxx (renamed from src/client/ClientMessage.cxx)2
-rw-r--r--src/client/Message.hxx (renamed from src/client/ClientMessage.hxx)0
-rw-r--r--src/client/New.cxx (renamed from src/client/ClientNew.cxx)4
-rw-r--r--src/client/Process.cxx (renamed from src/client/ClientProcess.cxx)2
-rw-r--r--src/client/Read.cxx (renamed from src/client/ClientRead.cxx)2
-rw-r--r--src/client/Subscribe.cxx (renamed from src/client/ClientSubscribe.cxx)2
-rw-r--r--src/client/Write.cxx (renamed from src/client/ClientWrite.cxx)0
-rw-r--r--src/command/CommandListBuilder.cxx2
-rw-r--r--src/command/MessageCommands.cxx2
21 files changed, 27 insertions, 28 deletions
diff --git a/meson.build b/meson.build
index 8b13a43e4..b5548733b 100644
--- a/meson.build
+++ b/meson.build
@@ -206,18 +206,18 @@ sources = [
'src/decoder/DecoderPrint.cxx',
'src/client/Listener.cxx',
'src/client/Client.cxx',
- 'src/client/ClientEvent.cxx',
- 'src/client/ClientExpire.cxx',
- 'src/client/ClientGlobal.cxx',
- 'src/client/ClientIdle.cxx',
- 'src/client/ClientList.cxx',
- 'src/client/ClientNew.cxx',
- 'src/client/ClientProcess.cxx',
- 'src/client/ClientRead.cxx',
- 'src/client/ClientWrite.cxx',
- 'src/client/ClientMessage.cxx',
- 'src/client/ClientSubscribe.cxx',
- 'src/client/ClientFile.cxx',
+ 'src/client/Event.cxx',
+ 'src/client/Expire.cxx',
+ 'src/client/Global.cxx',
+ 'src/client/Idle.cxx',
+ 'src/client/List.cxx',
+ 'src/client/New.cxx',
+ 'src/client/Process.cxx',
+ 'src/client/Read.cxx',
+ 'src/client/Write.cxx',
+ 'src/client/Message.cxx',
+ 'src/client/Subscribe.cxx',
+ 'src/client/File.cxx',
'src/client/Response.cxx',
'src/Listen.cxx',
'src/LogInit.cxx',
diff --git a/src/Main.cxx b/src/Main.cxx
index 686813c1c..b392048f2 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -29,7 +29,7 @@
#include "Listen.hxx"
#include "client/Listener.hxx"
#include "client/Client.hxx"
-#include "client/ClientList.hxx"
+#include "client/List.hxx"
#include "command/AllCommands.hxx"
#include "Partition.hxx"
#include "tag/Config.hxx"
diff --git a/src/client/Client.cxx b/src/client/Client.cxx
index 517b98f08..c141edf3c 100644
--- a/src/client/Client.cxx
+++ b/src/client/Client.cxx
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ClientInternal.hxx"
+#include "Internal.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "util/Domain.hxx"
diff --git a/src/client/Client.hxx b/src/client/Client.hxx
index 68c146077..031f5492e 100644
--- a/src/client/Client.hxx
+++ b/src/client/Client.hxx
@@ -20,7 +20,7 @@
#ifndef MPD_CLIENT_H
#define MPD_CLIENT_H
-#include "ClientMessage.hxx"
+#include "Message.hxx"
#include "command/CommandResult.hxx"
#include "command/CommandListBuilder.hxx"
#include "tag/Mask.hxx"
diff --git a/src/client/ClientEvent.cxx b/src/client/Event.cxx
index c2220e67e..c2220e67e 100644
--- a/src/client/ClientEvent.cxx
+++ b/src/client/Event.cxx
diff --git a/src/client/ClientExpire.cxx b/src/client/Expire.cxx
index 5ba706c00..32adf5d54 100644
--- a/src/client/ClientExpire.cxx
+++ b/src/client/Expire.cxx
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ClientInternal.hxx"
+#include "Internal.hxx"
#include "Log.hxx"
void
diff --git a/src/client/ClientFile.cxx b/src/client/File.cxx
index 34017774a..34017774a 100644
--- a/src/client/ClientFile.cxx
+++ b/src/client/File.cxx
diff --git a/src/client/ClientGlobal.cxx b/src/client/Global.cxx
index e23a0fb49..332d254bd 100644
--- a/src/client/ClientGlobal.cxx
+++ b/src/client/Global.cxx
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ClientInternal.hxx"
+#include "Internal.hxx"
#include "config/Data.hxx"
#define CLIENT_TIMEOUT_DEFAULT (60)
diff --git a/src/client/ClientIdle.cxx b/src/client/Idle.cxx
index 18ff6ae35..92098bba1 100644
--- a/src/client/ClientIdle.cxx
+++ b/src/client/Idle.cxx
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ClientInternal.hxx"
+#include "Internal.hxx"
#include "Response.hxx"
#include "Idle.hxx"
diff --git a/src/client/ClientInternal.hxx b/src/client/Internal.hxx
index f9555e0cf..f9555e0cf 100644
--- a/src/client/ClientInternal.hxx
+++ b/src/client/Internal.hxx
diff --git a/src/client/ClientList.cxx b/src/client/List.cxx
index da95858d2..56c83c88f 100644
--- a/src/client/ClientList.cxx
+++ b/src/client/List.cxx
@@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ClientList.hxx"
-#include "ClientInternal.hxx"
+#include "List.hxx"
#include "util/DeleteDisposer.hxx"
#include <assert.h>
diff --git a/src/client/ClientList.hxx b/src/client/List.hxx
index dd95b5820..dd95b5820 100644
--- a/src/client/ClientList.hxx
+++ b/src/client/List.hxx
diff --git a/src/client/ClientMessage.cxx b/src/client/Message.cxx
index 5c915bc41..7cea01713 100644
--- a/src/client/ClientMessage.cxx
+++ b/src/client/Message.cxx
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ClientMessage.hxx"
+#include "Message.hxx"
#include "util/CharUtil.hxx"
static constexpr bool
diff --git a/src/client/ClientMessage.hxx b/src/client/Message.hxx
index 2c853d1c2..2c853d1c2 100644
--- a/src/client/ClientMessage.hxx
+++ b/src/client/Message.hxx
diff --git a/src/client/ClientNew.cxx b/src/client/New.cxx
index 5f1f36470..6ee1eeedb 100644
--- a/src/client/ClientNew.cxx
+++ b/src/client/New.cxx
@@ -18,8 +18,8 @@
*/
#include "config.h"
-#include "ClientInternal.hxx"
-#include "ClientList.hxx"
+#include "Internal.hxx"
+#include "List.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "net/UniqueSocketDescriptor.hxx"
diff --git a/src/client/ClientProcess.cxx b/src/client/Process.cxx
index 3926bee71..1f37d6a91 100644
--- a/src/client/ClientProcess.cxx
+++ b/src/client/Process.cxx
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ClientInternal.hxx"
+#include "Internal.hxx"
#include "protocol/Result.hxx"
#include "command/AllCommands.hxx"
#include "Log.hxx"
diff --git a/src/client/ClientRead.cxx b/src/client/Read.cxx
index 1c69b2830..ebb502353 100644
--- a/src/client/ClientRead.cxx
+++ b/src/client/Read.cxx
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ClientInternal.hxx"
+#include "Internal.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "event/Loop.hxx"
diff --git a/src/client/ClientSubscribe.cxx b/src/client/Subscribe.cxx
index 23a40eba7..1a1367841 100644
--- a/src/client/ClientSubscribe.cxx
+++ b/src/client/Subscribe.cxx
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "ClientInternal.hxx"
+#include "Internal.hxx"
#include "Partition.hxx"
#include "Idle.hxx"
diff --git a/src/client/ClientWrite.cxx b/src/client/Write.cxx
index 9bc3ec0c4..9bc3ec0c4 100644
--- a/src/client/ClientWrite.cxx
+++ b/src/client/Write.cxx
diff --git a/src/command/CommandListBuilder.cxx b/src/command/CommandListBuilder.cxx
index 2ff9a206f..40e2c833a 100644
--- a/src/command/CommandListBuilder.cxx
+++ b/src/command/CommandListBuilder.cxx
@@ -18,7 +18,7 @@
*/
#include "CommandListBuilder.hxx"
-#include "client/ClientInternal.hxx"
+#include "client/Internal.hxx"
#include <string.h>
diff --git a/src/command/MessageCommands.cxx b/src/command/MessageCommands.cxx
index fd3592fb0..d52261476 100644
--- a/src/command/MessageCommands.cxx
+++ b/src/command/MessageCommands.cxx
@@ -20,7 +20,7 @@
#include "MessageCommands.hxx"
#include "Request.hxx"
#include "client/Client.hxx"
-#include "client/ClientList.hxx"
+#include "client/List.hxx"
#include "client/Response.hxx"
#include "Instance.hxx"
#include "util/ConstBuffer.hxx"