aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/HttpdClient.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 09:18:52 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 09:18:52 +0100
commitfe3f0332f71258354b70e5db685b56934f0df703 (patch)
tree9f3f51ad0ee7203be19ce7d168985da52fa6a9a2 /src/output/HttpdClient.hxx
parent718fd97612c298b7eac47289c1803a2a19d9a859 (diff)
downloadmpd-fe3f0332f71258354b70e5db685b56934f0df703.tar.gz
mpd-fe3f0332f71258354b70e5db685b56934f0df703.tar.xz
mpd-fe3f0332f71258354b70e5db685b56934f0df703.zip
page: convert to C++
Diffstat (limited to '')
-rw-r--r--src/output/HttpdClient.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/output/HttpdClient.hxx b/src/output/HttpdClient.hxx
index 8fb7c8b28..1dd4eead1 100644
--- a/src/output/HttpdClient.hxx
+++ b/src/output/HttpdClient.hxx
@@ -29,7 +29,7 @@
#include <stddef.h>
struct HttpdOutput;
-struct page;
+class Page;
class HttpdClient final {
/**
@@ -76,14 +76,14 @@ class HttpdClient final {
} state;
/**
- * A queue of #page objects to be sent to the client.
+ * A queue of #Page objects to be sent to the client.
*/
- std::list<page *> pages;
+ std::list<Page *> pages;
/**
* The #page which is currently being sent to the client.
*/
- page *current_page;
+ Page *current_page;
/**
* The amount of bytes which were already sent from
@@ -120,9 +120,9 @@ class HttpdClient final {
guint metaint;
/**
- * The metadata as #page which is currently being sent to the client.
+ * The metadata as #Page which is currently being sent to the client.
*/
- page *metadata;
+ Page *metadata;
/*
* The amount of bytes which were already sent from the metadata.
@@ -204,12 +204,12 @@ public:
/**
* Appends a page to the client's queue.
*/
- void PushPage(page *page);
+ void PushPage(Page *page);
/**
* Sends the passed metadata.
*/
- void PushMetaData(page *page);
+void PushMetaData(Page *page);
};
#endif