summaryrefslogtreecommitdiff
path: root/include/Menu.h
blob: 255892056dae06a6c3d2debf60b9674c4018c278 (plain)
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
#ifndef __MENU_H__
#define __MENU_H__
#ifdef __cplusplus

#include <Action.h>
#include <String.h>
#include <Exceptions.h>

class Menu : public Action {
  public:
      Menu(const String & titre, const String & url, String * labels, Action ** listac, int nb);
      virtual ~Menu() {}
    virtual String GetTitle();
    virtual Task * Do(Variables *, Variables *, Handle *);
  
  private:
    String tit;
    String * lt;
    Action ** la;
    int nba;
};

#else
#error This only works with a C++ compiler
#endif
#endif