This reference page is linked to from the following overview topics: Handling Requests for Interfaces, The FPInterface Class Hierarchy, Property Accessors, Symbolic Enumerations.
#include <ifnpub.h>
Public Member Functions |
|
CoreExport | FPInterfaceDesc () |
CoreExport | FPInterfaceDesc (Interface_ID id, MCHAR *int_name, StringResID descr, ClassDesc *cd, ULONG flag,...) |
CoreExport | ~FPInterfaceDesc () |
virtual void | Init () |
LifetimeType | LifetimeControl () |
virtual BaseInterface * | GetInterface (Interface_ID id) |
CoreExport void | LoadDescriptor (Interface_ID id, MCHAR *int_name, StringResID descr, ClassDesc *cd, ULONG flag,...) |
CoreExport void | AppendFunction (int id,...) |
Add a new function to this interface
descriptor. |
|
CoreExport void | AppendProperty (int id,...) |
Add a new property to this interface
descriptor. |
|
CoreExport void | AppendEnum (int id,...) |
Add a new enum to this interface descriptor.
|
|
CoreExport void | SetClassDesc (ClassDesc *i_cd) |
CoreExport va_list | check_fn (va_list ap, int id) |
CoreExport va_list | scan_fn (va_list ap, int id, int index) |
CoreExport va_list | check_prop (va_list ap, int id) |
CoreExport va_list | scan_prop (va_list ap, int id, int index) |
CoreExport va_list | check_enum (va_list ap, EnumID id) |
CoreExport va_list | scan_enum (va_list ap, EnumID id, int index) |
FPInterfaceDesc * | GetDesc () |
Interface_ID | GetID () |
CoreExport FPFunctionDef * | GetFnDef (FunctionID fid) |
ActionTable * | GetActionTable () |
CoreExport void | EnableActions (BOOL onOff) |
virtual CoreExport HINSTANCE | HInstance () |
virtual CoreExport MCHAR * | GetRsrcString (StringResID id) |
Public Attributes |
|
Interface_ID | ID |
MSTR | internal_name |
StringResID | description |
ClassDesc * | cd |
USHORT | flags |
Tab< FPFunctionDef * > | functions |
Tab< FPPropDef * > | props |
Tab< FPEnum * > | enumerations |
MSPluginClass * | pc |
Rollout * | rollout |
ActionTable * | action_table |
Protected Member Functions |
|
CoreExport void | load_descriptor (Interface_ID id, MCHAR *int_name, StringResID descr, ClassDesc *cd, USHORT flag, va_list ap) |
CoreExport FPInterfaceDesc | ( | ) | [inline] |
{ }
CoreExport FPInterfaceDesc | ( | Interface_ID | id, |
MCHAR * | int_name, | ||
StringResID | descr, | ||
ClassDesc * | cd, | ||
ULONG | flag, | ||
... | |||
) |
CoreExport ~FPInterfaceDesc | ( | ) |
CoreExport void load_descriptor | ( | Interface_ID | id, |
MCHAR * | int_name, | ||
StringResID | descr, | ||
ClassDesc * | cd, | ||
USHORT | flag, | ||
va_list | ap | ||
) | [protected] |
virtual void Init | ( | ) | [inline, virtual] |
{ }
LifetimeType LifetimeControl | ( | ) | [inline, virtual] |
Reimplemented from BaseInterface.
{ return noRelease; }
virtual BaseInterface* GetInterface | ( | Interface_ID | id | ) | [inline, virtual] |
Reimplemented from FPInterface.
Reimplemented in Interface.
{ if (id == FPINTERFACEDESC_ID) return this; else return FPInterface::GetInterface(id); }
CoreExport void LoadDescriptor | ( | Interface_ID | id, |
MCHAR * | int_name, | ||
StringResID | descr, | ||
ClassDesc * | cd, | ||
ULONG | flag, | ||
... | |||
) |
CoreExport void AppendFunction | ( | int | id, |
... | |||
) |
Add a new function to this interface descriptor.
Uses the same parameter syntax as LoadDescriptor and the
Constructor. Note that it is mandatory to mark the end of the
variable arguments list with end
. Failure to do so
will result in undefined behaviour.
CoreExport void AppendProperty | ( | int | id, |
... | |||
) |
Add a new property to this interface descriptor.
Uses the same parameter syntax as LoadDescriptor and the
Constructor. Note that it is mandatory to mark the end of the
variable arguments list with end
. Failure to do so
will result in undefined behaviour.
CoreExport void AppendEnum | ( | int | id, |
... | |||
) |
Add a new enum to this interface descriptor.
Uses the same parameter syntax as LoadDescriptor and the
Constructor. Note that it is mandatory to mark the end of the
variable arguments list with end
. Failure to do so
will result in undefined behaviour.
CoreExport void SetClassDesc | ( | ClassDesc * | i_cd | ) |
CoreExport va_list check_fn | ( | va_list | ap, |
int | id | ||
) |
CoreExport va_list scan_fn | ( | va_list | ap, |
int | id, | ||
int | index | ||
) |
CoreExport va_list check_prop | ( | va_list | ap, |
int | id | ||
) |
CoreExport va_list scan_prop | ( | va_list | ap, |
int | id, | ||
int | index | ||
) |
CoreExport va_list check_enum | ( | va_list | ap, |
EnumID | id | ||
) |
CoreExport va_list scan_enum | ( | va_list | ap, |
EnumID | id, | ||
int | index | ||
) |
FPInterfaceDesc* GetDesc | ( | ) | [inline, virtual] |
Implements FPInterface.
{ return this; }
Interface_ID GetID | ( | ) | [inline, virtual] |
Reimplemented from BaseInterface.
{ return ID; }
CoreExport FPFunctionDef* GetFnDef | ( | FunctionID | fid | ) |
ActionTable* GetActionTable | ( | ) | [inline, virtual] |
Reimplemented from FPInterface.
{ return action_table; }
CoreExport void EnableActions | ( | BOOL | onOff | ) | [virtual] |
Reimplemented from FPInterface.
virtual CoreExport HINSTANCE HInstance | ( | ) | [virtual] |
Reimplemented in MSPluginDesc.
virtual CoreExport MCHAR* GetRsrcString | ( | StringResID | id | ) | [virtual] |
Reimplemented in MSPluginDesc.
StringResID description |
USHORT flags |
MSPluginClass* pc |
Reimplemented in MSPluginDesc.
Rollout* rollout |