AboutDlg Class Reference

The about dialogue shows information on the Camelot program version number and details on the environment in which Camelot is executing. More...

#include <aboutdlg.h>

Inheritance diagram for AboutDlg:

Operation MessageHandler ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 AboutDlg ()
 AboutDlg (About Camelot dialogue) constructor.
 ~AboutDlg ()
void Do (OpDescriptor *)
 Creates and shows an About Dialog.

Static Public Member Functions

static BOOL Init ()
 Creates an OpDescriptor for an About dialog.
static OpState GetState (String_256 *, OpDescriptor *)
 Returns the OpState of the About Dialogue operation.

Detailed Description

The about dialogue shows information on the Camelot program version number and details on the environment in which Camelot is executing.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
02/02/94
See also:
-

Definition at line 149 of file aboutdlg.h.


Constructor & Destructor Documentation

AboutDlg::AboutDlg  ) 
 

AboutDlg (About Camelot dialogue) constructor.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
02/02/94
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 188 of file aboutdlg.cpp.

00189 {   
00190 }

AboutDlg::~AboutDlg  ) 
 

Definition at line 192 of file aboutdlg.cpp.

00193 {   
00194 }


Member Function Documentation

void AboutDlg::Do OpDescriptor  )  [virtual]
 

Creates and shows an About Dialog.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
02/02/94
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Reimplemented from Operation.

Definition at line 428 of file aboutdlg.cpp.

00429 {
00430 #if defined(DIALOGOP_ABOUT_BOX)
00431     Create();
00432     Open();
00433 #else   
00434     CCamApp::DoAboutBox();
00435     End();
00436 #endif
00437 }

OpState AboutDlg::GetState String_256 ,
OpDescriptor
[static]
 

Returns the OpState of the About Dialogue operation.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
02/02/94
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 338 of file aboutdlg.cpp.

00339 {    
00340     OpState OpSt;
00341     OpSt.Greyed = false;
00342     
00343     return(OpSt);
00344 }

BOOL AboutDlg::Init void   )  [static]
 

Creates an OpDescriptor for an About dialog.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
02/02/94
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
FALSE if it fails (due to lack of memory)

Errors: -

See also:
-

Reimplemented from SimpleCCObject.

Definition at line 361 of file aboutdlg.cpp.

00362 {  
00363     return (RegisterOpDescriptor(
00364                                 0,
00365                                 _R(IDS_ABOUTDLG2), 
00366                                 CC_RUNTIME_CLASS(AboutDlg),
00367                                 OPTOKEN_ABOUTDLG,
00368                                 AboutDlg::GetState,
00369                                 0,  /* help ID */
00370                                 _R(IDBBL_ABOUTDLG),
00371                                 0,
00372                                 0,  /* bitmap ID */
00373                                 SYSTEMBAR_ILLEGAL,              // Bar ID
00374                                 FALSE,                          // Recieve system messages
00375                                 FALSE,                          // Smart duplicate operation
00376                                 TRUE,                           // Clean operation
00377                                 0,                              // No vertical counterpart
00378                                 _R(IDS_BARSINFO_ONE)                // String for one copy only
00379                                 ));
00380 
00381 }   


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:49:47 2007 for Camelot by  doxygen 1.4.4