From 474c53658e6f8c2580d7b45abc9f6e1f23c6ec05 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 22 May 2004 11:43:55 +0200 Subject: [PATCH] Added a hint to PLUGINS.html about how to name a plugin that implements a skin --- HISTORY | 1 + PLUGINS.html | 35 +++++++++++++++++++++++++---------- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/HISTORY b/HISTORY index 721aa417..07d5459b 100644 --- a/HISTORY +++ b/HISTORY @@ -2812,3 +2812,4 @@ Video Disk Recorder Revision History for reporting this one). - Fixed some issues with gcc 3.4 (thanks to Prakash K. Cheemplavam and Marcel Wiesweg). +- Added a hint to PLUGINS.html about how to name a plugin that implements a skin. diff --git a/PLUGINS.html b/PLUGINS.html index a2cfe9b3..cfd28d12 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -14,15 +14,18 @@ Copyright © 2004 Klaus Schmidinger
www.cadsoft.de/vdr

-
  +
  Important modifications introduced in version 1.2.6 are marked like this.
-
  +
  Important modifications introduced in version 1.3.0 are marked like this.
-
  +
  Important modifications introduced in version 1.3.7 are marked like this.
+
  +Important modifications introduced in version 1.3.8 are marked like this. +

VDR provides an easy to use plugin interface that allows additional functionality to be added to the program by implementing a dynamically loadable library file. @@ -70,11 +73,11 @@ structures and allows it to hook itself into specific areas to perform special a

  • Status monitor
  • Players
  • Receivers -
      +
     
  • Filters
  • The On Screen Display -
      +
     
  • Skins
  • Themes
  • @@ -1214,7 +1217,7 @@ Mode). If the cReceiver isn't needed any more, it may simply be deleted and will automatically detach itself from the cDevice. -
      +
     

    Filters

    A Fistful of Datas

    @@ -1260,7 +1263,7 @@ and will automatically detach itself from the cDevice. See VDR/eit.c or VDR/pat.c to learn how to process filter data.

    -
      +
     

    The On Screen Display

    Window to the world

    @@ -1371,6 +1374,18 @@ new cMySkin; in the Start() function of your plugin. Do not delete this object, it will be automatically deleted when the program ends. +

    +
      +In order to be able to easily identify plugins that implement a skin it is recommended +that the name of such a plugin should be + +

    +skinxyz
    +

    + +where xyz is the actual name of the skin. + +


    Themes

    @@ -1512,7 +1527,7 @@ The functions to implement replaying capabilites are virtual bool HasDecoder(void) const; virtual bool CanReplay(void) const; virtual bool SetPlayMode(ePlayMode PlayMode); -
      +
      virtual int64_t GetSTC(void);
    virtual void TrickSpeed(int Speed); @@ -1534,7 +1549,7 @@ virtual void SetVideoFormat(bool VideoFormat16_9); virtual void SetVolumeDevice(int Volume);

    -
      +
     

    Section Filtering

    @@ -1564,7 +1579,7 @@ handle section data.

    On Screen Display

    -
      +
      If your device provides On Screen Display (OSD) capabilities (which every device that is supposed to be used as a primary device should do), it shall implement an "OSD provider" class, derived from cOsdProvider, which, when its CreateOsd()