cSetup Class Reference

#include <config.h>

Inheritance diagram for cSetup:

Inheritance graph
[legend]
Collaboration diagram for cSetup:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSetup (void)
cSetupoperator= (const cSetup &s)
bool Load (const char *FileName)
bool Save (void)

Public Attributes

int __BeginData__
char OSDLanguage [I18N_MAX_LOCALE_LEN]
char OSDSkin [MaxSkinName]
char OSDTheme [MaxThemeName]
int PrimaryDVB
int ShowInfoOnChSwitch
int TimeoutRequChInfo
int MenuScrollPage
int MenuScrollWrap
int MenuKeyCloses
int MarkInstantRecord
char NameInstantRecord [MaxFileName]
int InstantRecordTime
int LnbSLOF
int LnbFrequLo
int LnbFrequHi
int DiSEqC
int SetSystemTime
int TimeSource
int TimeTransponder
int MarginStart
int MarginStop
int AudioLanguages [I18N_MAX_LANGUAGES+1]
int DisplaySubtitles
int SubtitleLanguages [I18N_MAX_LANGUAGES+1]
int SubtitleOffset
int SubtitleFgTransparency
int SubtitleBgTransparency
int EPGLanguages [I18N_MAX_LANGUAGES+1]
int EPGScanTimeout
int EPGBugfixLevel
int EPGLinger
int SVDRPTimeout
int ZapTimeout
int ChannelEntryTimeout
int PrimaryLimit
int DefaultPriority
int DefaultLifetime
int PausePriority
int PauseLifetime
int UseSubtitle
int UseVps
int VpsMargin
int RecordingDirs
int VideoDisplayFormat
int VideoFormat
int UpdateChannels
int UseDolbyDigital
int ChannelInfoPos
int ChannelInfoTime
int OSDLeft
int OSDTop
int OSDWidth
int OSDHeight
int OSDMessageTime
int UseSmallFont
int AntiAlias
char FontOsd [MAXFONTNAME]
char FontSml [MAXFONTNAME]
char FontFix [MAXFONTNAME]
int FontOsdSize
int FontSmlSize
int FontFixSize
int MaxVideoFileSize
int SplitEditedFiles
int MinEventTimeout
int MinUserInactivity
time_t NextWakeupTime
int MultiSpeedMode
int ShowReplayMode
int ResumeID
int CurrentChannel
int CurrentVolume
int CurrentDolby
int InitialChannel
int InitialVolume
int EmergencyExit
int __EndData__

Private Member Functions

void StoreLanguages (const char *Name, int *Values)
bool ParseLanguages (const char *Value, int *Values)
bool Parse (const char *Name, const char *Value)
cSetupLineGet (const char *Name, const char *Plugin=NULL)
void Store (const char *Name, const char *Value, const char *Plugin=NULL, bool AllowMultiple=false)
void Store (const char *Name, int Value, const char *Plugin=NULL)

Friends

class cPlugin


Detailed Description

Definition at line 189 of file config.h.


Constructor & Destructor Documentation

cSetup::cSetup ( void   ) 


Member Function Documentation

void cSetup::StoreLanguages ( const char *  Name,
int *  Values 
) [private]

Definition at line 352 of file config.c.

References I18nLanguageCode(), I18nLanguages(), cVector< T >::Size(), and Store().

Referenced by Save().

Here is the call graph for this function:

bool cSetup::ParseLanguages ( const char *  Value,
int *  Values 
) [private]

Definition at line 371 of file config.c.

References I18nLanguageIndex(), I18nLanguages(), and strn0cpy().

Referenced by Parse().

Here is the call graph for this function:

bool cSetup::Parse ( const char *  Name,
const char *  Value 
) [private]

cSetupLine * cSetup::Get ( const char *  Name,
const char *  Plugin = NULL 
) [private]

Definition at line 300 of file config.c.

References cList< cSetupLine >::First(), and cList< cSetupLine >::Next().

Referenced by Store().

Here is the call graph for this function:

void cSetup::Store ( const char *  Name,
const char *  Value,
const char *  Plugin = NULL,
bool  AllowMultiple = false 
) [private]

Definition at line 311 of file config.c.

References cListBase::Add(), cListBase::Del(), and Get().

Referenced by Save(), cPlugin::SetupStore(), Store(), and StoreLanguages().

Here is the call graph for this function:

void cSetup::Store ( const char *  Name,
int  Value,
const char *  Plugin = NULL 
) [private]

Definition at line 322 of file config.c.

References cString::sprintf(), and Store().

Here is the call graph for this function:

cSetup & cSetup::operator= ( const cSetup s  ) 

Definition at line 294 of file config.c.

References __BeginData__, and __EndData__.

bool cSetup::Load ( const char *  FileName  ) 

Definition at line 327 of file config.c.

References esyslog, cList< cSetupLine >::First(), cPluginManager::GetPlugin(), cList< cSetupLine >::Next(), Parse(), and cPlugin::SetupParse().

Referenced by main().

Here is the call graph for this function:

bool cSetup::Save ( void   ) 


Friends And Related Function Documentation

friend class cPlugin [friend]

Definition at line 190 of file config.h.


Member Data Documentation

Definition at line 200 of file config.h.

Referenced by operator=().

char cSetup::OSDLanguage[I18N_MAX_LOCALE_LEN]

Definition at line 201 of file config.h.

Referenced by cSetup(), Parse(), cMenuSetupOSD::ProcessKey(), and Save().

char cSetup::OSDSkin[MaxSkinName]

Definition at line 202 of file config.h.

Referenced by cSetup(), main(), Parse(), cMenuSetupOSD::ProcessKey(), and Save().

char cSetup::OSDTheme[MaxThemeName]

