From 438fb307a0b593706a212a3cd6e16f217a8704d0 Mon Sep 17 00:00:00 2001
From: Marcus Müller <marcus.mueller@ettus.com>
Date: Sat, 7 May 2016 17:14:49 +0200
Subject: added user settings directory as a gr::-accessible path

* removing a bit of "magic paths" in prefs.cc
* added constant
---
 gnuradio-runtime/include/gnuradio/sys_paths.h | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'gnuradio-runtime/include/gnuradio/sys_paths.h')

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 */
-- 
cgit v1.2.3