summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/ardour/rc_configuration_vars.h8
-rw-r--r--libs/pbd/openuri.cc5
-rw-r--r--libs/pbd/pbd/openuri.h3
3 files changed, 16 insertions, 0 deletions
diff --git a/libs/ardour/ardour/rc_configuration_vars.h b/libs/ardour/ardour/rc_configuration_vars.h
index c153bfd34a..1564d01315 100644
--- a/libs/ardour/ardour/rc_configuration_vars.h
+++ b/libs/ardour/ardour/rc_configuration_vars.h
@@ -206,3 +206,11 @@ CONFIG_VARIABLE (bool, use_tooltips, "use-tooltips", true)
CONFIG_VARIABLE (std::string, mixer_strip_visibility, "mixer-strip-visibility", "PhaseInvert,SoloSafe,SoloIsolated,Group,MeterPoint")
CONFIG_VARIABLE (bool, allow_non_quarter_pulse, "allow-non-quarter-pulse", false)
CONFIG_VARIABLE (bool, show_region_gain, "show-region-gain", false)
+
+/* web addresses used in the program */
+
+CONFIG_VARIABLE (std::string, osx_pingback_url, "osx-pingback-url", "https://community.ardour.org/pingback/osx/")
+CONFIG_VARIABLE (std::string, linux_pingback_url, "linux-pingback-url", "https://community.ardour.org/pingback/linux/")
+CONFIG_VARIABLE (std::string, tutorial_manual_url, "tutorial-manual-url", "http://ardour.org/flossmanual")
+CONFIG_VARIABLE (std::string, reference_manual_url, "reference-manual-url", "http://manual.ardour.org/")
+CONFIG_VARIABLE (std::string, updates_url, "updates-url", "http://ardour.org/whatsnew.html")
diff --git a/libs/pbd/openuri.cc b/libs/pbd/openuri.cc
index a43c78a792..45154d0ad1 100644
--- a/libs/pbd/openuri.cc
+++ b/libs/pbd/openuri.cc
@@ -55,3 +55,8 @@ PBD::open_uri (const char* uri)
#endif
}
+bool
+PBD::open_uri (const std::string& uri)
+{
+ return open_uri (uri.c_str());
+}
diff --git a/libs/pbd/pbd/openuri.h b/libs/pbd/pbd/openuri.h
index 0e74c6da90..ec17b5a34a 100644
--- a/libs/pbd/pbd/openuri.h
+++ b/libs/pbd/pbd/openuri.h
@@ -20,8 +20,11 @@
#ifndef __libpbd_openuri_h__
#define __libpbd_openuri_h__
+#include <string>
+
namespace PBD {
bool open_uri (const char*);
+ bool open_uri (const std::string&);
}
#endif