summaryrefslogtreecommitdiff
path: root/status.h
blob: b78e2911dd903e25a6c5c30e85660aec7322b9d7 (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
//////////////////////////////////////////////////////////////////////////////
///                                                                        ///
/// This file is part of the VDR mpv plugin and licensed under AGPLv3      ///
///                                                                        ///
/// See the README file for copyright information                          ///
///                                                                        ///
//////////////////////////////////////////////////////////////////////////////

#ifndef __MPV_STATUS_H
#define __MPV_STATUS_H

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

class cMpvStatus:public cStatus
{
  private:
    int Volume; // current volume
    cMpvPlayer *Player;

  public:
    cMpvStatus(cMpvPlayer *player);

  protected:
    virtual void SetVolume(int volume, bool absolute); // volume changed
};

#endif