Feature #107 ยป is-menu.diff
| infosatepg.cpp (working copy) | ||
|---|---|---|
|
*/
|
||
|
#include <vdr/plugin.h>
|
||
|
#include <vdr/menu.h>
|
||
|
#include <vdr/device.h>
|
||
|
#include <vdr/channels.h>
|
||
|
#include <vdr/transfer.h>
|
||
| ... | ... | |
|
cOsdObject *cPluginInfosatepg::MainMenuAction(void)
|
||
|
{
|
||
|
// Perform the action when selected from the main VDR menu.
|
||
|
return NULL;
|
||
|
// Show infosatepg statistics
|
||
|
int reply;
|
||
|
const char* cmd = "STAT";
|
||
|
cString status = (SVDRPCommand(cmd, NULL, reply));
|
||
|
return new cMenuText("infosatepg Status", *status, fontFix);
|
||
|
}
|
||
|
cMenuSetupPage *cPluginInfosatepg::SetupMenu(void)
|
||
| infosatepg.h (working copy) | ||
|---|---|---|
|
#ifndef __infosatepg_h_
|
||
|
#define __infosatepg_h_
|
||
|
#include <vdr/plugin.h>
|
||
|
#include "global.h"
|
||
|
#include "status.h"
|
||
|
#include "process.h"
|
||