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
4c182392
Kaydet (Commit)
4c182392
authored
Eyl 23, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cid#1371304: Add move semantics
Change-Id: I60051e720e816b1bd72193cbc028ce7264ba1e6a
üst
6b51e526
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
dispatcher.hxx
include/uno/dispatcher.hxx
+17
-0
No files found.
include/uno/dispatcher.hxx
Dosyayı görüntüle @
4c182392
...
@@ -58,6 +58,12 @@ public:
...
@@ -58,6 +58,12 @@ public:
inline
UnoInterfaceReference
(
uno_Interface
*
pUnoI
);
inline
UnoInterfaceReference
(
uno_Interface
*
pUnoI
);
inline
UnoInterfaceReference
(
UnoInterfaceReference
const
&
ref
);
inline
UnoInterfaceReference
(
UnoInterfaceReference
const
&
ref
);
#if defined LIBO_INTERNAL_ONLY
UnoInterfaceReference
(
UnoInterfaceReference
&&
other
)
:
m_pUnoI
(
other
.
m_pUnoI
)
{
other
.
m_pUnoI
=
nullptr
;
}
#endif
inline
uno_Interface
*
get
()
const
inline
uno_Interface
*
get
()
const
{
return
m_pUnoI
;
}
{
return
m_pUnoI
;
}
...
@@ -74,6 +80,17 @@ public:
...
@@ -74,6 +80,17 @@ public:
uno_Interface
*
pUnoI
)
uno_Interface
*
pUnoI
)
{
return
set
(
pUnoI
);
}
{
return
set
(
pUnoI
);
}
#if defined LIBO_INTERNAL_ONLY
UnoInterfaceReference
&
operator
=
(
UnoInterfaceReference
&&
other
)
{
if
(
m_pUnoI
!=
nullptr
)
{
(
*
m_pUnoI
->
release
)(
m_pUnoI
);
}
m_pUnoI
=
other
.
m_pUnoI
;
other
.
m_pUnoI
=
nullptr
;
return
*
this
;
}
#endif
inline
void
dispatch
(
inline
void
dispatch
(
struct
_typelib_TypeDescription
const
*
pMemberType
,
struct
_typelib_TypeDescription
const
*
pMemberType
,
void
*
pReturn
,
void
*
pArgs
[],
uno_Any
**
ppException
)
const
;
void
*
pReturn
,
void
*
pArgs
[],
uno_Any
**
ppException
)
const
;
...
...
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