diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-10-27 16:09:30 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-10-27 16:09:30 +0000 |
commit | d5f73461694e484bee793ded67ab7a957e0e0e02 (patch) | |
tree | 58f6a0a6f8cb7f32c5e71f66f55a2cb3c3334cf6 /codemaker/inc | |
parent | 5554efd6317e61ac9dd552e336cdba07cb443c05 (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.hxx | 56 |
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 |