/*
* Copyright (C) 2017 Robin Gareus <robin@gareus.org>
- * Copyright (C) 2015 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 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef ardour_surface_faderport8_h
class PluginInsert;
}
-namespace ArdourSurface {
+namespace ArdourSurface { namespace FP_NAMESPACE {
struct FaderPort8Request : public BaseUI::BaseRequestObject
{
void notify_pi_property_changed (const PBD::PropertyChange&);
void notify_stripable_property_changed (boost::weak_ptr<ARDOUR::Stripable>, const PBD::PropertyChange&);
void stripable_selection_changed ();
+ void subscribe_to_strip_signals ();
PBD::ScopedConnection selection_connection;
- PBD::ScopedConnectionList automation_state_connections;
+ PBD::ScopedConnectionList route_state_connections;
PBD::ScopedConnectionList modechange_connections;
/* **************************************************************************/
struct ProcessorCtrl {
void notify_history_changed ();
void notify_solo_changed ();
void notify_mute_changed ();
- void notify_automation_mode_changed ();
+ void notify_route_state_changed ();
void notify_plugin_active_changed ();
/* actions */
void button_prev_next (bool);
void button_action (const std::string& group, const std::string& item);
+ void button_chanlock (); /* FP2 only */
+ void button_flip (); /* FP2 only */
+
void button_encoder ();
void button_parameter ();
void encoder_navigate (bool, int);
bool _link_enabled;
bool _link_locked; // can only be true if _link_enabled
+ bool _chan_locked; /* FP2 only */
+
/* user prefs */
uint32_t _clock_mode;
uint32_t _scribble_mode;
UserActionMap _user_action_map;
};
-} /* namespace */
+} } /* namespace */
#endif /* ardour_surface_faderport8_h */