summaryrefslogtreecommitdiff
path: root/include/Form.h
blob: 5dccb355dd0c205899365c811e22c6b604a30181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __FORM_H__
#define __FORM_H__

#include <Action.h>
#include <BString.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 *, Variables *, Handle *);

  private:
    String tit, iv, * nms, * ivs, * defs, ** lsts, ** dscs;
    int n;
    Action * Next;
};

#endif