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
d477a922
Commit
d477a922
authored
Dec 31, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/httpd: change "struct" to "class"
parent
69a9d291
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
HttpdClient.hxx
src/output/HttpdClient.hxx
+1
-1
HttpdInternal.hxx
src/output/HttpdInternal.hxx
+6
-1
HttpdOutputPlugin.cxx
src/output/HttpdOutputPlugin.cxx
+0
-2
No files found.
src/output/HttpdClient.hxx
View file @
d477a922
...
...
@@ -27,7 +27,7 @@
#include <stddef.h>
struct
HttpdOutput
;
class
HttpdOutput
;
class
Page
;
class
HttpdClient
final
:
BufferedSocket
{
...
...
src/output/HttpdInternal.hxx
View file @
d477a922
...
...
@@ -46,7 +46,7 @@ class Page;
struct
Encoder
;
struct
Tag
;
struct
HttpdOutput
final
:
private
ServerSocket
{
class
HttpdOutput
final
:
ServerSocket
{
struct
audio_output
base
;
/**
...
...
@@ -68,6 +68,7 @@ struct HttpdOutput final : private ServerSocket {
*/
size_t
unflushed_input
;
public
:
/**
* The MIME type produced by the #encoder.
*/
...
...
@@ -79,6 +80,7 @@ struct HttpdOutput final : private ServerSocket {
*/
mutable
Mutex
mutex
;
private
:
/**
* A #Timer object to synchronize this output with the
* wallclock.
...
...
@@ -95,6 +97,7 @@ struct HttpdOutput final : private ServerSocket {
*/
Page
*
metadata
;
public
:
/**
* The configured name.
*/
...
...
@@ -108,6 +111,7 @@ struct HttpdOutput final : private ServerSocket {
*/
char
const
*
website
;
private
:
/**
* A linked list containing all clients which are currently
* connected.
...
...
@@ -126,6 +130,7 @@ struct HttpdOutput final : private ServerSocket {
*/
unsigned
clients_max
,
clients_cnt
;
public
:
HttpdOutput
(
EventLoop
&
_loop
);
~
HttpdOutput
();
...
...
src/output/HttpdOutputPlugin.cxx
View file @
d477a922
...
...
@@ -306,8 +306,6 @@ httpd_output_open(struct audio_output *ao, AudioFormat &audio_format,
{
HttpdOutput
*
httpd
=
HttpdOutput
::
Cast
(
ao
);
assert
(
httpd
->
clients
.
empty
());
const
ScopeLock
protect
(
httpd
->
mutex
);
return
httpd
->
Open
(
audio_format
,
error
);
}
...
...
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