summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-12-08 10:44:43 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-12-08 10:44:43 +0100
commit0894e1da9104963958847b0ad65d64425ceec031 (patch)
tree0d262d58b6ae5ec8cd2228c47449eff8edba1d16
parentab88c4c85be6dbbe31489534462c53b5c2a0fb50 (diff)
Remove deprecated file afm.h
Change-Id: Ie524342b69d386c2d6f667dde7cde0d68a0d29c8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afm-binding.c1
-rw-r--r--src/afm-user-daemon.c3
-rw-r--r--src/afm.h22
3 files changed, 2 insertions, 24 deletions
diff --git a/src/afm-binding.c b/src/afm-binding.c
index 032e28f..508f6de 100644
--- a/src/afm-binding.c
+++ b/src/afm-binding.c
@@ -27,7 +27,6 @@
#include "verbose.h"
#include "utils-systemd.h"
-#include "afm.h"
#include "afm-udb.h"
#include "afm-urun.h"
#include "wgt-info.h"
diff --git a/src/afm-user-daemon.c b/src/afm-user-daemon.c
index aa5ed83..c06b839 100644
--- a/src/afm-user-daemon.c
+++ b/src/afm-user-daemon.c
@@ -30,11 +30,12 @@
#include <afb/afb-ws-client.h>
#include <afb/afb-proto-ws.h>
-#include "afm.h"
#include "verbose.h"
#include "utils-jbus.h"
#include "utils-json.h"
+#define AFM_USER_DBUS_PATH "/org/AGL/afm/user"
+
/*
* name of the application
*/
diff --git a/src/afm.h b/src/afm.h
deleted file mode 100644
index 3f75634..0000000
--- a/src/afm.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- Copyright 2015, 2016, 2017 IoT.bzh
-
- author: José Bollo <jose.bollo@iot.bzh>
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#define AFM_DBUS_PATH "/org/AGL/afm"
-#define AFM_SYSTEM_DBUS_PATH AFM_DBUS_PATH"/system"
-#define AFM_USER_DBUS_PATH AFM_DBUS_PATH"/user"
-