SASC-NG
DVBSoftCAM

cScInfoItem Class Reference

Inheritance diagram for cScInfoItem:

List of all members.

Public Member Functions

 cScInfoItem (const char *Name, int Value, eOSState State=osUnknown)
 cScInfoItem (const char *Name, const char *Value=0, eOSState State=osUnknown)
void Ident (int id)
int Ident (void)

Detailed Description

Definition at line 218 of file sc.c.


Constructor & Destructor Documentation

cScInfoItem::cScInfoItem ( const char *  Name,
int  Value,
eOSState  State = osUnknown 
)

Definition at line 230 of file sc.c.

References osUnknown, and cOsdItem::SetSelectable().

:cOsdItem(State)
{
  char buf[16];
  snprintf(buf,sizeof(buf),"%d",Value);
  SetValue(Name,buf);
  if(State==osUnknown) SetSelectable(false);
}
cScInfoItem::cScInfoItem ( const char *  Name,
const char *  Value = 0,
eOSState  State = osUnknown 
)

Definition at line 239 of file sc.c.

References osUnknown, and cOsdItem::SetSelectable().

:cOsdItem(State)
{
  SetValue(Name,Value);
  if(State==osUnknown) SetSelectable(false);
}

Member Function Documentation

void cScInfoItem::Ident ( int  id) [inline]

Definition at line 226 of file sc.c.

References id.

Referenced by cMenuSetupSc::cMenuSetupSc(), and cMenuSetupSc::ProcessKey().

{ ident=id; }
int cScInfoItem::Ident ( void  ) [inline]

Definition at line 227 of file sc.c.

{ return ident; }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines