Vkeybd: use ArdourWidgets for all GUI elements
[ardour.git] / gtk2_ardour / luasignal_syms.h
1 /*
2  * Copyright (C) 2016-2017 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2016-2018 Robin Gareus <robin@gareus.org>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19
20 // editor
21 #if 0
22 STATIC(SessionLoad, &, 0)
23 STATIC(SessionClose, &, 0)
24 #endif
25 STATIC(ConfigChanged, &ARDOUR::Config->ParameterChanged, 1)
26
27 // engine instance
28 ENGINE(EngineRunning, Running, 0)
29 ENGINE(EngineStopped, Stopped, 0)
30 ENGINE(EngineHalted, Halted, 1)
31 ENGINE(EngineDeviceListChanged, DeviceListChanged, 0)
32 ENGINE(BufferSizeChanged, BufferSizeChanged, 1)
33 ENGINE(SampleRateChanged, SampleRateChanged, 1)
34
35 // session static
36 STATIC(FeedbackDetected, &ARDOUR::Session::FeedbackDetected, 0)
37 STATIC(SuccessfulGraphSort, &ARDOUR::Session::SuccessfulGraphSort, 0)
38 STATIC(StartTimeChanged, &ARDOUR::Session::StartTimeChanged, 1)
39 STATIC(EndTimeChanged, &ARDOUR::Session::EndTimeChanged, 1)
40 STATIC(Exported, &ARDOUR::Session::Exported, 2)
41
42 // stripable static globals
43 STATIC(Change, &PresentationInfo::Change, 0)
44
45 // session specific (re-subscribe when session changes)
46 SESSION(SessionConfigChanged, config.ParameterChanged, 1)
47 SESSION(TransportStateChange, TransportStateChange, 0)
48 SESSION(DirtyChanged, DirtyChanged, 0)
49 SESSION(StateSaved, StateSaved, 1)
50 SESSION(Xrun, Xrun, 1)
51 SESSION(TransportLooped, TransportLooped, 0)
52 SESSION(SoloActive, SoloActive, 1)
53 SESSION(SoloChanged, SoloChanged, 0)
54 SESSION(IsolatedChanged, IsolatedChanged, 0)
55 SESSION(MonitorChanged, MonitorChanged, 0)
56 SESSION(RecordStateChanged, RecordStateChanged, 0)
57 SESSION(RecordArmStateChanged, RecordArmStateChanged, 0)
58 SESSION(AudioLoopLocationChanged, auto_loop_location_changed, 1)
59 SESSION(AudioPunchLocationChanged, auto_punch_location_changed, 1)
60 SESSION(LocationsModified, locations_modified, 0)
61 SESSION(AuditionActive, AuditionActive, 1)
62 SESSION(BundleAddedOrRemoved, BundleAddedOrRemoved, 0)
63 SESSION(PositionChanged, PositionChanged, 1)
64 SESSION(Located, Located, 0)
65 SESSION(RoutesReconnected, session_routes_reconnected, 0)
66 SESSION(RouteAdded, RouteAdded, 1)
67 SESSION(RouteGroupPropertyChanged, RouteGroupPropertyChanged, 1)
68 SESSION(RouteAddedToRouteGroup, RouteAddedToRouteGroup, 2)
69 SESSION(RouteRemovedFromRouteGroup, RouteRemovedFromRouteGroup, 2)
70 SESSION(StepEditStatusChange, StepEditStatusChange, 1)
71 SESSION(RouteGroupAdded, route_group_added, 1)
72 SESSION(RouteGroupRemoved, route_group_removed, 0)
73 SESSION(RouteGroupsReordered, route_groups_reordered, 0)
74
75 // plugin manager instance
76 STATIC(PluginListChanged, &(PluginManager::instance().PluginListChanged), 0)
77 STATIC(PluginStatusChanged, &(PluginManager::instance().PluginStatusChanged), 3)
78 //STATIC(PluginStatusesChanged, &(PluginManager::instance().PluginTagsChanged), 3)
79
80 // Diskstream static global
81 STATIC(DiskOverrun, &ARDOUR::DiskWriter::Overrun, 0)
82 STATIC(DiskUnderrun, &ARDOUR::DiskReader::Underrun, 0)
83
84 // Region static
85 STATIC(RegionPropertyChanged, &ARDOUR::Region::RegionPropertyChanged, 2)
86
87 // Timers
88 STATIC(LuaTimerS,  &LuaInstance::LuaTimerS, 0)
89 STATIC(LuaTimerDS, &LuaInstance::LuaTimerDS, 0)
90
91 // Session load
92 STATIC(SetSession, &LuaInstance::SetSession, 0)
93
94 // TODO per track/route signals,
95 // TODO per plugin actions / controllables
96 // TODO per region actions
97 //SESSIONOBJECT(PropertyChanged, &ARDOUR::Stateful::PropertyChanged, 1)
98
99 // TODO any location action