summaryrefslogtreecommitdiff
path: root/setupmenu.h
blob: edd2ee8f6875c0398c614f2899f81ee8bb398b7b (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
35
36
37
38
39
40
/*
 * sndctl  -  a plugin for the Video Disk Recorder
 *        file: setupmenu.h
 * description: header file for setupmenu.c
 *
 *      author: Thomas Hildebrandt <toxym@web.de>
 *
 * inspired by and reengineered from 'avolctl'
 * thanks to Martin Prochnow <nordlichtl@martins-kabuff.de>
 */

#ifndef SNDCTL_SETUPMENU_H
#define SNDCTL_SETUPMENU_H

/*
 * cSetupMenuSndctl
 * the OSD menu page for this plugin
 */
class cSetupMenuSndctl:public cMenuSetupPage {
  private:
    string         defSoundSet;
    string         ddAutoSoundSet;
    int            ddAutoSwitch;
    int            hideMainMenuEntry;
    int            initVolume;
    int            muteOnEnd;
    int            soundflash;
    char          *menuname;
    cPluginSndctl *plugin;

    void Set();

  protected:
    virtual void Store( void );

  public:
    cSetupMenuSndctl( cPluginSndctl* );
};

#endif //SNDCTL_SETUPMENU_H