Merge branch 'noppc' of https://github.com/mojofunk/ardour into cairocanvas
[ardour.git] / libs / pbd / pbd / tokenizer.h
index b80e3eac4a4dcd7043c2cdb1320fcb5f021be3df..325347351962d18fd97e446fcb9f930d255039b5 100644 (file)
@@ -1,10 +1,30 @@
+/*
+    Copyright (C) 2000-2007 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 PBD_TOKENIZER
 #define PBD_TOKENIZER
 
 #include <iterator>
 #include <string>
 
-#include <pbd/whitespace.h>
+#include "pbd/libpbd_visibility.h"
+#include "pbd/whitespace.h"
 
 namespace PBD {
 
@@ -17,7 +37,7 @@ namespace PBD {
        are discarded.
 */
 template<typename StringType, typename Iter>
-unsigned int
+/*LIBPBD_API*/ unsigned int
 tokenize(const StringType& str,        
         const StringType& delims,
         Iter it,