aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/Traccar.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/web/client/Traccar.java')
-rw-r--r--src/org/traccar/web/client/Traccar.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/org/traccar/web/client/Traccar.java b/src/org/traccar/web/client/Traccar.java
new file mode 100644
index 00000000..5d56d402
--- /dev/null
+++ b/src/org/traccar/web/client/Traccar.java
@@ -0,0 +1,19 @@
+package org.traccar.web.client;
+
+import org.traccar.web.client.controller.LoginController;
+
+import com.google.gwt.core.client.EntryPoint;
+
+public class Traccar implements EntryPoint, LoginController.LoginHandler {
+
+ @Override
+ public void onModuleLoad() {
+ new LoginController().login(this);
+ }
+
+ @Override
+ public void onLogin() {
+ new Application().run();
+ }
+
+}