summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gnuradio/sys_paths.h
diff options
context:
space:
mode:
authorMarcus Müller <marcus.mueller@ettus.com>2016-05-07 17:14:49 +0200
committerMarcus Müller <marcus.mueller@ettus.com>2016-05-07 17:14:49 +0200
commit438fb307a0b593706a212a3cd6e16f217a8704d0 (patch)
tree2d8c41697fec83e9ea3274ecf1133be7bec8a225 /gnuradio-runtime/include/gnuradio/sys_paths.h
parent6aa995a5477feea1b6f9ef1f49c3045c25d147b1 (diff)
added user settings directory as a gr::-accessible path
* removing a bit of "magic paths" in prefs.cc * added constant
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/sys_paths.h')
-rw-r--r--gnuradio-runtime/include/gnuradio/sys_paths.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnuradio-runtime/include/gnuradio/sys_paths.h b/gnuradio-runtime/include/gnuradio/sys_paths.h
index 1bd2e0deb7..efea07b599 100644
--- a/gnuradio-runtime/include/gnuradio/sys_paths.h
+++ b/gnuradio-runtime/include/gnuradio/sys_paths.h
@@ -32,6 +32,9 @@ namespace gr {
//! directory to store application data
GR_RUNTIME_API const char *appdata_path();
+ //! directory to store user configuration
+ GR_RUNTIME_API const char *userconf_path();
+
} /* namespace gr */
#endif /* GR_SYS_PATHS_H */