From 071233773dd5a4f3ccacebf77f2102780a9dc624 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Tue, 20 Oct 2009 17:38:32 -0200 Subject: Added support for add-function tag into typesystem. --- abstractmetabuilder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'abstractmetabuilder.h') diff --git a/abstractmetabuilder.h b/abstractmetabuilder.h index 1b66ac5a9..18ee74365 100644 --- a/abstractmetabuilder.h +++ b/abstractmetabuilder.h @@ -105,6 +105,7 @@ public: void traverseFields(ScopeModelItem item, AbstractMetaClass *parent); void traverseStreamOperator(FunctionModelItem functionItem); void traverseOperatorFunction(FunctionModelItem item); + AbstractMetaFunction *traverseFunction(const AddedFunction& addedFunc); AbstractMetaFunction *traverseFunction(FunctionModelItem function); AbstractMetaField *traverseField(VariableModelItem field, const AbstractMetaClass *cls); void checkFunctionModifications(); @@ -120,6 +121,7 @@ public: QString fixDefaultValue(ArgumentModelItem item, AbstractMetaType *type, AbstractMetaFunction *fnc, AbstractMetaClass *, int argumentIndex); + AbstractMetaType* translateType(const AddedFunction::TypeInfo& typeInfo); AbstractMetaType *translateType(const TypeInfo &type, bool *ok, bool resolveType = true, bool resolveScope = true); void decideUsagePattern(AbstractMetaType *type); -- cgit v1.2.3