summaryrefslogtreecommitdiff
path: root/registry/inc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-04 01:43:44 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-04 01:43:44 +0000
commit63cd54cffd8a447213e1dbed6c3c39e8834f4844 (patch)
tree3c2a7f8adf3fe7ca92800e0bca961d5be5a268f2 /registry/inc
parent5ab5f7b3abed7113adc1baafe19486164d41acf1 (diff)
INTEGRATION: CWS sb18 (1.2.4); FILE MERGED
2004/05/18 15:35:25 sb 1.2.4.1: #i21150# Added new feature: published.
Diffstat (limited to 'registry/inc')
-rw-r--r--registry/inc/registry/writer.h9
-rw-r--r--registry/inc/registry/writer.hxx13
2 files changed, 14 insertions, 8 deletions
diff --git a/registry/inc/registry/writer.h b/registry/inc/registry/writer.h
index 172f8da01304..88409963f0bb 100644
--- a/registry/inc/registry/writer.h
+++ b/registry/inc/registry/writer.h
@@ -2,9 +2,9 @@
*
* $RCSfile: writer.h,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2004-03-30 16:34:15 $
+ * last change: $Author: obo $ $Date: 2004-06-04 02:43:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -87,6 +87,9 @@ extern "C" {
@param typeClass the type class of the created type writer
+ @param published whether the created type writer is published; for a type
+ class that cannot be published, this should be false
+
@param typeName the type name of the created type writer; must not be null
@param superTypeCount the number of super types of the created type writer
@@ -104,7 +107,7 @@ extern "C" {
*/
void * SAL_CALL typereg_writer_create(
typereg_Version version, rtl_uString const * documentation,
- rtl_uString const * fileName, RTTypeClass typeClass,
+ rtl_uString const * fileName, RTTypeClass typeClass, sal_Bool published,
rtl_uString const * typeName, sal_uInt16 superTypeCount,
sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount)
SAL_THROW_EXTERN_C();
diff --git a/registry/inc/registry/writer.hxx b/registry/inc/registry/writer.hxx
index 1f5f28dfd00a..2f8f8ecf37e2 100644
--- a/registry/inc/registry/writer.hxx
+++ b/registry/inc/registry/writer.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: writer.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2004-03-30 16:34:25 $
+ * last change: $Author: obo $ $Date: 2004-06-04 02:43:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -97,6 +97,9 @@ public:
@param typeClass the type class of the created type writer
+ @param published whether the created type writer is published; for a type
+ class that cannot be published, this should be false
+
@param typeName the type name of the created type writer
@param superTypeCount the number of super types of the created type
@@ -112,15 +115,15 @@ public:
*/
Writer(
typereg_Version version, rtl::OUString const & documentation,
- rtl::OUString const & fileName, RTTypeClass typeClass,
+ rtl::OUString const & fileName, RTTypeClass typeClass, bool published,
rtl::OUString const & typeName, sal_uInt16 superTypeCount,
sal_uInt16 fieldCount, sal_uInt16 methodCount,
sal_uInt16 referenceCount):
m_handle(
typereg_writer_create(
version, documentation.pData, fileName.pData, typeClass,
- typeName.pData, superTypeCount, fieldCount, methodCount,
- referenceCount))
+ published, typeName.pData, superTypeCount, fieldCount,
+ methodCount, referenceCount))
{
if (m_handle == 0) {
throw std::bad_alloc();