#include <webstatisticspage.h>
Inheritance diagram for WebStatisticsPage:


Public Types | |
| typedef char *(*) | Callback (WebStatisticsPage *sender, void *data, const char *title, WebSrvClient *) |
| the result of the callback will be freed (deleted) automatically after usage! | |
|
typedef list< TABLE_ROW >::iterator | ItemIter |
Public Member Functions | |
| DECLSPEC | WebStatisticsPage (const char *uri) |
| virtual DECLSPEC int | send (WebSrvClient *client, Uint32 &responsecode) |
| DECLSPEC ItemIter | addItem (const char *title, Callback c, void *cb_data) |
| DECLSPEC void | removeItem (ItemIter i) |
| DECLSPEC void | setTitle (const char *t) |
| DECLSPEC void | setHeading (const char *t) |
| DECLSPEC void | setEnding (const char *t) |
Public Attributes | |
| int | wTableTitles |
| int | wTable |
| int | wBorder |
| Uint32 | colorTable |
Classes | |
| struct | TABLE_ROW |
This class shows a simple webpage with game-statistics It's very dirty code, because it's just for testing the network-interface or other things
| int WebStatisticsPage::send | ( | WebSrvClient * | client, | |
| Uint32 & | responsecode | |||
| ) | [virtual] |
Use this function in derived classes to respond on requests.
| client | the connected client, that is requesting | |
| responsecode | the return-code of the page, sent to the client (i.e. 200, when OK; 400 on error...) has to be assigned to this variable |
Reimplemented from WebPage.
1.5.1