1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef __FORM_H__
#define __FORM_H__
#ifdef __cplusplus
#include <Action.h>
#include <String.h>
#include <Exceptions.h>
class Form : public Action {
public:
Form(const String & titre, const String & url, const String & inv,
String * names, String * invs, String * defaults, String ** lists, String ** descs,
int nb, Action * ok = 0);
virtual ~Form() { }
virtual String GetTitle();
virtual Task * Do(Variables *, Handle *);
private:
String tit, iv, * nms, * ivs, * defs, ** lsts, ** dscs;
int n;
Action * Next;
};
#else
#error This only works with a C++ compiler
#endif
#endif
|