summaryrefslogtreecommitdiff
path: root/menucontrol.h
blob: 392d69679e3df14a7c315b046ea48ce1ef276464 (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
41
42
43
44
45
46
47
48
49
50
/*
 * playlist: A plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 * $Id: menucontrol.h 0.2 2004/10/08 02:34:00 hflor Exp $
 */

#ifndef __MENUCONTROL_H
#define __MENUCONTROL_H

#include "dataplaylist.h"
#include <vdr/menu.h>


// --- cReplayControlPlaylist -----------------------------------------------------------

class cReplayControlPlaylist : public cReplayControl {
public:
  cPlayer *GetPlayerPlaylist() { return cControl::player; }
  };

// --- cControlPlaylist -----------------------------------------------------------

class cControlPlaylist : public cControl {
private:
//  cPlaylistRecord *playlistrecord;
  cReplayControlPlaylist *replaycontrol;
  eOSState PlayRecording(cPlaylistRecord *PlaylistRecord, bool Visible = false);
  void UpdateRecording(void);
public:
  cControlPlaylist(void);
  virtual ~cControlPlaylist(void);
  virtual void Hide(void);
  virtual eOSState ProcessKey(eKeys Key);
  };

// --- cControlMenu -----------------------------------------------------------

class cControlMenu : public cOsdObject {
private:
  cOsdMenu *osdmenu;
public:
  cControlMenu(void);
  virtual ~cControlMenu(void);
  virtual void Show(void);
  virtual eOSState ProcessKey(eKeys Key);
  };

#endif //__MENUCONTROL_H