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
2965a1c3
Kaydet (Commit)
2965a1c3
authored
Agu 03, 2012
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tubes: we use less symbols after
bc21b49a
Change-Id: Ibf2e3d3f5de87848ba8efb669308fe790d6622d6
üst
b7e07778
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
13 deletions
+10
-13
Package_inc.mk
tubes/Package_inc.mk
+0
-1
conference.hxx
tubes/inc/tubes/conference.hxx
+2
-2
contact-list.hxx
tubes/inc/tubes/contact-list.hxx
+1
-3
manager.hxx
tubes/inc/tubes/manager.hxx
+7
-7
No files found.
tubes/Package_inc.mk
Dosyayı görüntüle @
2965a1c3
...
...
@@ -28,7 +28,6 @@ $(eval $(call gb_Package_Package,tubes_inc,$(SRCDIR)/tubes/inc))
$(eval $(call gb_Package_add_file,tubes_inc,inc/tubes/collaboration.hxx,tubes/collaboration.hxx))
$(eval $(call gb_Package_add_file,tubes_inc,inc/tubes/conference.hxx,tubes/conference.hxx))
$(eval $(call gb_Package_add_file,tubes_inc,inc/tubes/contact-list.hxx,tubes/contact-list.hxx))
$(eval $(call gb_Package_add_file,tubes_inc,inc/tubes/contacts.hxx,tubes/contacts.hxx))
$(eval $(call gb_Package_add_file,tubes_inc,inc/tubes/manager.hxx,tubes/manager.hxx))
$(eval $(call gb_Package_add_file,tubes_inc,inc/tubes/tubesdllapi.h,tubes/tubesdllapi.h))
...
...
tubes/inc/tubes/conference.hxx
Dosyayı görüntüle @
2965a1c3
...
...
@@ -64,14 +64,14 @@ public:
/** Pop a received packet. */
bool
popPacket
(
OString
&
rPacket
);
TUBES_DLLPUBLIC
void
invite
(
TpContact
*
pContact
);
void
invite
(
TpContact
*
pContact
);
/** Emitted when a packet is received. */
boost
::
signals2
::
signal
<
void
(
const
OString
&
)
>
sigPacketReceived
;
typedef
void
(
*
FileSentCallback
)(
bool
aSuccess
,
void
*
pUserData
);
TUBES_DLLPUBLIC
void
sendFile
(
TpContact
*
pContact
,
rtl
::
OUString
&
localUri
,
FileSentCallback
pCallback
,
void
*
pUserData
);
TUBES_DLLPUBLIC
const
OString
&
getUuid
()
const
{
return
msUuid
;
}
const
OString
&
getUuid
()
const
{
return
msUuid
;
}
// --- following only to be called only by manager's callbacks ---
// TODO: make friends instead
...
...
tubes/inc/tubes/contact-list.hxx
Dosyayı görüntüle @
2965a1c3
...
...
@@ -33,8 +33,6 @@
#include <utility>
#include <vector>
#include "tubes/tubesdllapi.h"
typedef
struct
_TpAccount
TpAccount
;
typedef
struct
_TpContact
TpContact
;
typedef
struct
_TpAccountManager
TpAccountManager
;
...
...
@@ -42,7 +40,7 @@ typedef struct _TpAccountManager TpAccountManager;
typedef
::
std
::
pair
<
TpAccount
*
,
TpContact
*
>
AccountContactPair
;
typedef
::
std
::
vector
<
AccountContactPair
>
AccountContactPairV
;
class
TUBES_DLLPUBLIC
ContactList
class
ContactList
{
public
:
ContactList
(
TpAccountManager
*
pAccountManager
);
...
...
tubes/inc/tubes/manager.hxx
Dosyayı görüntüle @
2965a1c3
...
...
@@ -73,10 +73,10 @@ public:
TUBES_DLLPUBLIC
bool
init
(
bool
bListen
);
/** Connect to DBus and create AccountManager. */
TUBES_DLLPUBLIC
bool
createAccountManager
();
bool
createAccountManager
();
/** Setup client handlers. */
TUBES_DLLPUBLIC
bool
registerClients
();
bool
registerClients
();
/** Prepare the Telepathy Account Manager.
Requires createAccountManager() to have succeeded.
...
...
@@ -86,13 +86,13 @@ public:
TODO: this needs some signalling mechanism
*/
TUBES_DLLPUBLIC
void
prepareAccountManager
();
TUBES_DLLPUBLIC
AccountManagerStatus
getAccountManagerStatus
()
const
;
void
prepareAccountManager
();
AccountManagerStatus
getAccountManagerStatus
()
const
;
/** Fetches the contact list. Returns 0 before connect() is called successfully.
Is non-functional until prepareAccountManager().
*/
TUBES_DLLPUBLIC
ContactList
*
getContactList
()
const
;
ContactList
*
getContactList
()
const
;
/** Start a group session in a MUC.
...
...
@@ -108,7 +108,7 @@ public:
empty, only the conference's UUID is used and rConferenceRoom is
ignored, hopefully resulting in a local DBus tube.
*/
T
UBES_DLLPUBLIC
T
eleConference
*
startGroupSession
(
TpAccount
*
pAccount
,
TeleConference
*
startGroupSession
(
TpAccount
*
pAccount
,
const
rtl
::
OUString
&
rConferenceRoom
,
const
rtl
::
OUString
&
rConferenceServer
);
...
...
@@ -120,7 +120,7 @@ public:
@param pBuddy
The buddy to be connected. Must be a contact of pAccount.
*/
T
UBES_DLLPUBLIC
T
eleConference
*
startBuddySession
(
TpAccount
*
pAccount
,
TpContact
*
pBuddy
);
TeleConference
*
startBuddySession
(
TpAccount
*
pAccount
,
TpContact
*
pBuddy
);
/** Get a conference with current UUID to set a session. */
TUBES_DLLPUBLIC
static
TeleConference
*
getConference
();
...
...
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