|
Planeshift
|
#include <updaterconfig.h>
Public Member Functions | |
| const char * | GetBaseURL () const |
| unsigned int | GetID () const |
| const char * | GetName () const |
| bool | IsRepair () const |
| Returns if the server is a server supporting repair. | |
| Mirror () | |
| void | SetBaseURL (const char *baseURL) |
| void | SetBaseURL (csString url) |
| void | SetID (uint id) |
| void | SetIsRepair (const bool repair) |
| Sets if the current server supports repair. | |
| void | SetName (const char *name) |
| ~Mirror () | |
Protected Attributes | |
| csString | baseURL |
| uint | id |
| csString | name |
| bool | repair |
| Holds if this is a repair server. | |
Definition at line 41 of file updaterconfig.h.
| Mirror::Mirror | ( | ) | [inline] |
Definition at line 44 of file updaterconfig.h.
| Mirror::~Mirror | ( | ) | [inline] |
Definition at line 48 of file updaterconfig.h.
| const char* Mirror::GetBaseURL | ( | ) | const [inline] |
Definition at line 57 of file updaterconfig.h.
Definition at line 51 of file updaterconfig.h.
| const char* Mirror::GetName | ( | ) | const [inline] |
Definition at line 54 of file updaterconfig.h.
| bool Mirror::IsRepair | ( | ) | const [inline] |
Returns if the server is a server supporting repair.
So that can be used for it.
Definition at line 62 of file updaterconfig.h.
| void Mirror::SetBaseURL | ( | const char * | baseURL | ) | [inline] |
Definition at line 69 of file updaterconfig.h.
| void Mirror::SetBaseURL | ( | csString | url | ) | [inline] |
Definition at line 65 of file updaterconfig.h.
| void Mirror::SetID | ( | uint | id | ) | [inline] |
Definition at line 67 of file updaterconfig.h.
| void Mirror::SetIsRepair | ( | const bool | repair | ) | [inline] |
Sets if the current server supports repair.
| repair | Set this as true if this is a server supporting repair. |
Definition at line 74 of file updaterconfig.h.
| void Mirror::SetName | ( | const char * | name | ) | [inline] |
Definition at line 68 of file updaterconfig.h.
csString Mirror::baseURL [protected] |
Definition at line 84 of file updaterconfig.h.
uint Mirror::id [protected] |
Definition at line 78 of file updaterconfig.h.
csString Mirror::name [protected] |
Definition at line 81 of file updaterconfig.h.
bool Mirror::repair [protected] |
Holds if this is a repair server.
Definition at line 87 of file updaterconfig.h.
1.7.3