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