Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
38298e0c
Commit
38298e0c
authored
Apr 03, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client/Internal: move client_domain to Domain.hxx
parent
1213d979
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
54 additions
and
6 deletions
+54
-6
meson.build
meson.build
+1
-0
Client.cxx
src/client/Client.cxx
+1
-3
Domain.cxx
src/client/Domain.cxx
+23
-0
Domain.hxx
src/client/Domain.hxx
+25
-0
Expire.cxx
src/client/Expire.cxx
+2
-1
Internal.hxx
src/client/Internal.hxx
+0
-2
New.cxx
src/client/New.cxx
+1
-0
Process.cxx
src/client/Process.cxx
+1
-0
No files found.
meson.build
View file @
38298e0c
...
...
@@ -206,6 +206,7 @@ sources = [
'src/decoder/DecoderPrint.cxx',
'src/client/Listener.cxx',
'src/client/Client.cxx',
'src/client/Domain.cxx',
'src/client/Event.cxx',
'src/client/Expire.cxx',
'src/client/Global.cxx',
...
...
src/client/Client.cxx
View file @
38298e0c
...
...
@@ -17,14 +17,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "
Internal
.hxx"
#include "
Client
.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "util/Domain.hxx"
#include "config.h"
const
Domain
client_domain
(
"client"
);
Client
::~
Client
()
noexcept
{
if
(
FullyBufferedSocket
::
IsDefined
())
...
...
src/client/Domain.cxx
0 → 100644
View file @
38298e0c
/*
* Copyright 2003-2019 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 "Domain.hxx"
#include "util/Domain.hxx"
const
Domain
client_domain
(
"client"
);
src/client/Domain.hxx
0 → 100644
View file @
38298e0c
/*
* Copyright 2003-2019 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_CLIENT_DOMAIN_HXX
#define MPD_CLIENT_DOMAIN_HXX
extern
const
class
Domain
client_domain
;
#endif
src/client/Expire.cxx
View file @
38298e0c
...
...
@@ -17,7 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "Internal.hxx"
#include "Client.hxx"
#include "Domain.hxx"
#include "Log.hxx"
void
...
...
src/client/Internal.hxx
View file @
38298e0c
...
...
@@ -27,8 +27,6 @@
static
constexpr
unsigned
CLIENT_MAX_SUBSCRIPTIONS
=
16
;
static
constexpr
unsigned
CLIENT_MAX_MESSAGES
=
64
;
extern
const
class
Domain
client_domain
;
extern
std
::
chrono
::
steady_clock
::
duration
client_timeout
;
extern
size_t
client_max_command_list_size
;
extern
size_t
client_max_output_buffer_size
;
...
...
src/client/New.cxx
View file @
38298e0c
...
...
@@ -19,6 +19,7 @@
#include "config.h"
#include "Internal.hxx"
#include "Domain.hxx"
#include "List.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
...
...
src/client/Process.cxx
View file @
38298e0c
...
...
@@ -18,6 +18,7 @@
*/
#include "Internal.hxx"
#include "Domain.hxx"
#include "protocol/Result.hxx"
#include "command/AllCommands.hxx"
#include "Log.hxx"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment