UDK 3.2.7 C/C++ API Reference
|
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 00002 /************************************************************************* 00003 * 00004 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 00005 * 00006 * Copyright 2000, 2010 Oracle and/or its affiliates. 00007 * 00008 * OpenOffice.org - a multi-platform office productivity suite 00009 * 00010 * This file is part of OpenOffice.org. 00011 * 00012 * OpenOffice.org is free software: you can redistribute it and/or modify 00013 * it under the terms of the GNU Lesser General Public License version 3 00014 * only, as published by the Free Software Foundation. 00015 * 00016 * OpenOffice.org is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU Lesser General Public License version 3 for more details 00020 * (a copy is included in the LICENSE file that accompanied this code). 00021 * 00022 * You should have received a copy of the GNU Lesser General Public License 00023 * version 3 along with OpenOffice.org. If not, see 00024 * <http://www.openoffice.org/license.html> 00025 * for a copy of the LGPLv3 License. 00026 * 00027 ************************************************************************/ 00028 00029 #ifndef INCLUDED_registry_writer_h 00030 #define INCLUDED_registry_writer_h 00031 00032 #include "registry/regdllapi.h" 00033 #include "registry/types.h" 00034 #include "registry/version.h" 00035 00036 #include "rtl/ustring.h" 00037 #include "sal/types.h" 00038 00039 #ifdef __cplusplus 00040 extern "C" { 00041 #endif 00042 00074 REG_DLLPUBLIC void * SAL_CALL typereg_writer_create( 00075 typereg_Version version, rtl_uString const * documentation, 00076 rtl_uString const * fileName, RTTypeClass typeClass, sal_Bool published, 00077 rtl_uString const * typeName, sal_uInt16 superTypeCount, 00078 sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount) 00079 SAL_THROW_EXTERN_C(); 00080 00089 REG_DLLPUBLIC void SAL_CALL typereg_writer_destroy(void * handle) SAL_THROW_EXTERN_C(); 00090 00106 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setSuperTypeName( 00107 void * handle, sal_uInt16 index, rtl_uString const * typeName) 00108 SAL_THROW_EXTERN_C(); 00109 00136 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setFieldData( 00137 void * handle, sal_uInt16 index, rtl_uString const * documentation, 00138 rtl_uString const * fileName, RTFieldAccess flags, rtl_uString const * name, 00139 rtl_uString const * typeName, RTValueType valueType, 00140 RTConstValueUnion valueValue) 00141 SAL_THROW_EXTERN_C(); 00142 00167 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodData( 00168 void * handle, sal_uInt16 index, rtl_uString const * documentation, 00169 RTMethodMode flags, rtl_uString const * name, 00170 rtl_uString const * returnTypeName, sal_uInt16 parameterCount, 00171 sal_uInt16 exceptionCount) 00172 SAL_THROW_EXTERN_C(); 00173 00196 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodParameterData( 00197 void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex, 00198 RTParamMode flags, rtl_uString const * name, rtl_uString const * typeName) 00199 SAL_THROW_EXTERN_C(); 00200 00219 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodExceptionTypeName( 00220 void * handle, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex, 00221 rtl_uString const * typeName) 00222 SAL_THROW_EXTERN_C(); 00223 00245 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setReferenceData( 00246 void * handle, sal_uInt16 index, rtl_uString const * documentation, 00247 RTReferenceType sort, RTFieldAccess flags, rtl_uString const * typeName) 00248 SAL_THROW_EXTERN_C(); 00249 00262 REG_DLLPUBLIC void const * SAL_CALL typereg_writer_getBlob(void * handle, sal_uInt32 * size) 00263 SAL_THROW_EXTERN_C(); 00264 00265 #ifdef __cplusplus 00266 } 00267 #endif 00268 00269 #endif 00270 00271 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */