aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/activity/INavigationSource.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/activity/INavigationSource.java')
-rw-r--r--main/src/cgeo/geocaching/activity/INavigationSource.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/activity/INavigationSource.java b/main/src/cgeo/geocaching/activity/INavigationSource.java
new file mode 100644
index 0000000..eb18d87
--- /dev/null
+++ b/main/src/cgeo/geocaching/activity/INavigationSource.java
@@ -0,0 +1,20 @@
+package cgeo.geocaching.activity;
+
+/**
+ * Interface to implement by activities that want to utilize the NavigationActionProvider
+ *
+ * @author rsudev
+ *
+ */
+public interface INavigationSource {
+
+ /**
+ * Calls the default navigation in the current context
+ */
+ void startDefaultNavigation();
+
+ /**
+ * Calls the second default navigation in the current context
+ */
+ void startDefaultNavigation2();
+}