fbsdk/fbapplymanagerrule.h File Reference
 
 
 
fbsdk/fbapplymanagerrule.h File Reference
#include <kaydaradef.h>
#include <fbsdk/fbcomponent.h>

File 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.

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 (K_DLLIMPORT, ApplyManagerRule)

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:
ClassName Filter class name.
Label Short description.
Description Long 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:
ClassName ApplyManagerRule class name.
Parent Parent class name.

Definition at line 88 of file fbapplymanagerrule.h.

#define FBApplyManagerRuleImplementation (   ThisComponent )    FBClassImplementation( ThisComponent )

ApplyManagerRule class implementation.

Parameters:
ThisComponent Class to implement.

Definition at line 97 of file fbapplymanagerrule.h.


Function Documentation

FB_DEFINE_COMPONENT ( K_DLLIMPORT  ,
ApplyManagerRule   
)

Go to the source code of this file.