Compare commits
1 Commits
5328ae9bd6
...
338f85b6f6
Author | SHA1 | Date | |
---|---|---|---|
338f85b6f6 |
@@ -1,4 +1,4 @@
|
|||||||
mod padfoot;
|
mod delta;
|
||||||
mod telepathy;
|
mod telepathy;
|
||||||
|
|
||||||
//use dbus::tree::{Interface, MTFn, MethodErr};
|
//use dbus::tree::{Interface, MTFn, MethodErr};
|
||||||
@@ -7,15 +7,15 @@ use dbus::{
|
|||||||
tree::{Factory, Interface, MTFn, Tree},
|
tree::{Factory, Interface, MTFn, Tree},
|
||||||
};
|
};
|
||||||
|
|
||||||
use padfoot::{CMData, ConnectionManager};
|
use delta::{CMData, ConnectionManager};
|
||||||
|
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
use anyhow::{anyhow, Result};
|
use anyhow::{anyhow, Result};
|
||||||
|
|
||||||
const BUS_NAME: &'static str = "org.freedesktop.Telepathy.ConnectionManager.padfoot";
|
const BUS_NAME: &'static str = "org.freedesktop.Telepathy.ConnectionManager.delta";
|
||||||
const OBJECT_PATH: &'static str = "/org/freedesktop/Telepathy/ConnectionManager/padfoot";
|
const OBJECT_PATH: &'static str = "/org/freedesktop/Telepathy/ConnectionManager/delta";
|
||||||
|
|
||||||
fn create_tree(cm: &Arc<ConnectionManager>) -> Tree<MTFn<CMData>, CMData> {
|
fn create_tree(cm: &Arc<ConnectionManager>) -> Tree<MTFn<CMData>, CMData> {
|
||||||
let f = Factory::new_fn();
|
let f = Factory::new_fn();
|
||||||
|
Reference in New Issue
Block a user