Add a couple of pthread helper macros
[ardour.git] / libs / pbd / pbd / epa.h
index ffcd78504a93e4806b5b443175b2278e65e5dd11..6d305c5c4cba2b80d87892f6a62496b6d4e00e5b 100644 (file)
 #include <map>
 #include <string>
 
+#include "pbd/libpbd_visibility.h"
+
 namespace PBD {
 
-class EnvironmentalProtectionAgency {
+class LIBPBD_API EnvironmentalProtectionAgency {
   public:
         EnvironmentalProtectionAgency (bool arm = true, const std::string& envname = std::string());
         ~EnvironmentalProtectionAgency ();
@@ -38,6 +40,8 @@ class EnvironmentalProtectionAgency {
         static void set_global_epa (EnvironmentalProtectionAgency* epa) { _global_epa = epa; }
         
   private:
+        void clear () const;
+               
         bool _armed;
         std::string _envname;
         std::map<std::string,std::string> e;