ARB
Main Page
Namespaces
Classes
Files
File List
File Members
WINDOW
aw_advice.hxx
Go to the documentation of this file.
1
// ==================================================================== //
2
// //
3
// File : aw_advice.hxx //
4
// Purpose : general user advices //
5
// //
6
// //
7
// Coded by Ralf Westram (coder@reallysoft.de) in May 2002 //
8
// Copyright Department of Microbiology (Technical University Munich) //
9
// //
10
// Visit our web site at: http://www.arb-home.de/ //
11
// //
12
// //
13
// ==================================================================== //
14
15
#ifndef AW_ADVICE_HXX
16
#define AW_ADVICE_HXX
17
18
#ifndef AW_BASE_HXX
19
#include "
aw_base.hxx
"
20
#endif
21
22
24
enum
AW_Advice_Type
{
25
AW_ADVICE_SIMPLE
= 0,
// nothing of the following
26
AW_ADVICE_TOGGLE
= 1,
// visible toggle to switch off advice (otherwise advice appears only once)
27
AW_ADVICE_HELP
= 2,
// advice has corresponding help file
28
AW_ADVICE_HELP_POPUP
= 4,
// this helpfile should popup immediately
29
30
// convenience defs:
31
AW_ADVICE_TOGGLE_AND_HELP
=
AW_ADVICE_TOGGLE
|
AW_ADVICE_HELP
,
32
};
33
35
void
init_Advisor
(
AW_root
*awr);
36
44
void
AW_advice
(
const
char
*
message
,
45
AW_Advice_Type
type
=
AW_ADVICE_SIMPLE
,
46
const
char
*
title
=
NULp
,
47
const
char
*corresponding_help =
NULp
);
48
50
void
AW_reactivate_all_advices
(
AW_window
*);
51
52
53
#else
54
#error aw_advice.hxx included twice
55
#endif // AW_ADVICE_HXX
56
type
GB_TYPES type
Definition:
item_sel_list.cxx:117
AW_ADVICE_HELP_POPUP
Definition:
aw_advice.hxx:28
aw_base.hxx
title
const char * title
Definition:
readseq.c:22
AW_ADVICE_TOGGLE
Definition:
aw_advice.hxx:26
AW_reactivate_all_advices
void AW_reactivate_all_advices(AW_window *)
reactivates all advices which were disabled by the user
Definition:
AW_advice.cxx:137
message
void message(char *errortext)
AW_ADVICE_TOGGLE_AND_HELP
Definition:
aw_advice.hxx:31
AW_Advice_Type
AW_Advice_Type
define type of AW_advice by or-ing values
Definition:
aw_advice.hxx:24
AW_advice
void AW_advice(const char *message, AW_Advice_Type type=AW_ADVICE_SIMPLE, const char *title=NULp, const char *corresponding_help=NULp)
Show a message box with an advice for the user.
Definition:
AW_advice.cxx:160
AW_root
Definition:
aw_root.hxx:86
NULp
#define NULp
Definition:
cxxforward.h:116
AW_window
Definition:
aw_window.hxx:245
AW_ADVICE_HELP
Definition:
aw_advice.hxx:27
AW_ADVICE_SIMPLE
Definition:
aw_advice.hxx:25
init_Advisor
void init_Advisor(AW_root *awr)
has to be called one time (before calling AW_advice)
Definition:
AW_advice.cxx:41
Generated by
1.8.8