67 lines
3.1 KiB
C++
67 lines
3.1 KiB
C++
#ifndef _SET_BBS_H_
|
|
#define _SET_BBS_H_
|
|
|
|
#include "SelectionSetParam.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// fill behavior declaration
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
CKObjectDeclaration* FillBehaviorGetSelectionSets();
|
|
CKObjectDeclaration* FillBehaviorLoadSelectionSet();
|
|
CKObjectDeclaration* FillBehaviorSaveSelectionSet();
|
|
CKObjectDeclaration* FillBehaviorUnloadSelectionSet();
|
|
CKObjectDeclaration* FillBehaviorDeleteSelectionSet();
|
|
CKObjectDeclaration* FillBehaviorGetSelectionSetProperties();
|
|
CKObjectDeclaration* FillBehaviorSetSelectionSetProperties();
|
|
//CKObjectDeclaration* FillBehaviorAddToSelectionSet();
|
|
//CKObjectDeclaration* FillBehaviorRemoveFromSelectionSet();
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// generic callback for BBS
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
class SelectionSetManager;
|
|
#define TargetableSelectionSetBBCallBack NULL
|
|
//CKERROR TargetableSelectionSetBBCallBack(const CKBehaviorContext& behcontext);
|
|
//i keep it just in case but should not be used
|
|
//CKGroup* GetSetTarget(CKBehavior* beh,SelectionSetManager* setmgr,BOOL& oByName);
|
|
//use macro instead
|
|
#define GetSetTarget() setmgr->CheckIsSelectionSet(beh->GetInputParameterObject(0))
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// guids & defines & common strings
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#define BBFLAGS (CK_BEHAVIOR_FLAGS)CKBEHAVIOR_INTERNALLYCREATEDINPUTPARAMS
|
|
|
|
//guid for parameter used for flag for Set/Get Properties (to show/hide specific outputs)
|
|
#define PARAMGUID_SETPROPERTIES CKGUID(0x63bd7aed,0x3f481301)
|
|
|
|
#define BBGUID_GETSELECTIONSETS CKGUID(0x10992f76,0x644c1c7f)
|
|
#define BBGUID_LOADSELECTIONSET CKGUID(0x1f660431,0x7614537a)
|
|
#define BBGUID_SAVESELECTIONSET CKGUID(0x387e4e3f,0x2a024eee)
|
|
#define BBGUID_UNLOADSELECTIONSET CKGUID(0x2a864730,0x493a18c4)
|
|
#define BBGUID_DELETESELECTIONSET CKGUID(0x42483a78,0x60b52ded)
|
|
#define BBGUID_SETSELECTIONSETPROPERTIES CKGUID(0x1d9e2a68,0x600a2fbd)
|
|
#define BBGUID_GETSELECTIONSETPROPERTIES CKGUID(0x70424bb7,0x41b841ec)
|
|
//#define BBGUID_ADDTOSETSELECTION CKGUID(0x18ca0be9,0x364f173d)
|
|
//#define BBGUID_REMOVEFROMSETSELECTION CKGUID(0x258f2cc5,0x4d5c611e)
|
|
|
|
#define NAME_GETSELECTIONSETS "Get Selection Sets"
|
|
#define NAME_LOADSELECTIONSET "Load Selection Set"
|
|
#define NAME_SAVESELECTIONSET "Save Selection Set"
|
|
#define NAME_UNLOADSELECTIONSET "Unload Selection Set"
|
|
#define NAME_DELETESELECTIONSET "Delete Selection Set"
|
|
#define NAME_SETSELECTIONSETPROPERTIES "Set Selection Set Properties"
|
|
#define NAME_GETSELECTIONSETPROPERTIES "Get Selection Set Properties"
|
|
//#define NAME_ADDTOSETSELECTION "Add to Selection Set"
|
|
//#define NAME_REMOVEFROMSETSELECTION "Remove from Selection Set"
|
|
|
|
#define STR_SELECTIONSET "SelectionSet"
|
|
#define STR_SELECTIONSETNAME "SelectionSet Name"
|
|
#define STR_SELECTIONSETPATH "SelectionSet Path"
|
|
#define STR_BYNAME "By name"
|
|
#define STR_BYPATH "By Path"
|
|
|
|
#endif |