10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #include <QtCore/qplugin.h> 13 #if !defined(Q_MOC_OUTPUT_REVISION) 14 #error "The header file 'ossoutput.h' doesn't include <QObject>." 15 #elif Q_MOC_OUTPUT_REVISION != 67 16 #error "This file was generated using the moc from 5.9.1. It" 17 #error "cannot be used with the include files from this version of Qt." 18 #error "(The moc has changed too much.)" 21 QT_BEGIN_MOC_NAMESPACE
23 QT_WARNING_DISABLE_DEPRECATED
24 struct qt_meta_stringdata_drumstick__rt__OSSOutput_t {
25 QByteArrayData data[19];
26 char stringdata0[198];
28 #define QT_MOC_LITERAL(idx, ofs, len) \ 29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 30 qptrdiff(offsetof(qt_meta_stringdata_drumstick__rt__OSSOutput_t, stringdata0) + ofs \ 31 - idx * sizeof(QByteArrayData)) \ 33 static const qt_meta_stringdata_drumstick__rt__OSSOutput_t qt_meta_stringdata_drumstick__rt__OSSOutput = {
35 QT_MOC_LITERAL(0, 0, 24),
36 QT_MOC_LITERAL(1, 25, 11),
37 QT_MOC_LITERAL(2, 37, 0),
38 QT_MOC_LITERAL(3, 38, 4),
39 QT_MOC_LITERAL(4, 43, 4),
40 QT_MOC_LITERAL(5, 48, 3),
41 QT_MOC_LITERAL(6, 52, 10),
42 QT_MOC_LITERAL(7, 63, 15),
43 QT_MOC_LITERAL(8, 79, 5),
44 QT_MOC_LITERAL(9, 85, 14),
45 QT_MOC_LITERAL(10, 100, 7),
46 QT_MOC_LITERAL(11, 108, 11),
47 QT_MOC_LITERAL(12, 120, 7),
48 QT_MOC_LITERAL(13, 128, 19),
49 QT_MOC_LITERAL(14, 148, 13),
50 QT_MOC_LITERAL(15, 162, 9),
51 QT_MOC_LITERAL(16, 172, 4),
52 QT_MOC_LITERAL(17, 177, 13),
53 QT_MOC_LITERAL(18, 191, 6)
56 "drumstick::rt::OSSOutput\0sendNoteOff\0" 57 "\0chan\0note\0vel\0sendNoteOn\0sendKeyPressure\0" 58 "value\0sendController\0control\0sendProgram\0" 59 "program\0sendChannelPressure\0sendPitchBend\0" 60 "sendSysex\0data\0sendSystemMsg\0status" 64 static const uint qt_meta_data_drumstick__rt__OSSOutput[] = {
89 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
90 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
91 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 8,
92 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 10, 8,
93 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 12,
94 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
95 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
96 QMetaType::Void, QMetaType::QByteArray, 16,
97 QMetaType::Void, QMetaType::Int, 18,
102 void drumstick::rt::OSSOutput::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
104 if (_c == QMetaObject::InvokeMetaMethod) {
105 OSSOutput *_t =
static_cast<OSSOutput *
>(_o);
108 case 0: _t->sendNoteOff((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
109 case 1: _t->sendNoteOn((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
110 case 2: _t->sendKeyPressure((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
111 case 3: _t->sendController((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
112 case 4: _t->sendProgram((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
113 case 5: _t->sendChannelPressure((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
114 case 6: _t->sendPitchBend((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
115 case 7: _t->sendSysex((*
reinterpret_cast< const QByteArray(*)
>(_a[1])));
break;
116 case 8: _t->sendSystemMsg((*
reinterpret_cast< const int(*)
>(_a[1])));
break;
122 const QMetaObject drumstick::rt::OSSOutput::staticMetaObject = {
123 { &MIDIOutput::staticMetaObject, qt_meta_stringdata_drumstick__rt__OSSOutput.data,
124 qt_meta_data_drumstick__rt__OSSOutput, qt_static_metacall,
nullptr,
nullptr}
128 const QMetaObject *drumstick::rt::OSSOutput::metaObject()
const 130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
133 void *drumstick::rt::OSSOutput::qt_metacast(
const char *_clname)
135 if (!_clname)
return nullptr;
136 if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__OSSOutput.stringdata0))
137 return static_cast<void*
>(
const_cast< OSSOutput*
>(
this));
138 if (!strcmp(_clname,
"net.sourceforge.drumstick.rt.MIDIOutput/1.0"))
139 return static_cast< drumstick::rt::MIDIOutput*>(const_cast< OSSOutput*>(
this));
140 return MIDIOutput::qt_metacast(_clname);
143 int drumstick::rt::OSSOutput::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
145 _id = MIDIOutput::qt_metacall(_c, _id, _a);
148 if (_c == QMetaObject::InvokeMetaMethod) {
150 qt_static_metacall(
this, _c, _id, _a);
152 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
154 *
reinterpret_cast<int*
>(_a[0]) = -1;
160 QT_PLUGIN_METADATA_SECTION
const uint qt_section_alignment_dummy = 42;
164 QT_PLUGIN_METADATA_SECTION
165 static const unsigned char qt_pluginMetaData[] = {
166 'Q',
'T',
'M',
'E',
'T',
'A',
'D',
'A',
'T',
'A',
' ',
' ',
167 'q',
'b',
'j',
's', 0x01, 0x00, 0x00, 0x00,
168 0xac, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
169 0x98, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
170 0x03, 0x00,
'I',
'I',
'D', 0x00, 0x00, 0x00,
171 '\'', 0x00,
'n',
'e',
't',
'.',
's',
'o',
172 'u',
'r',
'c',
'e',
'f',
'o',
'r',
'g',
173 'e',
'.',
'd',
'r',
'u',
'm',
's',
't',
174 'i',
'c',
'k',
'.',
'r',
't',
'.',
'M',
175 'I',
'D',
'I',
'O',
'u',
't',
'p',
'u',
176 't', 0x00, 0x00, 0x00, 0x9b, 0x0a, 0x00, 0x00,
177 0x09, 0x00,
'c',
'l',
'a',
's',
's',
'N',
178 'a',
'm',
'e', 0x00, 0x09, 0x00,
'O',
'S',
179 'S',
'O',
'u',
't',
'p',
'u',
't', 0x00,
180 ':',
' ', 0xa1, 0x00, 0x07, 0x00,
'v',
'e',
181 'r',
's',
'i',
'o',
'n', 0x00, 0x00, 0x00,
182 0x11, 0x00, 0x00, 0x00, 0x05, 0x00,
'd',
'e',
183 'b',
'u',
'g', 0x00, 0x95, 0x11, 0x00, 0x00,
184 0x08, 0x00,
'M',
'e',
't',
'a',
'D',
'a',
185 't',
'a', 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
186 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
187 0x0c, 0x00, 0x00, 0x00,
'|', 0x00, 0x00, 0x00,
188 'D', 0x00, 0x00, 0x00,
'p', 0x00, 0x00, 0x00,
189 '`', 0x00, 0x00, 0x00
194 QT_PLUGIN_METADATA_SECTION
195 static const unsigned char qt_pluginMetaData[] = {
196 'Q',
'T',
'M',
'E',
'T',
'A',
'D',
'A',
'T',
'A',
' ',
' ',
197 'q',
'b',
'j',
's', 0x01, 0x00, 0x00, 0x00,
198 0xac, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
199 0x98, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
200 0x03, 0x00,
'I',
'I',
'D', 0x00, 0x00, 0x00,
201 '\'', 0x00,
'n',
'e',
't',
'.',
's',
'o',
202 'u',
'r',
'c',
'e',
'f',
'o',
'r',
'g',
203 'e',
'.',
'd',
'r',
'u',
'm',
's',
't',
204 'i',
'c',
'k',
'.',
'r',
't',
'.',
'M',
205 'I',
'D',
'I',
'O',
'u',
't',
'p',
'u',
206 't', 0x00, 0x00, 0x00, 0x95, 0x0a, 0x00, 0x00,
207 0x08, 0x00,
'M',
'e',
't',
'a',
'D',
'a',
208 't',
'a', 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
209 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
210 0x1b, 0x0e, 0x00, 0x00, 0x09, 0x00,
'c',
'l',
211 'a',
's',
's',
'N',
'a',
'm',
'e', 0x00,
212 0x09, 0x00,
'O',
'S',
'S',
'O',
'u',
't',
213 'p',
'u',
't', 0x00,
'1', 0x00, 0x00, 0x00,
214 0x05, 0x00,
'd',
'e',
'b',
'u',
'g', 0x00,
215 ':',
' ', 0xa1, 0x00, 0x07, 0x00,
'v',
'e',
216 'r',
's',
'i',
'o',
'n', 0x00, 0x00, 0x00,
217 0x0c, 0x00, 0x00, 0x00,
'D', 0x00, 0x00, 0x00,
218 '`', 0x00, 0x00, 0x00,
'|', 0x00, 0x00, 0x00,
219 0x88, 0x00, 0x00, 0x00
221 #endif // QT_NO_DEBUG 225 QT_MOC_EXPORT_PLUGIN(drumstick::rt::OSSOutput, OSSOutput)
The QObject class is the base class of all Qt objects.