blob: be0b659925d1b609b695d5612ced581be27d29d7 (
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 __CONFIRM_H__
#define __CONFIRM_H__
#ifdef __cplusplus
#include <Action.h>
#include <String.h>
#include <Exceptions.h>
class Confirm : public Action {
public:
Confirm(const String & titre, const String & msg, const String & url, Action * yes, Action * no = 0);
virtual ~Confirm() { }
virtual String GetTitle();
virtual Task * Do(Variables *, Handle *);
private:
String tit, msg;
Action * NYes, * NNo;
};
#else
#error This only works with a C++ compiler
#endif
#endif
|