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
2bb73133
Kaydet (Commit)
2bb73133
authored
Agu 20, 2012
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tubes: add few more comments
Change-Id: I263443d341805583f8ecedf0da738b75249b5d97
üst
24209be3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
collaboration.hxx
tubes/inc/tubes/collaboration.hxx
+4
-0
manager.hxx
tubes/inc/tubes/manager.hxx
+8
-5
No files found.
tubes/inc/tubes/collaboration.hxx
Dosyayı görüntüle @
2bb73133
...
@@ -27,14 +27,18 @@ public:
...
@@ -27,14 +27,18 @@ public:
Collaboration
();
Collaboration
();
virtual
~
Collaboration
();
virtual
~
Collaboration
();
/** Returns to normal editing mode */
virtual
void
EndCollaboration
()
const
=
0
;
virtual
void
EndCollaboration
()
const
=
0
;
virtual
void
PacketReceived
(
const
OString
&
rPacket
)
const
=
0
;
virtual
void
PacketReceived
(
const
OString
&
rPacket
)
const
=
0
;
/** Saves current document and then calls SendFile() with the file URL */
virtual
void
SaveAndSendFile
(
TpContact
*
pContact
)
const
=
0
;
virtual
void
SaveAndSendFile
(
TpContact
*
pContact
)
const
=
0
;
/** Prepares document for collaboration and should call SetConference() */
virtual
void
StartCollaboration
(
TeleConference
*
pConference
)
=
0
;
virtual
void
StartCollaboration
(
TeleConference
*
pConference
)
=
0
;
TUBES_DLLPRIVATE
sal_uInt64
GetId
()
const
;
TUBES_DLLPRIVATE
sal_uInt64
GetId
()
const
;
TUBES_DLLPRIVATE
void
Invite
(
TpContact
*
pContact
)
const
;
TUBES_DLLPRIVATE
void
Invite
(
TpContact
*
pContact
)
const
;
/** Application calls this to display contacts dialog from where can the collaboration start */
void
DisplayContacts
();
void
DisplayContacts
();
void
SendFile
(
TpContact
*
pContact
,
const
OUString
&
rURL
)
const
;
void
SendFile
(
TpContact
*
pContact
,
const
OUString
&
rURL
)
const
;
void
SendPacket
(
const
OString
&
rPacket
)
const
;
void
SendPacket
(
const
OString
&
rPacket
)
const
;
...
...
tubes/inc/tubes/manager.hxx
Dosyayı görüntüle @
2bb73133
...
@@ -61,9 +61,6 @@ typedef ::std::vector< AccountContactPair > AccountContactPairV;
...
@@ -61,9 +61,6 @@ typedef ::std::vector< AccountContactPair > AccountContactPairV;
class
TeleManager
class
TeleManager
{
{
TeleManager
();
~
TeleManager
();
public
:
public
:
/** Prepare tube manager with account and service to be offered/listened
/** Prepare tube manager with account and service to be offered/listened
to.
to.
...
@@ -124,6 +121,8 @@ public:
...
@@ -124,6 +121,8 @@ public:
static
void
registerCollaboration
(
Collaboration
*
pCollaboration
);
static
void
registerCollaboration
(
Collaboration
*
pCollaboration
);
static
void
unregisterCollaboration
(
Collaboration
*
pCollaboration
);
static
void
unregisterCollaboration
(
Collaboration
*
pCollaboration
);
/** Used to determine whether we are closing the channel by ourselves.
* @return true if the Collaboration is still registered */
static
bool
existsCollaboration
(
Collaboration
*
pCollaboration
);
static
bool
existsCollaboration
(
Collaboration
*
pCollaboration
);
/** Display contact list dialog for all documents. */
/** Display contact list dialog for all documents. */
static
void
displayAllContacts
();
static
void
displayAllContacts
();
...
@@ -133,11 +132,15 @@ public:
...
@@ -133,11 +132,15 @@ public:
/** Broadcast packet to all conferences. Used for demo mode. */
/** Broadcast packet to all conferences. Used for demo mode. */
static
void
broadcastPacket
(
const
OString
&
rPacket
);
static
void
broadcastPacket
(
const
OString
&
rPacket
);
static
void
setCurrentUuid
(
const
OString
&
rUuid
);
static
rtl
::
OString
createUuid
();
// Only for callbacks.
// Only for callbacks.
static
void
addConference
(
TeleConference
*
pConference
);
static
void
addConference
(
TeleConference
*
pConference
);
static
rtl
::
OString
createUuid
();
/** @param rUuid
is stored so that accepted conference with this UUID could be
then retrieved by getConference() when loading new document
*/
static
void
setCurrentUuid
(
const
OString
&
rUuid
);
/// "LibreOfficeWhatEver"
/// "LibreOfficeWhatEver"
static
rtl
::
OString
getFullClientName
();
static
rtl
::
OString
getFullClientName
();
...
...
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