mythcommandlineparser.cpp File Reference

Go to the source code of this file.

Functions

const char * NamedOptType (int type)
bool openPidfile (ofstream &pidfs, const QString &pidfile)
bool setUser (const QString &username)
 Drop permissions to the specified user.
int GetTermWidth (void)
 returns terminal width, or 79 on error

Variables

const int kEnd = 0
const int kEmpty = 1
const int kOptOnly = 2
const int kOptVal = 3
const int kArg = 4
const int kPassthrough = 5
const int kInvalid = 6

Function Documentation

const char * NamedOptType ( int  type  ) 

Definition at line 98 of file mythcommandlineparser.cpp.

Referenced by MythCommandLineParser::Parse().

bool openPidfile ( ofstream &  pidfs,
const QString &  pidfile 
)

Definition at line 2574 of file mythcommandlineparser.cpp.

Referenced by MythCommandLineParser::Daemonize().

bool setUser ( const QString &  username  ) 

Drop permissions to the specified user.

Definition at line 2590 of file mythcommandlineparser.cpp.

Referenced by MythCommandLineParser::Daemonize().

int GetTermWidth ( void   ) 

returns terminal width, or 79 on error

Definition at line 81 of file mythcommandlineparser.cpp.

Referenced by CommandLineArg::GetHelpString(), and CommandLineArg::GetLongHelpString().


Variable Documentation

const int kEnd = 0
const int kEmpty = 1
const int kOptOnly = 2
const int kOptVal = 3
const int kArg = 4
const int kPassthrough = 5
const int kInvalid = 6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:48 2012 for MythTV by  doxygen 1.6.3