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

#ifndef SNDCTL_SETUP_H
#define SNDCTL_SETUP_H

#include "sndctl.h"

/*
 * cSetupSndctl
 * setup class definition
 */
class cSetupSndctl {
  private:
    map<string,string> items;
    vector<string>     parameters;

  public:
    cSetupSndctl();

    string Get( string );
    bool   GetBool( string );
    int    GetInt( string );
    bool   Set( string, string, cSoundMan* = NULL );
    bool   Store( cPluginSndctl* );
};

#endif //SNDCTL_SETUP_H