backport 1d85ab27a7e and ba128eea from cairocanvas branch to remove GIO (possible...
[ardour.git] / libs / pbd / pbd / openuri.h
index 34b8da4867ba806d5f5895b5bc4be763987631fc..ec17b5a34ab784b479d311fa21415386c88e5dff 100644 (file)
@@ -1,8 +1,30 @@
+/*
+    Copyright (C) 2012 Paul Davis 
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
 #ifndef __libpbd_openuri_h__
 #define __libpbd_openuri_h__
 
+#include <string>
+
 namespace PBD {
         bool open_uri (const char*);
+        bool open_uri (const std::string&);
 }
 
 #endif