diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/codegen_utils.h')
-rw-r--r-- | umbrello/umbrello/codegenerators/codegen_utils.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/umbrello/umbrello/codegenerators/codegen_utils.h b/umbrello/umbrello/codegenerators/codegen_utils.h new file mode 100644 index 00000000..aaa7d117 --- /dev/null +++ b/umbrello/umbrello/codegenerators/codegen_utils.h @@ -0,0 +1,42 @@ +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * copyright (C) 2004-2007 * + * Umbrello UML Modeller Authors <uml-devel@uml.sf.net> * + ***************************************************************************/ + +#ifndef CODEGEN_UTILS_H +#define CODEGEN_UTILS_H + +#include <qstringlist.h> + +namespace Codegen_Utils { + +/** + * Return list of C++ datatypes + */ +QStringList cppDatatypes(); + +/** + * Get list of C++ reserved keywords + */ +const QStringList reservedCppKeywords(); + +/** + * Add C++ stereotypes + */ +void createCppStereotypes(); + +/** + * Return the input string with the first letter capitalized. + */ +QString capitalizeFirstLetter(const QString &string); + +} + +#endif // CODEGEN_UTILS_H + |