summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2005-08-21 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2005-08-21 18:00:00 +0200
commitdab203efe9e24f1dade33ee1da6a39b26f8501f0 (patch)
tree9399cbee3798f5232eddca484e118275fe8e472e /newplugin
parentddd1e13e53c4970058884e2af31c2681617e7bf3 (diff)
downloadvdr-patch-lnbsharing-vdr-1.3.30.tar.gz
vdr-patch-lnbsharing-vdr-1.3.30.tar.bz2
Version 1.3.30vdr-1.3.30
- Improved responsiveness inside CAM menus. - Added handling of the 'Close MMI' tag to avoid error log messages with CAMs that actually use it. - Now waiting at startup until all DVB devices are ready. This includes having all CAMs initialized and ready to decrypt, so that no more "channel not available" happens if VDR is started with the current channel being an encrypted one, or a timer on such a channel hits right after starting VDR. - Fixed cVideoRepacker to better handle errors in data (thanks to Reinhard Nissl). - Fixed cDvbTuner to avoid lockups on NPTL systems (thanks to Marcel Wiesweg). - Added 'Service' functions to the plugin interface (thanks to Udo Richter). See PLUGINS.html, section "Custom services" for details. - Replaced the get/put_unaligned() macros from <asm/unaligned.h> with own inline functions to avoid problems on platforms that don't provide these (thanks to David Woodhouse for his help).
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin9
1 files changed, 8 insertions, 1 deletions
diff --git a/newplugin b/newplugin
index 4a92159..8badddf 100755
--- a/newplugin
+++ b/newplugin
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: newplugin 1.18 2005/01/30 13:50:05 kls Exp $
+# $Id: newplugin 1.19 2005/08/21 09:32:08 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -170,6 +170,7 @@ public:
virtual cOsdObject *MainMenuAction(void);
virtual cMenuSetupPage *SetupMenu(void);
virtual bool SetupParse(const char *Name, const char *Value);
+ virtual bool Service(const char *Id, void *Data = NULL);
};
cPlugin${PLUGIN_CLASS}::cPlugin$PLUGIN_CLASS(void)
@@ -236,6 +237,12 @@ bool cPlugin${PLUGIN_CLASS}::SetupParse(const char *Name, const char *Value)
return false;
}
+bool cPlugin${PLUGIN_CLASS}::Service(const char *Id, void *Data)
+{
+ // Handle custom service requests from other plugins
+ return false;
+}
+
VDRPLUGINCREATOR(cPlugin$PLUGIN_CLASS); // Don't touch this!
};