1 |
bearsoft |
1.1 |
#ifndef __HomePage_H__
|
2 |
|
|
#define __HomePage_H__
|
3 |
|
|
|
4 |
|
|
#include "../String/String.h"
|
5 |
|
|
#include "Table.h"
|
6 |
|
|
#include "../Program/WebServer/Header.h"
|
7 |
|
|
#include "../LinkedList/StringLinkedList.h"
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
class HomePage
|
11 |
|
|
{
|
12 |
|
|
|
13 |
|
|
public:
|
14 |
|
|
|
15 |
|
|
HomePage(Header *iHeader);
|
16 |
|
|
~HomePage();
|
17 |
|
|
|
18 |
|
|
void addTable(Table &table);
|
19 |
|
|
bool send();
|
20 |
|
|
|
21 |
|
|
String *title;
|
22 |
|
|
String *backGroundColour;
|
23 |
|
|
String *text;
|
24 |
|
|
String *link;
|
25 |
|
|
String *vLink;
|
26 |
|
|
String *backGroundPicturePath;
|
27 |
|
|
|
28 |
|
|
private:
|
29 |
|
|
|
30 |
|
|
StringLinkedList *tableList;
|
31 |
|
|
Header *header;
|
32 |
|
|
|
33 |
|
|
};
|
34 |
|
|
|
35 |
|
|
#endif |