Project

General

Profile

Feature #107 ยป is-menu.diff

patch for current head - Anonymous, 03/17/2009 11:36 PM

View differences:

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"
    (1-1/1)