summaryrefslogtreecommitdiff
path: root/status.h
blob: 3ab7fb0f6b556881086f5470d961e9d7ce4740f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * sndctl  -  a plugin for the Video Disk Recorder
 *        file: status.h
 * description: header file for status.c
 *
 *      author: Thomas Hildebrandt <toxym@web.de>
 *
 * inspired by and reengineered from 'avolctl'
 * thanks to Martin Prochnow <nordlichtl@martins-kabuff.de>
 */

#ifndef SNDCTL_STATUS_H
#define SNDCTL_STATUS_H

#include <vdr/status.h>
#include "soundman.h"

/*
 * cStatusSndctl
 * status monitor class definition
 */
class cStatusSndctl : public cStatus {
  private:
    cSoundMan *soundman;

  protected:
    virtual void SetAudioTrack( int, const char* const* );
    virtual void SetVolume( int, bool );

  public:
    cStatusSndctl( const cSoundMan *Soundman );
};

#endif //SNDCTL_STATUS_H