diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-09 13:44:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-09 13:44:22 +0000 |
commit | e701adea419300f2cf7e760f14e7b17b9046b478 (patch) | |
tree | 5c2fe2575f023bf73767ec89dfa61efc9f2049c8 /libs/pbd | |
parent | e1d730705636c7219da711eb46cbaf157849f560 (diff) |
add code to display announcements, and parameterize several URL's used in the program
git-svn-id: svn://localhost/ardour2/branches/3.0@14197 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/openuri.cc | 5 | ||||
-rw-r--r-- | libs/pbd/pbd/openuri.h | 3 |
2 files changed, 8 insertions, 0 deletions
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 |