vdr 2.7.7
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 119 of file ci.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
MAX_CIMENU_ENTRIES 

Definition at line 123 of file ci.h.

Constructor & Destructor Documentation

◆ cCiMenu()

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

Definition at line 1637 of file ci.c.

References bottomText, cCiMMI, mmi, mutex, numEntries, Selectable(), selectable, subTitleText, and titleText.

◆ ~cCiMenu()

cCiMenu::~cCiMenu ( )

Definition at line 1646 of file ci.c.

References bottomText, entries, mmi, mutex, numEntries, subTitleText, and titleText.

Member Function Documentation

◆ Abort()

void cCiMenu::Abort ( void )

Definition at line 1685 of file ci.c.

References mmi, and mutex.

◆ AddEntry()

bool cCiMenu::AddEntry ( char * s)
private

Definition at line 1658 of file ci.c.

References entries, MAX_CIMENU_ENTRIES, and numEntries.

◆ BottomText()

const char * cCiMenu::BottomText ( void )
inline

Definition at line 138 of file ci.h.

References bottomText.

◆ Cancel()

void cCiMenu::Cancel ( void )

Definition at line 1680 of file ci.c.

References Select().

◆ Entry()

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

Definition at line 139 of file ci.h.

References entries, and numEntries.

◆ HasUpdate()

bool cCiMenu::HasUpdate ( void )

Definition at line 1667 of file ci.c.

References mmi.

◆ NumEntries()

int cCiMenu::NumEntries ( void )
inline

Definition at line 140 of file ci.h.

References numEntries.

◆ Select()

void cCiMenu::Select ( int Index)

Definition at line 1673 of file ci.c.

References mmi, mutex, and numEntries.

Referenced by Cancel().

◆ Selectable()

bool cCiMenu::Selectable ( void )
inline

Definition at line 141 of file ci.h.

References selectable.

Referenced by cCiMenu().

◆ SubTitleText()

const char * cCiMenu::SubTitleText ( void )
inline

Definition at line 137 of file ci.h.

References subTitleText.

◆ TitleText()

const char * cCiMenu::TitleText ( void )
inline

Definition at line 136 of file ci.h.

References titleText.

◆ cCamSlot

friend class cCamSlot
friend

Definition at line 120 of file ci.h.

References cCamSlot.

Referenced by cCamSlot.

◆ cCiMMI

friend class cCiMMI
friend

Definition at line 121 of file ci.h.

References cCiMMI.

Referenced by cCiMenu(), and cCiMMI.

Member Data Documentation

◆ bottomText

char* cCiMenu::bottomText
private

Definition at line 129 of file ci.h.

Referenced by BottomText(), cCiMenu(), and ~cCiMenu().

◆ entries

char* cCiMenu::entries[MAX_CIMENU_ENTRIES]
private

Definition at line 130 of file ci.h.

Referenced by AddEntry(), Entry(), and ~cCiMenu().

◆ mmi

cCiMMI* cCiMenu::mmi
private

Definition at line 124 of file ci.h.

Referenced by Abort(), cCiMenu(), HasUpdate(), Select(), and ~cCiMenu().

◆ mutex

cMutex* cCiMenu::mutex
private

Definition at line 125 of file ci.h.

Referenced by Abort(), cCiMenu(), cCamSlot::GetMenu(), Select(), and ~cCiMenu().

◆ numEntries

int cCiMenu::numEntries
private

Definition at line 131 of file ci.h.

Referenced by AddEntry(), cCiMenu(), Entry(), NumEntries(), Select(), and ~cCiMenu().

◆ selectable

bool cCiMenu::selectable
private

Definition at line 126 of file ci.h.

Referenced by cCiMenu(), and Selectable().

◆ subTitleText

char* cCiMenu::subTitleText
private

Definition at line 128 of file ci.h.

Referenced by cCiMenu(), SubTitleText(), and ~cCiMenu().

◆ titleText

char* cCiMenu::titleText
private

Definition at line 127 of file ci.h.

Referenced by cCiMenu(), TitleText(), and ~cCiMenu().


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