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
011e348e
Kaydet (Commit)
011e348e
authored
Agu 07, 2012
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tubes: add invite to Collaboration class
Change-Id: I37463d4365a2fe81e58d5f4bcf9f86d9830e26be
üst
c3c2dcf8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
collaboration.hxx
tubes/inc/tubes/collaboration.hxx
+1
-1
collaboration.cxx
tubes/source/collaboration.cxx
+8
-4
contacts.cxx
tubes/source/contacts.cxx
+1
-6
No files found.
tubes/inc/tubes/collaboration.hxx
Dosyayı görüntüle @
011e348e
...
...
@@ -32,8 +32,8 @@ public:
virtual
void
SaveAndSendFile
(
TpContact
*
pContact
)
const
=
0
;
virtual
void
StartCollaboration
(
TeleConference
*
pConference
)
=
0
;
TUBES_DLLPRIVATE
TeleConference
*
GetConference
()
const
;
TUBES_DLLPRIVATE
sal_uInt64
GetId
()
const
;
TUBES_DLLPRIVATE
void
Invite
(
TpContact
*
pContact
)
const
;
void
DisplayContacts
();
void
SendFile
(
TpContact
*
pContact
,
const
OUString
&
rURL
)
const
;
...
...
tubes/source/collaboration.cxx
Dosyayı görüntüle @
011e348e
...
...
@@ -26,14 +26,18 @@ Collaboration::~Collaboration()
mpConference
->
close
();
}
TeleConference
*
Collaboration
::
GetConference
()
const
sal_uInt64
Collaboration
::
GetId
()
const
{
return
mpConference
;
return
reinterpret_cast
<
sal_uInt64
>
(
this
)
;
}
sal_uInt64
Collaboration
::
GetId
(
)
const
void
Collaboration
::
Invite
(
TpContact
*
pContact
)
const
{
return
reinterpret_cast
<
sal_uInt64
>
(
this
);
if
(
mpConference
)
{
mpConference
->
invite
(
pContact
);
SaveAndSendFile
(
pContact
);
}
}
void
Collaboration
::
SendFile
(
TpContact
*
pContact
,
const
OUString
&
rURL
)
const
...
...
tubes/source/contacts.cxx
Dosyayı görüntüle @
011e348e
...
...
@@ -84,12 +84,7 @@ class TubeContacts : public ModelessDialog
pAC
=
static_cast
<
AccountContactPair
*>
(
maList
.
FirstSelected
()
->
GetUserData
());
if
(
pAC
)
{
if
(
mpCollaboration
->
GetConference
())
{
TpContact
*
pContact
=
pAC
->
second
;
mpCollaboration
->
GetConference
()
->
invite
(
pContact
);
mpCollaboration
->
SaveAndSendFile
(
pContact
);
}
mpCollaboration
->
Invite
(
pAC
->
second
);
}
}
...
...
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