18TAutoType TAutoVoid ::ClassInfo = {
atVoid};
19TAutoType TAutoByte ::ClassInfo = {
atByte};
20TAutoType TAutoShort ::ClassInfo = {
atShort};
21TAutoType TAutoLong ::ClassInfo = {
atLong};
22TAutoType TAutoFloat ::ClassInfo = {
atFloat};
23TAutoType TAutoDouble ::ClassInfo = {
atDouble};
24TAutoType TAutoCurrency ::ClassInfo = {
atCurrency};
26TAutoType TAutoString ::ClassInfo = {
atString};
27TAutoType TAutoBool ::ClassInfo = {
atBool};
28TAutoType TAutoUnknown ::ClassInfo = {
atUnknown};
29TAutoType TAutoDispatch ::ClassInfo = {
atObject};
30TAutoType TAutoVariant ::ClassInfo = {
atVariant};
31TAutoType TAutoSafeArray ::ClassInfo = {
atSafeArray};
62 NextClass = ClassList.List;
63 ClassList.List =
this;
93 sym->SymCount =
cls->CountCommands();
126 sym->SymCount =
sym->GetClass()->CountCommands();
136 if (
sym->DispId == -1)
165 sym->SymCount =
cls->CountCommands();
195 sym->SymCount =
cls->CountCommands();
230 sym->SymCount =
cls->CountCommands();
263 if (
args.Symbol->IsIterator()) {
267 *
retval = (IUnknown*)*iterator;
276 if ((
args.ErrorCode =
cmdobj->Report()) != 0) {
279 args.ErrorMsg =
args.Symbol->Name.Translate(
args.LangId);
285 if (
args.Symbol->IsEnum())
305 return xobj.ErrorCode;
310TAutoClass::TExtLink::TExtLink(TClassList* list,
HINSTANCE module)
311 : Classes(list),
Module(module), Next(0)
313 for (Prev = &ClassList.Link; *Prev; Prev = &(*Prev)->Next)
317TAutoClass::TExtLink::~TExtLink()
328TAutoClass::TClassList::CountAutoClasses()
332 count +=
link->Classes->CountAutoClasses();
339TAutoClass::TAutoClassRef*
340TAutoClass::TClassList::MergeAutoClasses(TAutoClass::TAutoClassRef* array)
345 array =
link->Classes->MergeAutoClasses(array);
367 if (
owner.Creator.GetAppDesc().IsActiveObject(&
owner))
368 owner.Creator.GetAppDesc().UnregisterObject();
373 owner.RootObject = 0;
380#if defined(BI_COMP_BORLANDC)
396#if defined(__clang__)
398#elif defined(BI_COMP_BORLANDC)
418#if defined(BI_COMP_BORLANDC) && !defined(__clang__)
TAppDescriptor - OLE application descriptor definitions.
#define PRECONDITION(condition)
short CommandCount
command count including bases, 0 if uncounted
TAutoSymbol * Lookup(TCHAR *name, owl::TLangId lang, short symFlags, long &id)
bool AutoIds
generate ID's automatically if true (default)
TAutoSymbol * FindVariable(unsigned index, MEMBERID &retId)
friend struct TExtLink
access to ClassList
TXAuto::TError Dispatch(ObjectPtr obj, TAutoCreator &creator, TUnknown &owner, int attr, TAutoStack &args, TAutoVal *retval)
TAutoClass(TAutoSymbol *table, TAutoSymbol *classSymbol, const std::type_info &typeInfo, TAggregator aggregator=0)
friend struct TClassList
access to TAutoClassRef
TAutoSymbol * Table
pointer to array of symbol entries
short VariableCount
number of symbols exposed as typelib variables
TAutoSymbol * FindFunction(unsigned index, MEMBERID &retId)
TAutoSymbol * LookupArg(TCHAR *name, owl::TLangId lang, TAutoSymbol *cmd, long &retid)
TAutoSymbol * FindId(long id, ObjectPtr &objptr)
short FunctionCount
number of symbols exposed as typelib functions
short GetArgCount(TAutoSymbol &sym)
Automation abstract base class for command objects.
static LPCTSTR LookupError(long errCode)
LPCTSTR(* TErrorMsgHook)(long errCode)
bool(* TCommandHook)(TAutoCommand &cmdObj)
Object responsible for creating automation COM object.
automation collection iterator
void SetSymbol(TAutoSymbol *sym)
Automation argument stack abstraction.
Automation data element (same data as OLE/BASIC VARIANT)
OLE object exposed for automated access of internal object.
Standard implementation of a controlling IUnknown for an object, to be inherited with other COM inter...
Automation exception object.
Include for OC, gets common headers when precompiled headers are enabled.
Object Component Framework (COM encapsulation)
IUnknown &(* TAggregator)(ObjectPtr obj, TUnknown &inner)
const void * MostDerived(const void *obj, const std::type_info &src)
const owl::uint16 atAutoClass
const owl::uint16 atSafeArray
@ asClass
extension to another class symbol table
@ asGetSet
can get or set property(...GET + ...SET)
@ asOleType
method or property exposed for OLE
@ asAnyCommand
any command: method, property get/set, build
@ asArgument
property returning an object
const void * DynamicCast(const void *obj, const std::type_info &src, const std::type_info &dst)
TAutoCommand * AutoQuitBuild(ObjectPtr obj, int attr, TAutoStack &args)
const owl::uint16 atByRef
TAppDescriptor * GetAppDescriptor()
void SendObituary(const void *obj, const std::type_info &typeInfo)
Object Windows Library (OWLNext Core)
owl::uint16 TLangId
Holds a language ID, a predefined number that represents a base language and dialect.
Definition of TOcControl class - Proxy object representing a control in.
OLE Registration definitions.
static TAutoType ClassInfo
@ Quiet
behavior when an automation helper is freed