Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
7ba2bd7b
Commit
7ba2bd7b
authored
Sep 12, 2011
by
Tristan Matthews
Browse files
* #6904: removed unused contactmanager
parent
910a75f5
Changes
5
Hide whitespace changes
Inline
Side-by-side
daemon/src/dbus/Makefile.am
View file @
7ba2bd7b
...
...
@@ -50,7 +50,6 @@ $(service_DATA): $(service_in_files) Makefile
EXTRA_DIST
=
README
$(service_in_files)
\
callmanager-introspec.xml
\
configurationmanager-introspec.xml
\
contactmanager-introspec.xml
\
instance-introspec.xml
\
org.freedesktop.NetworkManager.xml
...
...
daemon/src/dbus/contactmanager-introspec.xml
deleted
100644 → 0
View file @
910a75f5
<?xml version="1.0" ?>
<node
name=
"/org/sflphone/SFLphone"
>
<interface
name=
"org.sflphone.SFLphone.ContactManager"
>
<!-- Contacts related methods -->
<!-- Called by the client to get all saved contacts -->
<method
name=
"getContacts"
>
<arg
type=
"s"
name=
"accountID"
direction=
"in"
/>
<arg
type=
"a{ss}"
name=
"details"
direction=
"out"
/>
</method>
<!-- Called by the client to save all local contacts -->
<method
name=
"setContacts"
>
<arg
type=
"s"
name=
"accountID"
direction=
"in"
/>
<arg
type=
"a{ss}"
name=
"details"
direction=
"in"
/>
</method>
<!-- /////////////////////// -->
<!-- Presence related methods -->
<!-- Called by the client to set its new presence status -->
<method
name=
"setPresence"
>
<arg
type=
"s"
name=
"accountID"
direction=
"in"
/>
<arg
type=
"s"
name=
"presence"
direction=
"in"
/>
<arg
type=
"s"
name=
"additionalInfo"
direction=
"in"
/>
</method>
<!-- Called by the daemon when a contact presence changes -->
<method
name=
"setContactPresence"
>
<arg
type=
"s"
name=
"accountID"
direction=
"in"
/>
<arg
type=
"s"
name=
"presence"
direction=
"in"
/>
<arg
type=
"s"
name=
"additionalInfo"
direction=
"in"
/>
</method>
</interface>
</node>
daemon/src/dbus/contactmanager.cpp
deleted
100644 → 0
View file @
910a75f5
/*
* Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010, 2011 Savoir-Faire Linux Inc.
* Author: Guillaume Carmel-Archambault <guillaume.carmel-archambault@savoirfairelinux.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
#include <contactmanager.h>
#include "../manager.h"
const
char
*
ContactManager
::
SERVER_PATH
=
"/org/sflphone/SFLphone/ContactManager"
;
std
::
map
<
std
::
string
,
std
::
string
>
ContactManager
::
getContacts
(
const
std
::
string
&
accountID
UNUSED
)
{
// TODO
std
::
map
<
std
::
string
,
std
::
string
>
ret
;
return
ret
;
}
void
ContactManager
::
setContacts
(
const
std
::
string
&
accountID
UNUSED
,
const
std
::
map
<
std
::
string
UNUSED
,
std
::
string
>&
details
UNUSED
)
{
// TODO
}
void
ContactManager
::
setPresence
(
const
std
::
string
&
accountID
UNUSED
,
const
std
::
string
&
presence
UNUSED
,
const
std
::
string
&
additionalInfo
UNUSED
)
{
// TODO
}
void
ContactManager
::
setContactPresence
(
const
std
::
string
&
accountID
UNUSED
,
const
std
::
string
&
presence
UNUSED
,
const
std
::
string
&
additionalInfo
UNUSED
)
{
// TODO
}
daemon/src/dbus/contactmanager.h
deleted
100644 → 0
View file @
910a75f5
/*
* Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010, 2011 Savoir-Faire Linux Inc.
* Author: Guillaume Carmel-Archambault <guillaume.carmel-archambault@savoirfairelinux.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
#ifndef CONTACTMANAGER_H
#define CONTACTMANAGER_H
#include "contactmanager-glue.h"
#include <dbus-c++/dbus.h>
class
ContactManager
:
public
org
::
sflphone
::
SFLphone
::
ContactManager_adaptor
,
public
DBus
::
IntrospectableAdaptor
,
public
DBus
::
ObjectAdaptor
{
public:
ContactManager
(
DBus
::
Connection
&
connection
);
static
const
char
*
SERVER_PATH
;
public:
std
::
map
<
std
::
string
,
std
::
string
>
getContacts
(
const
std
::
string
&
accountID
);
void
setContacts
(
const
std
::
string
&
accountID
,
const
std
::
map
<
std
::
string
,
std
::
string
>&
details
);
void
setPresence
(
const
std
::
string
&
accountID
,
const
std
::
string
&
presence
,
const
std
::
string
&
additionalInfo
);
void
setContactPresence
(
const
std
::
string
&
accountID
,
const
std
::
string
&
presence
,
const
std
::
string
&
additionalInfo
);
};
#endif//CONTACTMANAGER_H
gnome/src/dbus/contactmanager-introspec.xml
deleted
100644 → 0
View file @
910a75f5
<?xml version="1.0" ?>
<node
name=
"/org/sflphone/SFLphone"
>
<interface
name=
"org.sflphone.SFLphone.ContactManager"
>
<!-- Contacts related methods -->
<!-- Called by the client to get all saved contacts -->
<method
name=
"getContacts"
>
<arg
type=
"s"
name=
"accountID"
direction=
"in"
/>
<arg
type=
"a{ss}"
name=
"details"
direction=
"out"
/>
</method>
<!-- Called by the client to save all local contacts -->
<method
name=
"setContacts"
>
<arg
type=
"s"
name=
"accountID"
direction=
"in"
/>
<arg
type=
"a{ss}"
name=
"details"
direction=
"in"
/>
</method>
<!-- /////////////////////// -->
<!-- Presence related methods -->
<!-- Called by the client to set its new presence status -->
<method
name=
"setPresence"
>
<arg
type=
"s"
name=
"accountID"
direction=
"in"
/>
<arg
type=
"s"
name=
"presence"
direction=
"in"
/>
<arg
type=
"s"
name=
"additionalInfo"
direction=
"in"
/>
</method>
<!-- Called by the daemon when a contact presence changes -->
<method
name=
"setContactPresence"
>
<arg
type=
"s"
name=
"accountID"
direction=
"in"
/>
<arg
type=
"s"
name=
"presence"
direction=
"in"
/>
<arg
type=
"s"
name=
"additionalInfo"
direction=
"in"
/>
</method>
</interface>
</node>
Write
Preview
Supports
Markdown
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