|
UDK 3.2.7 C/C++ API Reference
|
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 00002 /* 00003 * This file is part of the LibreOffice project. 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 * 00009 * This file incorporates work covered by the following license notice: 00010 * 00011 * Licensed to the Apache Software Foundation (ASF) under one or more 00012 * contributor license agreements. See the NOTICE file distributed 00013 * with this work for additional information regarding copyright 00014 * ownership. The ASF licenses this file to you under the Apache 00015 * License, Version 2.0 (the "License"); you may not use this file 00016 * except in compliance with the License. You may obtain a copy of 00017 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 00018 */ 00019 00020 #ifndef INCLUDED_registry_writer_h 00021 #define INCLUDED_registry_writer_h 00022 00023 #include "registry/regdllapi.h" 00024 #include "registry/types.h" 00025 #include "registry/version.h" 00026 00027 #include "rtl/ustring.h" 00028 #include "sal/types.h" 00029 00030 #ifdef __cplusplus 00031 extern "C" { 00032 #endif 00033 00065 REG_DLLPUBLIC void * SAL_CALL typereg_writer_create( 00066 typereg_Version version, rtl_uString const * documentation, 00067 rtl_uString const * fileName, RTTypeClass typeClass, sal_Bool published, 00068 rtl_uString const * typeName, sal_uInt16 superTypeCount, 00069 sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount) 00070 SAL_THROW_EXTERN_C(); 00071 00080 REG_DLLPUBLIC void SAL_CALL typereg_writer_destroy(void * handle) SAL_THROW_EXTERN_C(); 00081 00097 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setSuperTypeName( 00098 void * handle, sal_uInt16 index, rtl_uString const * typeName) 00099 SAL_THROW_EXTERN_C(); 00100 00127 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setFieldData( 00128 void * handle, sal_uInt16 index, rtl_uString const * documentation, 00129 rtl_uString const * fileName, RTFieldAccess flags, rtl_uString const * name, 00130 rtl_uString const * typeName, RTValueType valueType, 00131 RTConstValueUnion valueValue) 00132 SAL_THROW_EXTERN_C(); 00133 00158 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodData( 00159 void * handle, sal_uInt16 index, rtl_uString const * documentation, 00160 RTMethodMode flags, rtl_uString const * name, 00161 rtl_uString const * returnTypeName, sal_uInt16 parameterCount, 00162 sal_uInt16 exceptionCount) 00163 SAL_THROW_EXTERN_C(); 00164 00187 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodParameterData( 00188 void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex, 00189 RTParamMode flags, rtl_uString const * name, rtl_uString const * typeName) 00190 SAL_THROW_EXTERN_C(); 00191 00210 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodExceptionTypeName( 00211 void * handle, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex, 00212 rtl_uString const * typeName) 00213 SAL_THROW_EXTERN_C(); 00214 00236 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setReferenceData( 00237 void * handle, sal_uInt16 index, rtl_uString const * documentation, 00238 RTReferenceType sort, RTFieldAccess flags, rtl_uString const * typeName) 00239 SAL_THROW_EXTERN_C(); 00240 00253 REG_DLLPUBLIC void const * SAL_CALL typereg_writer_getBlob(void * handle, sal_uInt32 * size) 00254 SAL_THROW_EXTERN_C(); 00255 00256 #ifdef __cplusplus 00257 } 00258 #endif 00259 00260 #endif 00261 00262 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
1.7.3