summaryrefslogtreecommitdiff
path: root/include/Menu.h
blob: 6e77c70e2d8a5cd7478fc9d7b194eda73c0e4fb6 (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 *, Handle *);
  
  private:
    String tit;
    String * lt;
    Action ** la;
    int nba;
};

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