Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8a3a5650
Kaydet (Commit)
8a3a5650
authored
Mar 28, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add PartialWeakComponentImplHelperX for overloaded-virtual
üst
ac4c98e8
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
397 additions
and
0 deletions
+397
-0
compbase1.hxx
cppuhelper/inc/cppuhelper/compbase1.hxx
+33
-0
compbase10.hxx
cppuhelper/inc/cppuhelper/compbase10.hxx
+33
-0
compbase11.hxx
cppuhelper/inc/cppuhelper/compbase11.hxx
+33
-0
compbase12.hxx
cppuhelper/inc/cppuhelper/compbase12.hxx
+33
-0
compbase2.hxx
cppuhelper/inc/cppuhelper/compbase2.hxx
+34
-0
compbase3.hxx
cppuhelper/inc/cppuhelper/compbase3.hxx
+33
-0
compbase4.hxx
cppuhelper/inc/cppuhelper/compbase4.hxx
+33
-0
compbase5.hxx
cppuhelper/inc/cppuhelper/compbase5.hxx
+33
-0
compbase6.hxx
cppuhelper/inc/cppuhelper/compbase6.hxx
+33
-0
compbase7.hxx
cppuhelper/inc/cppuhelper/compbase7.hxx
+33
-0
compbase8.hxx
cppuhelper/inc/cppuhelper/compbase8.hxx
+33
-0
compbase9.hxx
cppuhelper/inc/cppuhelper/compbase9.hxx
+33
-0
No files found.
cppuhelper/inc/cppuhelper/compbase1.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper1, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper1
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData1
<
Ifc1
,
PartialWeakComponentImplHelper1
<
Ifc1
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper1
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase10.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper10, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
,
class
Ifc4
,
class
Ifc5
,
class
Ifc6
,
class
Ifc7
,
class
Ifc8
,
class
Ifc9
,
class
Ifc10
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper10
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
,
public
Ifc4
,
public
Ifc5
,
public
Ifc6
,
public
Ifc7
,
public
Ifc8
,
public
Ifc9
,
public
Ifc10
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData10
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
,
Ifc9
,
Ifc10
,
PartialWeakComponentImplHelper10
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
,
Ifc9
,
Ifc10
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper10
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase11.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper11, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
,
class
Ifc4
,
class
Ifc5
,
class
Ifc6
,
class
Ifc7
,
class
Ifc8
,
class
Ifc9
,
class
Ifc10
,
class
Ifc11
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper11
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
,
public
Ifc4
,
public
Ifc5
,
public
Ifc6
,
public
Ifc7
,
public
Ifc8
,
public
Ifc9
,
public
Ifc10
,
public
Ifc11
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData11
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
,
Ifc9
,
Ifc10
,
Ifc11
,
PartialWeakComponentImplHelper11
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
,
Ifc9
,
Ifc10
,
Ifc11
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper11
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase12.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper12, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
,
class
Ifc4
,
class
Ifc5
,
class
Ifc6
,
class
Ifc7
,
class
Ifc8
,
class
Ifc9
,
class
Ifc10
,
class
Ifc11
,
class
Ifc12
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper12
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
,
public
Ifc4
,
public
Ifc5
,
public
Ifc6
,
public
Ifc7
,
public
Ifc8
,
public
Ifc9
,
public
Ifc10
,
public
Ifc11
,
public
Ifc12
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData12
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
,
Ifc9
,
Ifc10
,
Ifc11
,
Ifc12
,
PartialWeakComponentImplHelper12
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
,
Ifc9
,
Ifc10
,
Ifc11
,
Ifc12
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper12
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase2.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,40 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper2, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper2
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData2
<
Ifc1
,
Ifc2
,
PartialWeakComponentImplHelper2
<
Ifc1
,
Ifc2
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper2
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase3.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper3, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper3
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData3
<
Ifc1
,
Ifc2
,
Ifc3
,
PartialWeakComponentImplHelper3
<
Ifc1
,
Ifc2
,
Ifc3
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper3
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase4.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper4, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
,
class
Ifc4
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper4
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
,
public
Ifc4
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData4
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
PartialWeakComponentImplHelper4
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper4
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase5.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper5, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
,
class
Ifc4
,
class
Ifc5
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper5
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
,
public
Ifc4
,
public
Ifc5
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData5
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
PartialWeakComponentImplHelper5
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper5
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase6.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper6, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
,
class
Ifc4
,
class
Ifc5
,
class
Ifc6
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper6
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
,
public
Ifc4
,
public
Ifc5
,
public
Ifc6
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData6
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
PartialWeakComponentImplHelper6
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper6
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase7.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper7, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
,
class
Ifc4
,
class
Ifc5
,
class
Ifc6
,
class
Ifc7
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper7
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
,
public
Ifc4
,
public
Ifc5
,
public
Ifc6
,
public
Ifc7
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData7
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
PartialWeakComponentImplHelper7
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper7
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase8.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper8, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
,
class
Ifc4
,
class
Ifc5
,
class
Ifc6
,
class
Ifc7
,
class
Ifc8
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper8
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
,
public
Ifc4
,
public
Ifc5
,
public
Ifc6
,
public
Ifc7
,
public
Ifc8
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData8
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
,
PartialWeakComponentImplHelper8
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper8
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
};
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
...
...
cppuhelper/inc/cppuhelper/compbase9.hxx
Dosyayı görüntüle @
8a3a5650
...
...
@@ -91,6 +91,39 @@ namespace cppu
#pragma enable_warn
#endif
/** Same as WeakComponentImplHelper9, except doesn't implement
addEventListener, removeEventListener and dispose.
This requires derived classes to implement those three methods.
This makes it possible to implement classes which are required to
implement methods from multiple bases which have different
addEventListener/removeEventListener signatures without triggering
the g++ overloaded-virtual warning
*/
template
<
class
Ifc1
,
class
Ifc2
,
class
Ifc3
,
class
Ifc4
,
class
Ifc5
,
class
Ifc6
,
class
Ifc7
,
class
Ifc8
,
class
Ifc9
>
class
SAL_NO_VTABLE
PartialWeakComponentImplHelper9
:
public
WeakComponentImplHelperBase
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
Ifc1
,
public
Ifc2
,
public
Ifc3
,
public
Ifc4
,
public
Ifc5
,
public
Ifc6
,
public
Ifc7
,
public
Ifc8
,
public
Ifc9
{
/** @internal */
struct
cd
:
public
rtl
::
StaticAggregate
<
class_data
,
ImplClassData9
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
,
Ifc9
,
PartialWeakComponentImplHelper9
<
Ifc1
,
Ifc2
,
Ifc3
,
Ifc4
,
Ifc5
,
Ifc6
,
Ifc7
,
Ifc8
,
Ifc9
>
>
>
{};
public
:
inline
PartialWeakComponentImplHelper9
(
::
osl
::
Mutex
&
rMutex
)
throw
()
:
WeakComponentImplHelperBase
(
rMutex
)
{}
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
::
com
::
sun
::
star
::
uno
::
Type
const
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_query
(
rType
,
cd
::
get
(),
this
,
(
WeakComponentImplHelperBase
*
)
this
);
}
virtual
void
SAL_CALL
acquire
()
throw
()
{
WeakComponentImplHelperBase
::
acquire
();
}
virtual
void
SAL_CALL
release
()
throw
()
{
WeakComponentImplHelperBase
::
release
();
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
WeakComponentImplHelper_getTypes
(
cd
::
get
()
);
}
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
return
ImplHelper_getImplementationId
(
cd
::
get
()
);
}
}
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
Upon disposing objects of this class, sub-classes receive a disposing()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment