SASC
DVBSoftCAM

cOptBool Class Reference

#include <opts.h>

Inheritance diagram for cOptBool:

List of all members.

Public Member Functions

 cOptBool (const char *Name, const char *Title, int *Storage)
virtual void Create (cOsdMenu *menu)
 cOptBool (const char *Name, const char *Title, int *Storage)
virtual void Create (cOsdMenu *menu)

Detailed Description

Definition at line 79 of file opts.h.


Constructor & Destructor Documentation

cOptBool::cOptBool ( const char *  Name,
const char *  Title,
int *  Storage 
)

Definition at line 336 of file sc.c.

:cOptInt(Name,Title,Storage,0,1)
{}
cOptBool::cOptBool ( const char *  Name,
const char *  Title,
int *  Storage 
)

Member Function Documentation

void cOptBool::Create ( cOsdMenu *  menu) [virtual]

Reimplemented from cOptInt.

Definition at line 340 of file sc.c.

References cOsdMenu::Add(), cOpt::title, tr, and cOptInt::value.

{
  menu->Add(new cMenuEditBoolItem(tr(title),&value));
}
virtual void cOptBool::Create ( cOsdMenu *  menu) [virtual]

Reimplemented from cOptInt.


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