Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
129
Issues
129
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
12dcc704
Commit
12dcc704
authored
Aug 28, 2007
by
Pierre-Luc Beaudoin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Save
parent
cee79fca
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
4 deletions
+20
-4
.gitignore
.gitignore
+1
-0
src/dbus/configurationmanager-introspec.xml
src/dbus/configurationmanager-introspec.xml
+2
-2
src/dbus/dbusmanagerimpl.cpp
src/dbus/dbusmanagerimpl.cpp
+14
-1
src/dbus/dbusmanagerimpl.h
src/dbus/dbusmanagerimpl.h
+2
-0
src/main.cpp
src/main.cpp
+1
-1
No files found.
.gitignore
View file @
12dcc704
...
...
@@ -11,6 +11,7 @@ Makefile
Makefile.in
*.spec
*moc*.*
/config.*
# Ignore rendered docs
doc/html
...
...
src/dbus/configurationmanager-introspec.xml
View file @
12dcc704
<?xml version="1.0" ?>
<node
name=
"/org/sflphone/
ConfigurationManager
"
>
<interface
name=
"org.sflphone.ConfigurationManager"
>
<node
name=
"/org/sflphone/
SFLPhone
"
>
<interface
name=
"org.sflphone.
SFLPhone.
ConfigurationManager"
>
<method
name=
"getAccountDetails"
>
<arg
type=
"s"
name=
"accountID"
direction=
"in"
/>
...
...
src/dbus/dbusmanagerimpl.cpp
View file @
12dcc704
...
...
@@ -20,6 +20,8 @@
#include <dbusmanagerimpl.h>
const
char
*
DBusManagerImpl
::
SERVER_NAME
=
"org.sflphone.SFLPhone"
;
void
DBusManagerImpl
::
connect
(){
...
...
@@ -27,7 +29,18 @@ DBusManagerImpl::connect(){
int
DBusManagerImpl
::
exec
(){
return
1
;
DBus
::
default_dispatcher
=
&
_dispatcher
;
DBus
::
Connection
conn
=
DBus
::
Connection
::
SessionBus
();
conn
.
request_name
(
SERVER_NAME
);
_callManager
=
new
CallManager
(
conn
);
//_callManager = new CallManager(conn);
_dispatcher
.
enter
();
return
1
;
}
src/dbus/dbusmanagerimpl.h
View file @
12dcc704
...
...
@@ -26,9 +26,11 @@ class DBusManagerImpl {
public:
void
connect
();
int
exec
();
static
const
char
*
SERVER_NAME
;
private:
CallManager
*
_callManager
;
DBus
::
BusDispatcher
_dispatcher
;
};
#endif
src/main.cpp
View file @
12dcc704
...
...
@@ -77,7 +77,7 @@ main (int argc, char **argv) {
//GUI = &(GUIServer::instance());
//GUIServer::instance().setSessionPort(sessionPort);
//Manager::instance().setGui(GUI);
exit_code
=
DBusManager
::
instance
().
toto
();
exit_code
=
DBusManager
::
instance
().
exec
();
}
}
...
...
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