OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Application registration manager interface class. More...
#include <ocf/ocreg.h>
Public Member Functions | |
TRegistrar (owl::TRegList ®Info, TComponentFactory callback, owl::tstring &cmdLine, owl::TModule *module=&owl::GetGlobalModule()) | |
virtual | ~TRegistrar () |
TUnknown * | CreateAutoApp (TObjectDescriptor app, owl::uint32 options, IUnknown *outer=0) |
void | ReleaseAutoApp (TObjectDescriptor app) |
TUnknown * | CreateAutoObject (TObjectDescriptor doc, TServedObject &app, IUnknown *outer=0) |
TUnknown * | CreateAutoObject (const void *obj, const std::type_info &objInfo, const void *app, const std::type_info &appInfo, IUnknown *outer=0) |
virtual void * | GetFactory (const GUID &clsid, const GUID &iid) |
virtual bool | CanUnload () |
virtual int | Run () |
virtual void | Shutdown (IUnknown *releasedObj, owl::uint32 options) |
void | RegisterAppClass () |
void | UnregisterAppClass () |
bool | IsOptionSet (owl::uint32 option) const |
owl::uint32 | GetOptions () const |
void | SetOption (owl::uint32 bit, bool state) |
void | ProcessCmdLine (owl::tstring &cmdLine) |
TAppDescriptor & | GetAppDescriptor () |
Static Public Member Functions | |
static TRegistrar * | GetNext (TRegistrar *reg) |
Protected Member Functions | |
TRegistrar (TAppDescriptor &appDesc) | |
Protected Attributes | |
TAppDescriptor & | AppDesc |
ocf::TRegistrar::TRegistrar | ( | owl::TRegList & | regInfo, |
TComponentFactory | callback, | ||
owl::tstring & | cmdLine, | ||
owl::TModule * | module = & owl::GetGlobalModule() ) |
|
virtual |
|
protected |
|
virtual |
Reimplemented in ocf::TOcRegistrar.
Definition at line 439 of file ocreg.cpp.
References AppDesc, and ocf::TAppDescriptor::IsBound().
|
inline |
Definition at line 292 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::CreateAutoApp().
|
inline |
Definition at line 317 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::CreateAutoObject().
|
inline |
Definition at line 308 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::CreateAutoObject().
|
inline |
Reimplemented in ocf::TOcRegistrar.
Definition at line 427 of file ocreg.cpp.
References ocf::TAppDescriptor::AppClassId, and AppDesc.
|
static |
|
inline |
Definition at line 350 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::GetOptions().
|
inline |
Definition at line 343 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::IsOptionSet().
|
inline |
Definition at line 365 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::ProcessCmdLine().
|
inline |
Definition at line 327 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::RegisterClass().
|
inline |
Definition at line 300 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::ReleaseAutoApp().
|
virtual |
Definition at line 447 of file ocreg.cpp.
References ocf::amAutomation, ocf::amExeModule, ocf::amRun, ocf::amServedApp, ocf::amShutdown, AppDesc, ocf::TAppDescriptor::GetFactory(), GetOptions(), ocf::TAppDescriptor::IsAutomated(), IsOptionSet(), and RegisterAppClass().
|
inline |
Definition at line 357 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::SetOption().
|
virtual |
Definition at line 469 of file ocreg.cpp.
References ocf::amShutdown, AppDesc, and ocf::TAppDescriptor::GetFactory().
|
inline |
Definition at line 335 of file ocreg.h.
References AppDesc, and ocf::TAppDescriptor::UnregisterClass().
|
protected |