summaryrefslogtreecommitdiff
path: root/include/Form.h
blob: f0fa93f8b608e66f096baa221c056424bdc0ad66 (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