Definition at line 203 of file config.h.

Referenced by cSetup(), main(), Parse(), cMenuSetupOSD::ProcessKey(), and Save().

Definition at line 204 of file config.h.

Referenced by cSetup(), main(), Parse(), Save(), and cMenuSetupDVB::Setup().

Definition at line 205 of file config.h.

Referenced by cDisplayChannel::cDisplayChannel(), cSetup(), Parse(), Save(), and cMenuSetupOSD::Set().

Definition at line 206 of file config.h.

Referenced by cDisplayChannel::cDisplayChannel(), cSetup(), Parse(), Save(), and cMenuSetupOSD::Set().

Definition at line 209 of file config.h.

Referenced by cSetup(), main(), Parse(), Save(), and cMenuSetupOSD::Set().

Definition at line 210 of file config.h.

Referenced by cMenuSetupRecord::cMenuSetupRecord(), cSetup(), cTimer::cTimer(), Parse(), and Save().

char cSetup::NameInstantRecord[MaxFileName]

Definition at line 211 of file config.h.

Referenced by cMenuSetupRecord::cMenuSetupRecord(), cSetup(), cTimer::cTimer(), Parse(), and Save().

Definition at line 212 of file config.h.

Referenced by cMenuSetupRecord::cMenuSetupRecord(), cSetup(), cTimer::cTimer(), Parse(), and Save().

Definition at line 213 of file config.h.

Referenced by cSetup(), Parse(), Save(), cDvbTuner::SetFrontend(), and cMenuSetupLNB::Setup().

Definition at line 214 of file config.h.

Referenced by cSetup(), Parse(), Save(), cDvbTuner::SetFrontend(), and cMenuSetupLNB::Setup().

Definition at line 215 of file config.h.

Referenced by cSetup(), Parse(), Save(), cDvbTuner::SetFrontend(), and cMenuSetupLNB::Setup().

Definition at line 218 of file config.h.

Referenced by cSetup(), Parse(), Save(), and cMenuSetupEPG::Setup().

Definition at line 219 of file config.h.

Referenced by cSetup(), Parse(), cEitFilter::Process(), Save(), and cMenuSetupEPG::Setup().

Definition at line 220 of file config.h.

Referenced by cMenuSetupRecord::cMenuSetupRecord(), cSetup(), cTimer::cTimer(), Parse(), and Save().

Definition at line 220 of file config.h.

Referenced by cMenuSetupRecord::cMenuSetupRecord(), cSetup(), cTimer::cTimer(), Parse(), and Save().

int cSetup::AudioLanguages[I18N_MAX_LANGUAGES+1]

int cSetup::SubtitleLanguages[I18N_MAX_LANGUAGES+1]

Definition at line 224 of file config.h.

Referenced by cDvbSubtitleConverter::AssertOsd(), cSetup(), Parse(), Save(), and cMenuSetupDVB::Setup().

int cSetup::EPGLanguages[I18N_MAX_LANGUAGES+1]

Definition at line 227 of file config.h.

Referenced by cSetup(), Parse(), cEITScanner::Process(), Save(), and cMenuSetupEPG::Setup().

Definition at line 230 of file config.h.

Referenced by cMenuSetupMisc::cMenuSetupMisc(), cSetup(), Parse(), cSVDRP::Process(), and Save().

Definition at line 231 of file config.h.

Referenced by cMenuSetupMisc::cMenuSetupMisc(), cSetup(), main(), Parse(), and Save().

Definition at line 234 of file config.h.

Referenced by cMenuSetupRecord::cMenuSetupRecord(), cSetup(), cTimer::cTimer(), Parse(), and Save().

Definition at line 235 of file config.h.

Referenced by cMenuSetupRecord::cMenuSetupRecord(), cSetup(), cTimer::cTimer(), Parse(), and Save().

Definition at line 237 of file config.h.

Referenced by cMenuSetupRecord::cMenuSetupRecord(), cSetup(), cTimer::cTimer(), Parse(), and Save().

Definition at line 238 of file config.h.

Referenced by cMenuSetupRecord::cMenuSetupRecord(), cSetup(), main(), Parse(), and Save().

Definition at line 239 of file config.h.

Referenced by cMenuRecordings::cMenuRecordings(), cSetup(), Parse(), Save(), and cMenuSetupOSD::Set().

Definition at line 245 of file config.h.

Referenced by cSetup(), Parse(), cDisplayChannel::ProcessKey(), Save(), and cMenuSetupOSD::Set().

Definition at line 247 of file config.h.

Referenced by cSetup(), Parse(), Save(), cMenuSetupOSD::Set(), and cInterface::Wait().

char cSetup::FontOsd[MAXFONTNAME]

char cSetup::FontSml[MAXFONTNAME]

char cSetup::FontFix[MAXFONTNAME]

Definition at line 263 of file config.h.

Referenced by cSetup(), main(), Parse(), and Save().

Definition at line 264 of file config.h.

Referenced by cDevice::cDevice(), cSetup(), main(), Parse(), Save(), and cDevice::SetPrimaryDevice().

Definition at line 265 of file config.h.

Referenced by cSetup(), cDevice::EnsureAudioTrack(), Parse(), cDisplayTracks::ProcessKey(), and Save().

Definition at line 266 of file config.h.

Referenced by cMenuSetupMisc::cMenuSetupMisc(), cSetup(), main(), Parse(), and Save().

Definition at line 267 of file config.h.

Referenced by cMenuSetupMisc::cMenuSetupMisc(), cSetup(), main(), Parse(), and Save().

Definition at line 269 of file config.h.

Referenced by operator=().


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

Generated on Tue Jan 13 14:32:02 2009 for VDR by  doxygen 1.5.6