aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-10-20 17:38:32 -0200
committerLuciano Miguel Wolf <luciano.wolf@indt.org.br>2009-10-21 16:34:20 -0300
commit071233773dd5a4f3ccacebf77f2102780a9dc624 (patch)
treef441d12177b63d9f634e12edb4bed9341f6d5e84 /abstractmetabuilder.h
parent73f6ac4faafed5c8c275ff01a22a53bfbc7fc515 (diff)
Added support for add-function tag into typesystem.
Diffstat (limited to 'abstractmetabuilder.h')
-rw-r--r--abstractmetabuilder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/abstractmetabuilder.h b/abstractmetabuilder.h
index 1b66ac5a..18ee7436 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);