aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/Application.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-17 13:24:07 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-17 13:24:07 +1300
commit9f80fe9b90d9ddb1132c139072cfe3bac5a42491 (patch)
treefd8234a8cc7d7b5a7174dad6fe4c27c4017c0182 /src/org/traccar/web/client/Application.java
parent29b57a52c6a66075261d7e6d4797fa1bcc7c8cb8 (diff)
downloadtrackermap-web-9f80fe9b90d9ddb1132c139072cfe3bac5a42491.tar.gz
trackermap-web-9f80fe9b90d9ddb1132c139072cfe3bac5a42491.tar.bz2
trackermap-web-9f80fe9b90d9ddb1132c139072cfe3bac5a42491.zip
Added settings controller
Diffstat (limited to 'src/org/traccar/web/client/Application.java')
-rw-r--r--src/org/traccar/web/client/Application.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/traccar/web/client/Application.java b/src/org/traccar/web/client/Application.java
index 07e2586b..cd3424dd 100644
--- a/src/org/traccar/web/client/Application.java
+++ b/src/org/traccar/web/client/Application.java
@@ -20,6 +20,7 @@ import java.util.logging.Logger;
import org.traccar.web.client.controller.ArchiveController;
import org.traccar.web.client.controller.DeviceController;
import org.traccar.web.client.controller.MapController;
+import org.traccar.web.client.controller.SettingsController;
import org.traccar.web.client.controller.StateController;
import org.traccar.web.client.model.BaseStoreHandlers;
import org.traccar.web.client.model.DataService;
@@ -48,6 +49,7 @@ public class Application {
return logger;
}
+ private final SettingsController settingsController;
private final DeviceController deviceController;
private final StateController stateController;
private final MapController mapController;
@@ -56,7 +58,8 @@ public class Application {
private ApplicationView view;
public Application() {
- deviceController = new DeviceController(deviceHandler);
+ settingsController = new SettingsController();
+ deviceController = new DeviceController(deviceHandler, settingsController);
deviceController.getDeviceStore().addStoreHandlers(deviceStoreHandler);
stateController = new StateController();
mapController = new MapController(mapHandler);