Compare commits

..

1 Commits

Author SHA1 Message Date
5328ae9bd6 Initial checkin 2020-05-09 01:48:14 +01:00
4 changed files with 4 additions and 4 deletions

View File

@@ -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();