aboutsummaryrefslogtreecommitdiffstats
path: root/shibokengenerator.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-03-02 11:27:26 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-03-02 14:44:59 -0300
commitea999da07ab6d244ffb982d7a3c86da1a8976f44 (patch)
treec1625daa690150f9178c3ce07161d362fc35c334 /shibokengenerator.h
parentcaa2fdfe7fa7c9450bb06dc1e6c017a04e6fa403 (diff)
Adds convenience methods to return the name of extended conversion functions.
ShibokenGenerator got the methods: * QString extendedIsConvertibleFunctionName(TypeEntry*) Returns the name of an extended "isConvertible" function. * QString extendedToCppFunctionName(TypeEntry*) Returns the name of an extended "toCpp" function.
Diffstat (limited to 'shibokengenerator.h')
-rw-r--r--shibokengenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shibokengenerator.h b/shibokengenerator.h
index 0aca6641b..529027e98 100644
--- a/shibokengenerator.h
+++ b/shibokengenerator.h
@@ -285,6 +285,9 @@ public:
/// Returns the file name for the module global header. If no module name is provided the current will be used.
QString getModuleHeaderFileName(const QString& moduleName = QString()) const;
+ QString extendedIsConvertibleFunctionName(const TypeEntry* targetType) const;
+ QString extendedToCppFunctionName(const TypeEntry* targetType) const;
+
QMap< QString, QString > options() const;
/// Returns true if the user enabled the so called "parent constructor heuristic".