-
Notifications
You must be signed in to change notification settings - Fork 0
/
ACTIONS.HXX
72 lines (59 loc) · 1.64 KB
/
ACTIONS.HXX
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* ========================================================================
Copyright (c) 1990,1996 Synergistic Software
All Rights Reserved
======================================================================== */
#ifndef _ACTIONS_HXX
#define _ACTIONS_HXX
#if !defined(_TYPEDEFS_HXX)
#include "typedefs.h"
#endif
#if !defined(_VECTOR_HXX)
#include "vector.hxx"
#endif
#if !defined(_STRMGR_H)
#include "strmgr.h"
#endif
/* ------------------------------------------------------------------------
Defines and Compile Flags
------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------
Typedefs
------------------------------------------------------------------------ */
class ACTIONS {
public:
inline ACTIONS(LONG /* NewTitle */, LONG /* NewVerbose */, LONG /* NewMoreInfo */);
inline char * mfGetTitle() const;
inline char * mfGetVerbose() const;
inline LONG const mfGetMoreInfo() const;
protected:
private:
LONG const title;
LONG const verbose;
LONG const more_info;
};
typedef ACTIONS *ACTIONS_PTR;
extern DECL_VECTOR_CLASS(ACTIONS const,Action);
inline ACTIONS::ACTIONS(
LONG NewTitle,
LONG NewVerbose,
LONG NewMoreInfo) :
title(NewTitle),
verbose(NewVerbose),
more_info(NewMoreInfo)
{
}
inline char * ACTIONS::mfGetTitle() const
{
return STRMGR_GetStr(title);
}
inline char * ACTIONS::mfGetVerbose() const
{
return STRMGR_GetStr(verbose);
}
inline LONG const ACTIONS::mfGetMoreInfo() const
{
return more_info;
}
#endif // _ACTIONS_HXX
/* ======================================================================== */