summaryrefslogtreecommitdiff
path: root/include/Message.h
blob: 043f4d69d91bb1cd94ab8b97e00c885f0be50c97 (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
#ifndef __MESSAGE_H__
#define __MESSAGE_H__
#ifdef __cplusplus

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

class Message : public Action {
  public:
      Message(const String & titre, const String & msg, const String & url, Action * ok = 0);
      virtual ~Message() { }
    virtual String GetTitle();
    virtual Task * Do(Variables *, Handle *);

  private:
    String tit, msg;
    Action * Next;
};

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