aboutsummaryrefslogtreecommitdiffstats
path: root/typedatabase.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-08-24 17:54:56 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:19 -0300
commitdfd0bc442d5f3c04d03ee23606b399ed18d304f7 (patch)
tree820d4a362b785918b54b2a85667b715727cc7cf5 /typedatabase.h
parenteef4208e789cff36e5f6a40a49a239d6461f8683 (diff)
Implement getTypeIndex function for types no generated types and primitive types.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'typedatabase.h')
-rw-r--r--typedatabase.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/typedatabase.h b/typedatabase.h
index 8c735c1c1..229da082a 100644
--- a/typedatabase.h
+++ b/typedatabase.h
@@ -30,7 +30,9 @@
APIEXTRACTOR_API void setTypeRevision(TypeEntry* typeEntry, int revision);
APIEXTRACTOR_API int getTypeRevision(const TypeEntry* typeEntry);
APIEXTRACTOR_API int getTypeIndex(const TypeEntry* typeEntry);
-APIEXTRACTOR_API int getMaxTypeIndex();
+APIEXTRACTOR_API APIEXTRACTOR_DEPRECATED(int getMaxTypeIndex());
+APIEXTRACTOR_API int getMaxTypeIndex(const QString& packageName);
+APIEXTRACTOR_API int getMaxPrimitiveTypeIndex(const QString& packageName);
class ContainerTypeEntry;
class PrimitiveTypeEntry;