miscellaneous/command_template/orcommand_template_command.cxx
#include "orcommand_template_command.h"
#define ORCOMMANDTEMPLATE__CLASS ORCOMMANDTEMPLATE__CLASSNAME
#define ORCOMMANDTEMPLATE__NAME ORCOMMANDTEMPLATE__CLASSSTR
#define ORCOMMANDTEMPLATE__LABEL "OR - Command Template"
#define ORCOMMANDTEMPLATE__DESC "OR - Command Template Description"
ORCOMMANDTEMPLATE__CLASS,
ORCOMMANDTEMPLATE__LABEL,
ORCOMMANDTEMPLATE__DESC,
bool ORCommand_Template::FBCreate()
{
return true;
}
void ORCommand_Template::FBDestroy()
{
}
void ORCommand_Template::ExecuteNotify()
{
FBModelMarker* lMarker =
NULL;
lMarker = new FBModelMarker("Command Model");
lMarker->Show = true;
}
void ORCommand_Template::DragAndDropClearNotify()
{
}
void ORCommand_Template::DragAndDropAddNotify( FBComponent* pComponent )
{
if( pComponent->Is( FBModel::TypeInfo ) )
{
lModel = (FBModel*) pComponent;
}
if( lModel )
{
}
}