premiereepg.c
branchtrunk
changeset 20 bc64e11172f5
parent 18 b55e482869c7
child 23 3c10fdd8ccce
     1.1 --- a/premiereepg.c	Sat Dec 29 11:30:38 2007 +0100
     1.2 +++ b/premiereepg.c	Sat Dec 29 13:19:16 2007 +0100
     1.3 @@ -32,6 +32,7 @@
     1.4  #include <vdr/config.h>
     1.5  #include <libsi/section.h>
     1.6  #include <libsi/descriptor.h>
     1.7 +#include "version.h"
     1.8  
     1.9  #if APIVERSNUM < 10401
    1.10  #error You need at least VDR API version 1.4.1 for this plugin
    1.11 @@ -57,9 +58,6 @@
    1.12  #define PMT_SCAN_TIMEOUT  10  // seconds
    1.13  #define PMT_SCAN_IDLE     300 // seconds
    1.14  
    1.15 -static const char *VERSION        = "0.0.8";
    1.16 -static const char *DESCRIPTION    = trNOOP("Parses extended Premiere EPG data");
    1.17 -
    1.18  // --- cSetupPremiereEpg -------------------------------------------------------
    1.19  
    1.20  const char *optPats[] = {
    1.21 @@ -740,6 +738,8 @@
    1.22  
    1.23  // --- cPluginPremiereEpg ------------------------------------------------------
    1.24  
    1.25 +static const char *DESCRIPTION    = trNOOP("Parses extended Premiere EPG data");
    1.26 +
    1.27  class cPluginPremiereEpg : public cPlugin {
    1.28  private:
    1.29    struct {
    1.30 @@ -748,7 +748,7 @@
    1.31      } epg[MAXDVBDEVICES];
    1.32  public:
    1.33    cPluginPremiereEpg(void);
    1.34 -  virtual const char *Version(void) { return VERSION; }
    1.35 +  virtual const char *Version(void) { return PluginVersion; }
    1.36    virtual const char *Description(void) { return tr(DESCRIPTION); }
    1.37    virtual bool Start(void);
    1.38    virtual void Stop(void);