00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
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