1 |
// qsamplerDeviceForm.h |
// qsamplerDeviceForm.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2012, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, Christian Schoenebeck |
Copyright (C) 2007, Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
30 |
|
|
31 |
namespace QSampler { |
namespace QSampler { |
32 |
|
|
33 |
class MainForm; |
//------------------------------------------------------------------------- |
34 |
|
// QSampler::DeviceForm -- Device form interface. |
35 |
|
// |
36 |
|
|
37 |
class DeviceForm : public QDialog |
class DeviceForm : public QDialog |
38 |
{ |
{ |
43 |
DeviceForm(QWidget *pParent = NULL, Qt::WindowFlags wflags = 0); |
DeviceForm(QWidget *pParent = NULL, Qt::WindowFlags wflags = 0); |
44 |
~DeviceForm(); |
~DeviceForm(); |
45 |
|
|
46 |
void setDeviceTypeMode(qsamplerDevice::DeviceType deviceType); |
void setDeviceTypeMode(Device::DeviceType deviceType); |
47 |
void setDriverName(const QString& sDriverName); |
void setDriverName(const QString& sDriverName); |
48 |
void setDevice(qsamplerDevice *pDevice); |
void setDevice(Device *pDevice); |
49 |
|
|
50 |
public slots: |
public slots: |
51 |
|
|
90 |
int m_iDirtySetup; |
int m_iDirtySetup; |
91 |
int m_iDirtyCount; |
int m_iDirtyCount; |
92 |
bool m_bNewDevice; |
bool m_bNewDevice; |
93 |
qsamplerDevice::DeviceType m_deviceType; |
Device::DeviceType m_deviceType; |
94 |
qsamplerDevice::DeviceType m_deviceTypeMode; |
Device::DeviceType m_deviceTypeMode; |
95 |
qsamplerDeviceItem *m_pAudioItems; |
DeviceItem *m_pAudioItems; |
96 |
qsamplerDeviceItem *m_pMidiItems; |
DeviceItem *m_pMidiItems; |
97 |
}; |
}; |
98 |
|
|
99 |
} // namespace QSampler |
} // namespace QSampler |