#include <gr_Control.h>
List of all members.
Public Member Functions |
virtual | ~GR_ControlFactory () |
virtual UT_Error | newControlForMimeType (AV_View *pControllingView, XAP_Frame *pOwningFrame, const char *pszMime, GR_Control **pCtlOut)=0 |
virtual UT_Error | newControlForExtension (AV_View *pControllingView, XAP_Frame *pOwningFrame, const char *pszExt, GR_Control **pCtlOut)=0 |
virtual UT_Error | newControlForData (AV_View *pControllingView, XAP_Frame *pOwningFrame, const UT_Byte *pData, UT_uint32 dataLen, GR_Control **pCtlOut)=0 |
UT_Error | newControlForData (AV_View *pControllingView, XAP_Frame *pOwningFrame, const UT_Bytebuf *pData, GR_Control **pCtlOut) |
Static Public Member Functions |
static GR_ControlFactory * | instance () |
Protected Member Functions |
| GR_ControlFactory () |
Private Member Functions |
void | operator delete (GR_ControlFactory *) |
| GR_ControlFactory (const GR_ControlFactory &) |
GR_ControlFactory & | operator= (const GR_ControlFactory &) |
Detailed Description
GR_ControlFactory - the base class for OLE/Bonobo based embeddable controls
Constructor & Destructor Documentation
virtual GR_ControlFactory::~GR_ControlFactory |
( |
|
) |
[inline, virtual] |
Virtual public base d'tor
GR_ControlFactory::GR_ControlFactory |
( |
|
) |
[inline, protected] |
Abstract base constructor for all control factories
Member Function Documentation
Get the current instance of this control factory
Create a new control that can handle objects of this data type NB: does *not* necessarily populate the control with your data
Create a new control that can handle objects of this data type NB: does *not* necessarily populate the control with your data
virtual UT_Error GR_ControlFactory::newControlForExtension |
( |
AV_View * |
pControllingView, |
|
|
XAP_Frame * |
pOwningFrame, |
|
|
const char * |
pszExt, |
|
|
GR_Control ** |
pCtlOut | |
|
) |
| | [pure virtual] |
Create a new control to handle objects with this extension
virtual UT_Error GR_ControlFactory::newControlForMimeType |
( |
AV_View * |
pControllingView, |
|
|
XAP_Frame * |
pOwningFrame, |
|
|
const char * |
pszMime, |
|
|
GR_Control ** |
pCtlOut | |
|
) |
| | [pure virtual] |
Create a new control to handle objects of this mime-type
The documentation for this class was generated from the following file: