vdr  2.2.0
Public Member Functions | Private Attributes | List of all members
cPluginHello Class Reference

Public Member Functions

 cPluginHello (void)
 
virtual ~cPluginHello ()
 
virtual const char * Version (void)
 
virtual const char * Description (void)
 
virtual const char * CommandLineHelp (void)
 
virtual bool ProcessArgs (int argc, char *argv[])
 
virtual bool Start (void)
 
virtual void Housekeeping (void)
 
virtual const char * MainMenuEntry (void)
 
virtual cOsdObjectMainMenuAction (void)
 
virtual cMenuSetupPageSetupMenu (void)
 
virtual bool SetupParse (const char *Name, const char *Value)
 
- Public Member Functions inherited from cPlugin
 cPlugin (void)
 
virtual ~cPlugin ()
 
const char * Name (void)
 
virtual bool Initialize (void)
 
virtual void Stop (void)
 
virtual void MainThreadHook (void)
 
virtual cString Active (void)
 
virtual time_t WakeupTime (void)
 
void SetupStore (const char *Name, const char *Value=NULL)
 
void SetupStore (const char *Name, int Value)
 
virtual bool Service (const char *Id, void *Data=NULL)
 
virtual const char ** SVDRPHelpPages (void)
 
virtual cString SVDRPCommand (const char *Command, const char *Option, int &ReplyCode)
 

Private Attributes

const char * option_a
 
bool option_b
 

Additional Inherited Members

- Static Public Member Functions inherited from cPlugin
static void SetConfigDirectory (const char *Dir)
 
static const char * ConfigDirectory (const char *PluginName=NULL)
 
static void SetCacheDirectory (const char *Dir)
 
static const char * CacheDirectory (const char *PluginName=NULL)
 
static void SetResourceDirectory (const char *Dir)
 
static const char * ResourceDirectory (const char *PluginName=NULL)
 

Detailed Description

Definition at line 19 of file hello.c.

Constructor & Destructor Documentation

cPluginHello::cPluginHello ( void  )

Definition at line 72 of file hello.c.

References option_a, and option_b.

cPluginHello::~cPluginHello ( )
virtual

Definition at line 81 of file hello.c.

Member Function Documentation

const char * cPluginHello::CommandLineHelp ( void  )
virtual

Reimplemented from cPlugin.

Definition at line 86 of file hello.c.

Referenced by Description().

virtual const char* cPluginHello::Description ( void  )
inlinevirtual

Implements cPlugin.

Definition at line 28 of file hello.c.

References CommandLineHelp(), DESCRIPTION, Housekeeping(), ProcessArgs(), Start(), and tr.

void cPluginHello::Housekeeping ( void  )
virtual

Reimplemented from cPlugin.

Definition at line 121 of file hello.c.

Referenced by Description().

cOsdObject * cPluginHello::MainMenuAction ( void  )
virtual

Reimplemented from cPlugin.

Definition at line 126 of file hello.c.

References cInterface::Confirm(), GreetingTime, Interface, tr, and UseAlternateGreeting.

Referenced by MainMenuEntry().

virtual const char* cPluginHello::MainMenuEntry ( void  )
inlinevirtual

Reimplemented from cPlugin.

Definition at line 33 of file hello.c.

References MainMenuAction(), MAINMENUENTRY, cPlugin::Name(), SetupMenu(), SetupParse(), and tr.

bool cPluginHello::ProcessArgs ( int  argc,
char *  argv[] 
)
virtual

Reimplemented from cPlugin.

Definition at line 93 of file hello.c.

References option_a, and option_b.

Referenced by Description().

cMenuSetupPage * cPluginHello::SetupMenu ( void  )
virtual

Reimplemented from cPlugin.

Definition at line 133 of file hello.c.

Referenced by MainMenuEntry().

bool cPluginHello::SetupParse ( const char *  Name,
const char *  Value 
)
virtual

Reimplemented from cPlugin.

Definition at line 139 of file hello.c.

References GreetingTime, UseAlternateGreeting, and VDRPLUGINCREATOR().

Referenced by MainMenuEntry().

bool cPluginHello::Start ( void  )
virtual

Reimplemented from cPlugin.

Definition at line 115 of file hello.c.

Referenced by Description().

virtual const char* cPluginHello::Version ( void  )
inlinevirtual

Implements cPlugin.

Definition at line 27 of file hello.c.

References VERSION.

Member Data Documentation

const char* cPluginHello::option_a
private

Definition at line 22 of file hello.c.

Referenced by cPluginHello(), and ProcessArgs().

bool cPluginHello::option_b
private

Definition at line 23 of file hello.c.

Referenced by cPluginHello(), and ProcessArgs().


The documentation for this class was generated from the following file: