fbapplymanagerrule.h File Reference

Derive new Apply Manager Rules using the FBApplyManagerRule class. More...

#include <kaydaradef.h>
#include <fbsdk/fbcomponent.h>

Go to the source code of this file.

Classes

class  FBApplyManagerRule
 ApplyManagerRules are used to define custom rules for manipulating custom objects. More...
class  FBAMMenu
 Context menu. More...

Defines

#define FBSDK_DLL   K_DLLIMPORT
 Be sure that FBSDK_DLL is defined only once...
#define FBRegisterApplyManagerRule(ClassName, Label, Description)
 Filter class registration.
#define FBApplyManagerRuleDeclare(ClassName, Parent)
 Apply Manager Rule class declaration.
#define FBApplyManagerRuleImplementation(ThisComponent)   FBClassImplementation( ThisComponent )
 ApplyManagerRule class implementation.

Functions

 __FB_FORWARD (FBApplyManagerRule)
 __FB_FORWARD (FBAMMenu)
 FB_DEFINE_COMPONENT (FBSDK_DLL, ApplyManagerRule)

Detailed Description

Derive new Apply Manager Rules using the FBApplyManagerRule class.

Define the custom rule to manipulate objects for varous operations.

Definition in file fbapplymanagerrule.h.


Define Documentation

#define FBSDK_DLL   K_DLLIMPORT

Be sure that FBSDK_DLL is defined only once...

Definition at line 49 of file fbapplymanagerrule.h.

#define FBRegisterApplyManagerRule (   ClassName,
  Label,
  Description 
)
Value:
HIObject RegisterApplyManagerRule##ClassName( HIObject pOwner,const char * /*pName*/,void * /*pData*/) \
    { \
    ClassName *Class = new ClassName( ); \
    if (Class->FBCreate()) { \
    return Class->GetHIObject(); \
    } else { \
    delete Class; \
    return NULL; \
    } \
    } \
    FBLibraryModule( ClassName )    \
    {    \
    FBRegisterObject( ClassName,"Browsing/Apply",Label,Description,RegisterApplyManagerRule##ClassName,false, NULL );    \
    }

Filter class registration.

Parameters:
ClassNameFilter class name.
LabelShort description.
DescriptionLong description.

Definition at line 68 of file fbapplymanagerrule.h.

#define FBApplyManagerRuleDeclare (   ClassName,
  Parent 
)
Value:
FBClassDeclare( ClassName,Parent); \
public: \
    ClassName( HIObject pO = NULL ):Parent(pO) { FBClassInit; } \
private:

Apply Manager Rule class declaration.

Parameters:
ClassNameApplyManagerRule class name.
ParentParent class name.

Definition at line 88 of file fbapplymanagerrule.h.

#define FBApplyManagerRuleImplementation (   ThisComponent)    FBClassImplementation( ThisComponent )

ApplyManagerRule class implementation.

Parameters:
ThisComponentClass to implement.

Definition at line 97 of file fbapplymanagerrule.h.


Function Documentation

FB_DEFINE_COMPONENT ( FBSDK_DLL  ,
ApplyManagerRule   
)