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