]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/options.hxx
Interim windows build fix
[flightgear.git] / src / Main / options.hxx
index 5fab50fe7e97e11eac924311c0d8f42eb0e63540..a74e1a15bf2d82797cdc982653c667b41a01c564 100644 (file)
@@ -35,6 +35,15 @@ class SGPath;
 namespace flightgear
 {
 
+    /**
+     * return the default platform dependant download directory.
+     * This must be a user-writeable location, the question is if it should
+     * be a user visible location. On Windows we default to a subdir of
+     * Documents (FlightGear), on Unixes we default to FG_HOME, which is
+     * typically invisible.
+     */
+    std::string defaultDownloadDir();
+
 /// option processing can have various result values
 /// depending on what the user requested. Note processOptions only
 /// returns a subset of these.