Added path.cc and tokenizer.h from win32 branch.
[ardour.git] / libs / pbd3 / transmitter.cc
index 63f676a04fe7b64c3c636b6fec3592751c59a62b..876a9d86e5353cb70e7abcc0f40dc09f36ed31d3 100644 (file)
 #include <string>
 
 #include <pbd/transmitter.h>
+#include <pbd/error.h>
 
 using std::string;
 using std::ios;
 
-Transmitter  error (Transmitter::Error);
-Transmitter  info (Transmitter::Info);
-Transmitter  fatal (Transmitter::Fatal);
-Transmitter  warning (Transmitter::Warning);
-
 Transmitter::Transmitter (Channel c)
-
 {
        channel = c;
        switch (c) {
@@ -110,11 +105,11 @@ Transmitter::does_not_return ()
        }
 }
 
+
 extern "C" {
   void pbd_c_error (const char *str)
  
   {
-       extern Transmitter error;
-       error << str << endmsg;
+       PBD::error << str << endmsg;
   }
 }