vdr  2.2.0
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
cCiMenu Class Reference

#include <ci.h>

Public Member Functions

 ~cCiMenu ()
 
const char * TitleText (void)
 
const char * SubTitleText (void)
 
const char * BottomText (void)
 
const char * Entry (int n)
 
int NumEntries (void)
 
bool Selectable (void)
 
void Select (int Index)
 
void Cancel (void)
 
void Abort (void)
 
bool HasUpdate (void)
 

Private Types

enum  { MAX_CIMENU_ENTRIES = 64 }
 

Private Member Functions

bool AddEntry (char *s)
 
 cCiMenu (cCiMMI *MMI, bool Selectable)
 

Private Attributes

cCiMMImmi
 
cMutexmutex
 
bool selectable
 
char * titleText
 
char * subTitleText
 
char * bottomText
 
char * entries [MAX_CIMENU_ENTRIES]
 
int numEntries
 

Friends

class cCamSlot
 
class cCiMMI
 

Detailed Description

Definition at line 25 of file ci.h.

Member Enumeration Documentation

§ anonymous enum

anonymous enum
private
Enumerator
MAX_CIMENU_ENTRIES 

Definition at line 29 of file ci.h.

Constructor & Destructor Documentation

§ cCiMenu()

cCiMenu::cCiMenu ( cCiMMI MMI,
bool  Selectable 
)
private

Definition at line 1299 of file ci.c.

§ ~cCiMenu()

cCiMenu::~cCiMenu ( )

Definition at line 1308 of file ci.c.

Member Function Documentation

§ Abort()

void cCiMenu::Abort ( void  )

Definition at line 1347 of file ci.c.

Referenced by cCiEnquiry::ExpectedLength(), Selectable(), and cMenuCam::~cMenuCam().

§ AddEntry()

bool cCiMenu::AddEntry ( char *  s)
private

Definition at line 1320 of file ci.c.

Referenced by cCiMMI::Process().

§ BottomText()

const char* cCiMenu::BottomText ( void  )
inline

Definition at line 44 of file ci.h.

References bottomText.

Referenced by cMenuCam::Set().

§ Cancel()

void cCiMenu::Cancel ( void  )

§ Entry()

const char* cCiMenu::Entry ( int  n)
inline

Definition at line 45 of file ci.h.

Referenced by cMenuCam::Set().

§ HasUpdate()

bool cCiMenu::HasUpdate ( void  )

Definition at line 1329 of file ci.c.

Referenced by cMenuCam::ProcessKey(), and Selectable().

§ NumEntries()

int cCiMenu::NumEntries ( void  )
inline

Definition at line 46 of file ci.h.

References numEntries.

Referenced by cMenuCam::Set().

§ Select()

void cCiMenu::Select ( int  Index)

Definition at line 1335 of file ci.c.

Referenced by cMenuCam::Select(), and Selectable().

§ Selectable()

bool cCiMenu::Selectable ( void  )
inline

Definition at line 47 of file ci.h.

References Abort(), Cancel(), HasUpdate(), Select(), and selectable.

Referenced by cMenuCam::Select(), and cMenuCam::Set().

§ SubTitleText()

const char* cCiMenu::SubTitleText ( void  )
inline

Definition at line 43 of file ci.h.

References subTitleText.

Referenced by cMenuCam::Set().

§ TitleText()

const char* cCiMenu::TitleText ( void  )
inline

Definition at line 42 of file ci.h.

References titleText.

Referenced by cMenuCam::Set().

Friends And Related Function Documentation

§ cCamSlot

friend class cCamSlot
friend

Definition at line 26 of file ci.h.

§ cCiMMI

friend class cCiMMI
friend

Definition at line 27 of file ci.h.

Member Data Documentation

§ bottomText

char* cCiMenu::bottomText
private

Definition at line 35 of file ci.h.

Referenced by BottomText(), and cCiMMI::Process().

§ entries

char* cCiMenu::entries[MAX_CIMENU_ENTRIES]
private

Definition at line 36 of file ci.h.

§ mmi

cCiMMI* cCiMenu::mmi
private

Definition at line 30 of file ci.h.

Referenced by cCiMMI::~cCiMMI().

§ mutex

cMutex* cCiMenu::mutex
private

Definition at line 31 of file ci.h.

Referenced by cCamSlot::GetMenu(), and cCiMMI::~cCiMMI().

§ numEntries

int cCiMenu::numEntries
private

Definition at line 37 of file ci.h.

Referenced by NumEntries().

§ selectable

bool cCiMenu::selectable
private

Definition at line 32 of file ci.h.

Referenced by Selectable().

§ subTitleText

char* cCiMenu::subTitleText
private

Definition at line 34 of file ci.h.

Referenced by cCiMMI::Process(), and SubTitleText().

§ titleText

char* cCiMenu::titleText
private

Definition at line 33 of file ci.h.

Referenced by cCiMMI::Process(), and TitleText().


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