summaryrefslogtreecommitdiff
path: root/codemaker/inc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-10-27 16:09:30 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-10-27 16:09:30 +0000
commitd5f73461694e484bee793ded67ab7a957e0e0e02 (patch)
tree58f6a0a6f8cb7f32c5e71f66f55a2cb3c3334cf6 /codemaker/inc
parent5554efd6317e61ac9dd552e336cdba07cb443c05 (diff)
INTEGRATION: CWS skeletonmaker (1.1.2); FILE ADDED
2005/09/06 07:54:49 jsc 1.1.2.2: #i52208# insert new license header 2005/07/20 08:35:34 jsc 1.1.2.1: #i52208# new
Diffstat (limited to 'codemaker/inc')
-rw-r--r--codemaker/inc/codemaker/commoncpp.hxx56
1 files changed, 56 insertions, 0 deletions
diff --git a/codemaker/inc/codemaker/commoncpp.hxx b/codemaker/inc/codemaker/commoncpp.hxx
new file mode 100644
index 000000000000..0bac77d47290
--- /dev/null
+++ b/codemaker/inc/codemaker/commoncpp.hxx
@@ -0,0 +1,56 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: commoncpp.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: hr $ $Date: 2005-10-27 17:09:30 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef INCLUDED_CODEMAKER_COMMONCPP_HXX
+#define INCLUDED_CODEMAKER_COMMONCPP_HXX
+
+#include "codemaker/codemaker.hxx"
+
+
+namespace codemaker { namespace cpp {
+
+rtl::OString scopedCppName(rtl::OString const & type, bool bNoNameSpace=false,
+ bool shortname=false);
+
+rtl::OString translateUnoToCppType(
+ codemaker::UnoType::Sort sort, RTTypeClass typeClass,
+ rtl::OString const & nucleus);
+
+rtl::OString translateUnoToCppIdentifier(
+ rtl::OString const & identifier, rtl::OString const & prefix);
+
+} }
+
+#endif