menuops.cpp File Reference

(r1785/r1739)

#include "camtypes.h"
#include "camelot.h"
#include "camdoc.h"
#include "menuops.h"
#include "menucmds.h"
#include "toollist.h"
#include "helpids.h"
#include "bubbleid.h"
#include "dlgmgr.h"
#include "combshps.h"
#include "shapeops.h"
#include "csrstack.h"
#include "progress.h"
#include "sgliboil.h"
#include "fileutil.h"
#include "product.h"
#include "tmplmngr.h"

Go to the source code of this file.

Defines

#define E_XM_CONNECTCANCELLED   ( 0x80041000 )
#define INC_WEB_MENU_ITEMS
#define DUMMYOP(TEXT, TOKEN)
 MACRO Construct an OpDescriptor for a menu item which does not do anything. I.E. It's just a way of creating menu items before they have any Operations to connect to...
#define REGOP(MENU, NAME, OPCLASS)
 MACRO DON'T USE THIS MACRO! Use either BTNOP or CTRLOP from opdesc.h instead. Construct a complete OpDescriptor given three simple parameters. The parameters are used to build all the various resource IDs required by the call to RegisterOpDescriptor. Each use of this macro replaces the following code;.
#define new   CAM_DEBUG_NEW
#define HID_HELP_TOOLS   (0)
 Create OpDescriptors for the each file operation.
#define HID_HELP_GALLERIES   (0)
#define HID_HELP_DEMOS   (0)
#define HID_HELP_PLAYER   (0)
#define HID_HELP_TECHSUPPORT   (0)

Functions

 PORTNOTE ("other","OpRegister removed use of DATE type")


Define Documentation

#define DUMMYOP TEXT,
TOKEN   ) 
 

Value:

{\
    BOOL blobby = RegisterOpDescriptor(\
                                        0,\
                                        TEXT,\
                                        CC_RUNTIME_CLASS(DummyOp),\
                                        TOKEN,\
                                        DummyOp::GetState,\
                                        0,      /* help ID */\
                                        0,  /* bubble help ID */\
                                        0,      /* resource ID */\
                                        0       /* control ID */\
                                        );\
    ERRORIF(!blobby, _R(IDE_NOMORE_MEMORY), FALSE);\
    }
MACRO Construct an OpDescriptor for a menu item which does not do anything. I.E. It's just a way of creating menu items before they have any Operations to connect to...

Author:
Phil_Martin (Xara Group Ltd) <camelotdev@xara.com>
Date:
29/03/94

Definition at line 200 of file menuops.cpp.

#define E_XM_CONNECTCANCELLED   ( 0x80041000 )
 

menuops.cpp - This module provides a set of menu Operation classes which are used in the OIL Menu Module when the Menu System is being built.

Definition at line 113 of file menuops.cpp.

#define HID_HELP_DEMOS   (0)
 

Definition at line 1382 of file menuops.cpp.

#define HID_HELP_GALLERIES   (0)
 

Definition at line 1381 of file menuops.cpp.

#define HID_HELP_PLAYER   (0)
 

Definition at line 1383 of file menuops.cpp.

#define HID_HELP_TECHSUPPORT   (0)
 

Definition at line 1384 of file menuops.cpp.

#define HID_HELP_TOOLS   (0)
 

Create OpDescriptors for the each file operation.

Author:
Mario_Shamtani (Xara Group Ltd) <camelotdev@xara.com>
Date:
11/8/93
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 1380 of file menuops.cpp.

#define INC_WEB_MENU_ITEMS
 

Definition at line 175 of file menuops.cpp.

#define new   CAM_DEBUG_NEW
 

Definition at line 285 of file menuops.cpp.

#define REGOP MENU,
NAME,
OPCLASS   ) 
 

Value:

{\
        BOOL Blobby = RegisterOpDescriptor(\
                        0,\
                        _R(IDS_ ## MENU ## _ ## NAME),      /*NORESOURCEFIX*/ \
                        CC_RUNTIME_CLASS(OPCLASS),\
                        OPTOKEN_ ## MENU ## NAME,\
                        OPCLASS::GetState,\
                        HID_ ## MENU ## _ ## NAME,\
                        _R(IDBBL_ ## MENU ## NAME ## OP),   /*NORESOURCEFIX*/ \
                        _R(IDD_BARCONTROLSTORE),\
                        _R(IDC_BTN_ ## MENU ## NAME)        /*NORESOURCEFIX*/,\
                        SYSTEMBAR_ ## MENU,\
                        TRUE\
                      );\
        ERRORIF(!Blobby, _R(IDE_NOMORE_MEMORY), FALSE);\
    }
MACRO DON'T USE THIS MACRO! Use either BTNOP or CTRLOP from opdesc.h instead. Construct a complete OpDescriptor given three simple parameters. The parameters are used to build all the various resource IDs required by the call to RegisterOpDescriptor. Each use of this macro replaces the following code;.

Author:
Phil_Martin (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/04/94
BOOL Blobby = RegisterOpDescriptor( 0, _R(IDS_FILE_OPEN), CC_RUNTIME_CLASS(DocOps), OPTOKEN_FILEOPEN, DocOps::GetState, HID_FILE_OPEN, _R(IDBBL_FILEOPENOP), _R(IDD_BARCONTROLSTORE), _R(IDC_BTN_FILEOPEN), SYSTEMBAR_FILE, TRUE // ReceiveMessages ); ERRORIF(!Blobby, _R(IDE_NOMORE_MEMORY), FALSE);
See also:
BTNOP, CTRLOP

Definition at line 249 of file menuops.cpp.


Function Documentation

PORTNOTE "other"  ,
"OpRegister removed use of DATE type
 


Generated on Sat Nov 10 03:49:14 2007 for Camelot by  doxygen 1.4.4