You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.7 KiB
46 lines
1.7 KiB
15 years ago
|
/***************************************************************************
|
||
|
alsa-config-mixer-setting.h - description
|
||
|
-------------------
|
||
|
begin : Mon Aug 15 2005
|
||
|
copyright : (C) 2005 by Martin Witte
|
||
|
email : witte@kawo1.rwth-aachen.de
|
||
|
***************************************************************************/
|
||
|
|
||
|
/***************************************************************************
|
||
|
* *
|
||
|
* 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. *
|
||
|
* *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef __KRADIO_ALSA_CONFIG_MIXER_SETTING_H
|
||
|
#define __KRADIO_ALSA_CONFIG_MIXER_SETTING_H
|
||
|
|
||
14 years ago
|
#include <tqstring.h>
|
||
15 years ago
|
|
||
12 years ago
|
class TDEConfig;
|
||
15 years ago
|
|
||
|
class AlsaConfigMixerSetting
|
||
|
{
|
||
|
public:
|
||
|
AlsaConfigMixerSetting();
|
||
12 years ago
|
AlsaConfigMixerSetting(TDEConfig *c, const TQString &prefix);
|
||
14 years ago
|
AlsaConfigMixerSetting(int card, const TQString &name, bool use, bool active, float volume);
|
||
15 years ago
|
~AlsaConfigMixerSetting();
|
||
|
|
||
14 years ago
|
TQString getIDString() const { return getIDString(m_card, m_name); }
|
||
|
static TQString getIDString(int card, const TQString &m_name);
|
||
15 years ago
|
|
||
12 years ago
|
void saveState(TDEConfig *c, const TQString &prefix) const;
|
||
15 years ago
|
|
||
|
int m_card;
|
||
14 years ago
|
TQString m_name;
|
||
15 years ago
|
bool m_use;
|
||
|
bool m_active;
|
||
|
float m_volume;
|
||
|
};
|
||
|
|
||
|
#endif
|