Fix long-standing spelling bug.
[ardour.git] / libs / ardour / ardour / pannable.h
index c9b5389f5875c651519ee31406881e2086573b29..fd8ffe6c28b28e3a4f50b17e76dc030bea975ac5 100644 (file)
@@ -36,7 +36,7 @@ class Session;
 class AutomationControl;
 class Panner;
 
-class Pannable : public PBD::Stateful, public Automatable, public SessionHandleRef
+class LIBARDOUR_API Pannable : public PBD::Stateful, public Automatable, public SessionHandleRef
 {
   public:
        Pannable (Session& s);
@@ -68,11 +68,11 @@ class Pannable : public PBD::Stateful, public Automatable, public SessionHandleR
                return ((_auto_state & Write) || ((_auto_state & Touch) && touching()));
        }
 
-       std::string value_as_string (boost::shared_ptr<AutomationControl>) const;
+       std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
 
        void start_touch (double when);
        void stop_touch (bool mark, double when);
-       bool touching() const { return g_atomic_int_get (&_touching); }
+        bool touching() const { return g_atomic_int_get (const_cast<gint*>(&_touching)); }
        bool writing() const { return _auto_state == Write; }
        bool touch_enabled() const { return _auto_state == Touch; }