]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/ExternalTools.java
Version 7, February 2009
[GpsPrune.git] / tim / prune / ExternalTools.java
index 36c496a6e24229603769d5ff8405cc397ff645f8..22291fb122968331a6f1a52b28d4f9fc56782cb7 100644 (file)
@@ -37,6 +37,15 @@ public abstract class ExternalTools
                return check("gpsbabel -V");
        }
 
+       /**
+        * Attempt to call gnuplot to see if it's installed / available in path
+        * @return true if found, false otherwise
+        */
+       public static boolean isGnuplotInstalled()
+       {
+               return check(Config.getGnuplotPath() + " -V");
+       }
+
        /**
         * Attempt to call the specified command
         * @return true if found, false otherwise