Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes

gnash::RcInitFile Class Reference

#include <rc.h>

Inheritance diagram for gnash::RcInitFile:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::vector< std::string > PathList

Public Member Functions

void loadFiles ()
 Load and parse files, looking in the usual places.
bool parseFile (const std::string &filespec)
bool updateFile (const std::string &filespec)
 Writes a valid gnashrc file. If the file already exists, is is overwritten.
bool updateFile ()
 Writes a gnashrc file to the file specified in the GNASHRC environment variable OR to the user's home directory.
bool useSplashScreen () const
void useSplashScreen (bool value)
bool useActionDump () const
void useActionDump (bool value)
bool useParserDump () const
void useParserDump (bool value)
bool useWriteLog () const
void useWriteLog (bool value)
int getTimerDelay () const
void setTimerDelay (int x)
bool showASCodingErrors () const
void showASCodingErrors (bool value)
bool showMalformedSWFErrors () const
void showMalformedSWFErrors (bool value)
bool showMalformedAMFErrors () const
void showMalformedAMFErrors (bool value)
int getMovieLibraryLimit () const
void setMovieLibraryLimit (int value)
bool enableExtensions () const
bool startStopped () const
 Return true if user is willing to start the gui in "stop" mode.
void startStopped (bool value)
bool insecureSSL () const
void insecureSSL (bool value)
int qualityLevel () const
void qualityLevel (int value)
int verbosityLevel () const
void verbosityLevel (int value)
void setDebugLog (const std::string &x)
const std::string & getDebugLog () const
void setDocumentRoot (const std::string &x)
std::string getDocumentRoot ()
bool useDebugger () const
void useDebugger (bool value)
bool useSound () const
void useSound (bool value)
bool usePluginSound () const
void usePluginSound (bool value)
bool popupMessages () const
void interfacePopups (bool value)
bool useLocalDomain () const
void useLocalDomain (bool value)
bool useLocalHost () const
 Whether to restrict access to the local host.
void useLocalHost (bool value)
 Set whether to restrict access to the local host.
const PathListgetWhiteList () const
 Get the current RcInitFile whitelist of domains to allow.
void setWhitelist (const std::vector< std::string > &list)
 Sets the RcInitFile whitelist of domains to allow.
const PathListgetBlackList () const
 Get the current RcInitFile blacklist of domains to block.
void setBlacklist (const std::vector< std::string > &list)
 Sets the RcInitFile blacklist of domains to block.
const PathListgetLocalSandboxPath () const
 Return the list of directories to be used as the 'local' sandbox.
void addLocalSandboxPath (const std::string &dir)
 Add a directory to the local sandbox list.
void setLocalSandboxPath (const PathList &path)
const std::string & getFlashVersionString () const
void setFlashVersionString (const std::string &value)
const std::string & getFlashSystemOS () const
void setFlashSystemOS (const std::string &value)
const std::string & getFlashSystemManufacturer () const
void setFlashSystemManufacturer (const std::string &value)
const std::string & getGstAudioSink () const
void setGstAudioSink (const std::string &value)
int getRetries () const
void setRetries (int x)
double getStreamsTimeout () const
 The number of seconds of inactivity before timing out streams downloads.
void setStreamsTimeout (const double &x)
 Set seconds of inactivity before timing out streams downloads.
const std::string & getURLOpenerFormat () const
 Get the URL opener command format.
void setURLOpenerFormat (const std::string &value)
const std::string & getHWAccel () const
void setHWAccel (const std::string &x)
const std::string & getRenderer () const
void setRenderer (const std::string &x)
const std::string & getMediaHandler () const
void setMediaHandler (const std::string &x)
const std::string & getSOLSafeDir () const
void setSOLSafeDir (const std::string &x)
bool getSOLLocalDomain () const
void setSOLLocalDomain (bool x)
bool getSOLReadOnly () const
void setSOLReadOnly (bool x)
bool getLocalConnection () const
void setLocalConnection (bool x)
bool getLCTrace () const
 Enable tracing all LocalConnection traffic.
void setLCTrace (bool x)
key_t getLCShmKey () const
void setLCShmKey (bool x)
bool ignoreFSCommand () const
void ignoreFSCommand (bool value)
void saveStreamingMedia (bool value)
bool saveStreamingMedia () const
void saveLoadedMedia (bool value)
bool saveLoadedMedia () const
void setMediaDir (const std::string &value)
const std::string & getMediaDir () const
void setWebcamDevice (int value)
int getWebcamDevice () const
void setAudioInputDevice (int value)
int getAudioInputDevice ()
const std::string & getRootCert () const
 Get the Root SSL certificate.
void setRootCert (const std::string &value)
 Set the Root SSL certificate.
const std::string & getCertFile () const
 Get the Client SSL certificate.
void setCertFile (const std::string &value)
 Set the Client SSL certificate.
const std::string & getCertDir () const
 Get the directory for client SSL certificates.
void setCertDir (const std::string &value)
 Set the directory for client SSL certificates.
void ignoreShowMenu (bool value)
bool ignoreShowMenu () const
void dump ()

Static Public Member Functions

static RcInitFilegetDefaultInstance ()
 Return the default instance of RC file.

Protected Types

typedef boost::char_separator
< char > 
Sep
typedef boost::tokenizer< SepTok

Protected Member Functions

void writeList (const PathList &list, std::ostream &o)
 RcInitFile ()
 Construct only by getDefaultInstance().
 ~RcInitFile ()
 Never destroy (TODO: add a destroyDefaultInstance).
void parseList (std::vector< std::string > &list, const std::string &action, const std::string &items)
 parses a space-separated list into std::vector list

Static Protected Member Functions

static void expandPath (std::string &path)
static bool extractSetting (bool &var, const std::string &pattern, const std::string &variable, const std::string &value)
 If variable matches pattern (case-insensitive) set var according to value.
template<typename T >
static bool extractNumber (T &num, const std::string &pattern, const std::string &variable, const std::string &value)
 If variable matches pattern (case-insensitive) set num according to value.
static bool extractDouble (double &out, const std::string &pattern, const std::string &variable, const std::string &value)
 If variable matches pattern (case-insensitive) set out according to value.

Protected Attributes

boost::uint32_t _delay
 The timer delay.
boost::uint32_t _movieLibraryLimit
 Max number of movie clips to store in the library.
bool _debug
 Enable debugging of this class.
bool _debugger
 Enable the Flash movie debugger.
boost::uint32_t _verbosity
 Level of debugging output.
std::string _urlOpenerFormat
 Command format to use to open urls.
std::string _flashVersionString
 String to pass as $version in Actionscript.
std::string _gstaudiosink
 String representing the first GStreamer audio output pipeline to try.
std::string _flashSystemOS
 String to pass as System.capabilities.os in Actionscript. If empty, leaves detection to System.cpp (default).
std::string _flashSystemManufacturer
 String to pass as System.capabilities.manufacturer in Actionscript.
bool _actionDump
 Enable dumping actionscript classes.
bool _parserDump
 Enable dumping parser data.
bool _verboseASCodingErrors
 Enable ActionScript errors verbosity.
bool _verboseMalformedSWF
 Enable Malformed SWF verbosity.
bool _verboseMalformedAMF
 Enable Malformed AMF verbosity.
bool _splashScreen
 Display a splash screen when loading a movie.
bool _localdomainOnly
 Only access network resources in the local domain.
bool _localhostOnly
 Only access network resources on the local host.
PathList _whitelist
 Allowed domains.
PathList _blacklist
 Blocked Domains.
std::string _log
 The name of the debug log.
bool _writeLog
 Enable writing the debug log to disk.
std::string _wwwroot
 The root path for the streaming server.
int _retries
 the number of retries for a thread
bool _sound
 Enable the sound handler at startup.
bool _pluginSound
 Enable sound for the plugin.
bool _extensionsEnabled
 Enable scanning plugin path for extensions.
bool _startStopped
 Start the gui in "stop" mode.
bool _insecureSSL
 Allow SSL connections without verifying the certificate.
double _streamsTimeout
 The number of seconds of inactivity triggering download timeout.
PathList _localSandboxPath
 Local sandbox: the set of resources on the filesystem we want to give the current movie access to.
std::string _solsandbox
 SOL Sandbox: This is the only dir .sol (Shared Object) files can be written in, or read from.
bool _solreadonly
 Whether SOL files can be written.
bool _sollocaldomain
bool _lcdisabled
bool _lctrace
 Trace local connection activity (in log).
boost::uint32_t _lcshmkey
bool _ignoreFSCommand
int _quality
 The quality to display SWFs in. -1 to allow the SWF to override.
bool _saveStreamingMedia
bool _saveLoadedMedia
std::string _mediaCacheDir
bool _popups
bool _useXv
int _webcamDevice
int _microphoneDevice
std::string _certfile
std::string _certdir
std::string _rootcert
bool _ignoreShowMenu
std::string _hwaccel
std::string _renderer
std::string _mediahandler

Member Typedef Documentation

typedef std::vector<std::string> gnash::RcInitFile::PathList
typedef boost::char_separator<char> gnash::RcInitFile::Sep [protected]
typedef boost::tokenizer< Sep > gnash::RcInitFile::Tok [protected]

Constructor & Destructor Documentation

gnash::RcInitFile::RcInitFile (  )  [protected]
gnash::RcInitFile::~RcInitFile (  )  [protected]

Never destroy (TODO: add a destroyDefaultInstance).


Member Function Documentation

void gnash::RcInitFile::addLocalSandboxPath ( const std::string &  dir  )  [inline]

Add a directory to the local sandbox list.

Referenced by main(), and gnash::MovieTester::MovieTester().

void gnash::RcInitFile::dump (  ) 
bool gnash::RcInitFile::enableExtensions (  )  const [inline]

Referenced by main().

void gnash::RcInitFile::expandPath ( std::string &  path  )  [static, protected]

Substitutes user's home directory for ~ on a path string according to POSIX standard.

Parameters:
path the path to expand.

Referenced by parseFile(), cygnal::CRcInitFile::parseFile(), and RcInitFile().

bool gnash::RcInitFile::extractDouble ( double &  out,
const std::string &  pattern,
const std::string &  variable,
const std::string &  value 
) [static, protected]

If variable matches pattern (case-insensitive) set out according to value.

Returns:
true if variable matches pattern, false otherwise
Parameters:
out the variable to change
pattern the pattern for matching the variable to match to pattern the value to adopt if variable matches pattern.

Referenced by parseFile().

template<typename T >
static bool gnash::RcInitFile::extractNumber ( T &  num,
const std::string &  pattern,
const std::string &  variable,
const std::string &  value 
) [inline, static, protected]

If variable matches pattern (case-insensitive) set num according to value.

Returns:
true if variable matches pattern, false otherwise
Parameters:
num the variable to change
pattern the pattern for matching the variable to match to pattern the value to adopt if variable matches pattern.

Referenced by parseFile(), and cygnal::CRcInitFile::parseFile().

bool gnash::RcInitFile::extractSetting ( bool &  var,
const std::string &  pattern,
const std::string &  variable,
const std::string &  value 
) [static, protected]

If variable matches pattern (case-insensitive) set var according to value.

Returns:
true if variable matches pattern, false otherwise
Parameters:
var the variable to change
pattern the pattern for matching the variable to match to pattern the value to adopt if variable matches pattern.

Referenced by parseFile(), and cygnal::CRcInitFile::parseFile().

int gnash::RcInitFile::getAudioInputDevice (  )  [inline]
const PathList& gnash::RcInitFile::getBlackList (  )  const [inline]

Get the current RcInitFile blacklist of domains to block.

Returns:
a std::vector of strings containing blocked domains

Referenced by main().

const std::string& gnash::RcInitFile::getCertDir (  )  const [inline]

Get the directory for client SSL certificates.

Reimplemented in cygnal::CRcInitFile.

Referenced by main().

const std::string& gnash::RcInitFile::getCertFile (  )  const [inline]

Get the Client SSL certificate.

Reimplemented in cygnal::CRcInitFile.

Referenced by main().

const std::string& gnash::RcInitFile::getDebugLog (  )  const [inline]
RcInitFile & gnash::RcInitFile::getDefaultInstance (  )  [static]
std::string gnash::RcInitFile::getDocumentRoot (  )  [inline]

Reimplemented in cygnal::CRcInitFile.

const std::string& gnash::RcInitFile::getFlashSystemManufacturer (  )  const [inline]
const std::string& gnash::RcInitFile::getFlashSystemOS (  )  const [inline]
const std::string& gnash::RcInitFile::getFlashVersionString (  )  const [inline]
const std::string& gnash::RcInitFile::getGstAudioSink (  )  const [inline]
const std::string& gnash::RcInitFile::getHWAccel (  )  const [inline]
key_t gnash::RcInitFile::getLCShmKey (  )  const [inline]

Referenced by main().

bool gnash::RcInitFile::getLCTrace (  )  const [inline]

Enable tracing all LocalConnection traffic.

Referenced by gnash::AOS4Gui::ReadPrefs().

bool gnash::RcInitFile::getLocalConnection (  )  const [inline]
const PathList& gnash::RcInitFile::getLocalSandboxPath (  )  const [inline]

Return the list of directories to be used as the 'local' sandbox.

Local sendbox is the set of resources on the filesystem we want to give the current movie access to.

Referenced by main().

const std::string& gnash::RcInitFile::getMediaDir (  )  const [inline]
const std::string& gnash::RcInitFile::getMediaHandler (  )  const [inline]

Referenced by main().

int gnash::RcInitFile::getMovieLibraryLimit (  )  const [inline]
const std::string& gnash::RcInitFile::getRenderer (  )  const [inline]

References _renderer.

Referenced by gnash::Kde4Gui::init(), and main().

int gnash::RcInitFile::getRetries (  )  const [inline]
const std::string& gnash::RcInitFile::getRootCert (  )  const [inline]

Get the Root SSL certificate.

Reimplemented in cygnal::CRcInitFile.

Referenced by main().

bool gnash::RcInitFile::getSOLLocalDomain (  )  const [inline]
bool gnash::RcInitFile::getSOLReadOnly (  )  const [inline]
const std::string& gnash::RcInitFile::getSOLSafeDir (  )  const [inline]
double gnash::RcInitFile::getStreamsTimeout (  )  const [inline]

The number of seconds of inactivity before timing out streams downloads.

Referenced by main(), gnash::Kde4GuiPrefs::PreferencesDialog::PreferencesDialog(), and gnash::AOS4Gui::ReadPrefs().

int gnash::RcInitFile::getTimerDelay (  )  const [inline]

Referenced by main().

const std::string& gnash::RcInitFile::getURLOpenerFormat (  )  const [inline]

Get the URL opener command format.

The u label will need to be substituted by the actual url properly escaped.

Referenced by main(), gnash::Kde4GuiPrefs::PreferencesDialog::PreferencesDialog(), and gnash::AOS4Gui::ReadPrefs().

int gnash::RcInitFile::getWebcamDevice (  )  const [inline]
const PathList& gnash::RcInitFile::getWhiteList (  )  const [inline]

Get the current RcInitFile whitelist of domains to allow.

Returns:
a std::vector of strings containing allowed domains

Referenced by main().

void gnash::RcInitFile::ignoreFSCommand ( bool  value  )  [inline]
bool gnash::RcInitFile::ignoreFSCommand (  )  const [inline]
void gnash::RcInitFile::ignoreShowMenu ( bool  value  )  [inline]

Referenced by main().

bool gnash::RcInitFile::ignoreShowMenu (  )  const [inline]
bool gnash::RcInitFile::insecureSSL (  )  const [inline]
void gnash::RcInitFile::insecureSSL ( bool  value  )  [inline]
void gnash::RcInitFile::interfacePopups ( bool  value  )  [inline]
void gnash::RcInitFile::loadFiles (  ) 

Load and parse files, looking in the usual places.

Reimplemented in cygnal::CRcInitFile.

References _, gnash::key::e, gnash::key::i, parseFile(), and gnash::key::t.

Referenced by RcInitFile().

bool gnash::RcInitFile::parseFile ( const std::string &  filespec  ) 
void gnash::RcInitFile::parseList ( std::vector< std::string > &  list,
const std::string &  action,
const std::string &  items 
) [protected]

parses a space-separated list into std::vector list

Parameters:
list the vector to modify or generate.
action either 'set' or 'append': whether to add to or clear the vector.
items string of space-separated values. This gets nuked.

Referenced by parseFile().

bool gnash::RcInitFile::popupMessages (  )  const [inline]
int gnash::RcInitFile::qualityLevel (  )  const [inline]

References _quality.

Referenced by main().

void gnash::RcInitFile::qualityLevel ( int  value  )  [inline]

References _quality.

bool gnash::RcInitFile::saveLoadedMedia (  )  const [inline]
void gnash::RcInitFile::saveLoadedMedia ( bool  value  )  [inline]
bool gnash::RcInitFile::saveStreamingMedia (  )  const [inline]
void gnash::RcInitFile::saveStreamingMedia ( bool  value  )  [inline]
void gnash::RcInitFile::setAudioInputDevice ( int  value  )  [inline]
void gnash::RcInitFile::setBlacklist ( const std::vector< std::string > &  list  )  [inline]

Sets the RcInitFile blacklist of domains to block.

Parameters:
list a std::vector of strings containing domains without protocol
void gnash::RcInitFile::setCertDir ( const std::string &  value  )  [inline]

Set the directory for client SSL certificates.

Reimplemented in cygnal::CRcInitFile.

void gnash::RcInitFile::setCertFile ( const std::string &  value  )  [inline]

Set the Client SSL certificate.

Reimplemented in cygnal::CRcInitFile.

void gnash::RcInitFile::setDebugLog ( const std::string &  x  )  [inline]
void gnash::RcInitFile::setDocumentRoot ( const std::string &  x  )  [inline]

Reimplemented in cygnal::CRcInitFile.

void gnash::RcInitFile::setFlashSystemManufacturer ( const std::string &  value  )  [inline]
void gnash::RcInitFile::setFlashSystemOS ( const std::string &  value  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setFlashVersionString ( const std::string &  value  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setGstAudioSink ( const std::string &  value  )  [inline]
void gnash::RcInitFile::setHWAccel ( const std::string &  x  )  [inline]
void gnash::RcInitFile::setLCShmKey ( bool  x  )  [inline]
void gnash::RcInitFile::setLCTrace ( bool  x  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setLocalConnection ( bool  x  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setLocalSandboxPath ( const PathList path  )  [inline]

Sets a list of sandbox paths. Gnash will only allow movies access to files in these paths. The path of the movie playing is automatically added.

Parameters:
list a std::vector of strings containing paths to allow
void gnash::RcInitFile::setMediaDir ( const std::string &  value  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setMediaHandler ( const std::string &  x  )  [inline]
void gnash::RcInitFile::setMovieLibraryLimit ( int  value  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setRenderer ( const std::string &  x  )  [inline]

References _renderer.

void gnash::RcInitFile::setRetries ( int  x  )  [inline]
void gnash::RcInitFile::setRootCert ( const std::string &  value  )  [inline]

Set the Root SSL certificate.

Reimplemented in cygnal::CRcInitFile.

void gnash::RcInitFile::setSOLLocalDomain ( bool  x  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setSOLReadOnly ( bool  x  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setSOLSafeDir ( const std::string &  x  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setStreamsTimeout ( const double &  x  )  [inline]

Set seconds of inactivity before timing out streams downloads.

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setTimerDelay ( int  x  )  [inline]
void gnash::RcInitFile::setURLOpenerFormat ( const std::string &  value  )  [inline]

Referenced by gnash::AOS4Gui::run().

void gnash::RcInitFile::setWebcamDevice ( int  value  )  [inline]
void gnash::RcInitFile::setWhitelist ( const std::vector< std::string > &  list  )  [inline]

Sets the RcInitFile whitelist of domains to allow.

Parameters:
list a std::vector of strings containing domains without protocol
void gnash::RcInitFile::showASCodingErrors ( bool  value  ) 
bool gnash::RcInitFile::showASCodingErrors (  )  const [inline]
bool gnash::RcInitFile::showMalformedAMFErrors (  )  const [inline]
void gnash::RcInitFile::showMalformedAMFErrors ( bool  value  ) 
bool gnash::RcInitFile::showMalformedSWFErrors (  )  const [inline]
void gnash::RcInitFile::showMalformedSWFErrors ( bool  value  ) 

References _verboseMalformedSWF.

bool gnash::RcInitFile::startStopped (  )  const [inline]

Return true if user is willing to start the gui in "stop" mode.

defaults to false.

Referenced by main(), gnash::Kde4GuiPrefs::PreferencesDialog::PreferencesDialog(), gnash::AOS4Gui::ReadPrefs(), gnash::Player::run(), and gnash::AOS4Gui::run().

void gnash::RcInitFile::startStopped ( bool  value  )  [inline]
bool gnash::RcInitFile::updateFile ( const std::string &  filespec  ) 
bool gnash::RcInitFile::updateFile (  ) 

Writes a gnashrc file to the file specified in the GNASHRC environment variable OR to the user's home directory.

Returns:
whether the file was successfully written.

References _.

void gnash::RcInitFile::useActionDump ( bool  value  ) 

References _actionDump.

bool gnash::RcInitFile::useActionDump (  )  const [inline]
bool gnash::RcInitFile::useDebugger (  )  const [inline]

Referenced by main().

void gnash::RcInitFile::useDebugger ( bool  value  )  [inline]
bool gnash::RcInitFile::useLocalDomain (  )  const [inline]
void gnash::RcInitFile::useLocalDomain ( bool  value  ) 

References _localdomainOnly.

void gnash::RcInitFile::useLocalHost ( bool  value  ) 

Set whether to restrict access to the local host.

References _localhostOnly.

bool gnash::RcInitFile::useLocalHost (  )  const [inline]
bool gnash::RcInitFile::useParserDump (  )  const [inline]
void gnash::RcInitFile::useParserDump ( bool  value  ) 

References _parserDump.

void gnash::RcInitFile::usePluginSound ( bool  value  )  [inline]
bool gnash::RcInitFile::usePluginSound (  )  const [inline]

Referenced by main().

bool gnash::RcInitFile::useSound (  )  const [inline]
void gnash::RcInitFile::useSound ( bool  value  )  [inline]
void gnash::RcInitFile::useSplashScreen ( bool  value  ) 

References _splashScreen.

bool gnash::RcInitFile::useSplashScreen (  )  const [inline]

Referenced by main().

void gnash::RcInitFile::useWriteLog ( bool  value  ) 

References _writeLog.

bool gnash::RcInitFile::useWriteLog (  )  const [inline]
void gnash::RcInitFile::verbosityLevel ( int  value  )  [inline]
int gnash::RcInitFile::verbosityLevel (  )  const [inline]
void gnash::RcInitFile::writeList ( const PathList list,
std::ostream &  o 
) [protected]

Referenced by dump(), and updateFile().


Member Data Documentation

Enable dumping actionscript classes.

Referenced by dump(), cygnal::CRcInitFile::dump(), parseFile(), updateFile(), and useActionDump().

Blocked Domains.

Referenced by dump(), parseFile(), and updateFile().

This is the path to the directory containing cert files

Referenced by parseFile().

This is the name of the client certificate file

Referenced by parseFile().

bool gnash::RcInitFile::_debug [protected]

Enable debugging of this class.

bool gnash::RcInitFile::_debugger [protected]

Enable the Flash movie debugger.

Referenced by dump(), parseFile(), and updateFile().

boost::uint32_t gnash::RcInitFile::_delay [protected]

The timer delay.

Referenced by dump(), parseFile(), and updateFile().

Enable scanning plugin path for extensions.

Referenced by dump(), parseFile(), and updateFile().

String to pass as System.capabilities.manufacturer in Actionscript.

Referenced by parseFile().

std::string gnash::RcInitFile::_flashSystemOS [protected]

String to pass as System.capabilities.os in Actionscript. If empty, leaves detection to System.cpp (default).

Referenced by parseFile(), and updateFile().

std::string gnash::RcInitFile::_flashVersionString [protected]

String to pass as $version in Actionscript.

Referenced by dump(), parseFile(), and updateFile().

std::string gnash::RcInitFile::_gstaudiosink [protected]

String representing the first GStreamer audio output pipeline to try.

Referenced by dump(), parseFile(), and updateFile().

std::string gnash::RcInitFile::_hwaccel [protected]

Whether to use HW video decoding support, no value means disabled. The only currently supported values are: none, vaapi, or xv. omap support is coming.

Referenced by parseFile().

Whether the player should respond to fscommands (showmenu, quit etc)

Referenced by parseFile(), and updateFile().

Whether the player will recognize changes to Stage.showMenu in AS default value is true

Referenced by parseFile().

Allow SSL connections without verifying the certificate.

Referenced by dump(), parseFile(), and updateFile().

Referenced by parseFile(), and updateFile().

boost::uint32_t gnash::RcInitFile::_lcshmkey [protected]

Shared memory segment key (can be set for compatibility with other players.)

Referenced by parseFile(), and updateFile().

bool gnash::RcInitFile::_lctrace [protected]

Trace local connection activity (in log).

Referenced by parseFile(), and updateFile().

Only access network resources in the local domain.

Referenced by dump(), parseFile(), updateFile(), and useLocalDomain().

Only access network resources on the local host.

Referenced by dump(), parseFile(), updateFile(), and useLocalHost().

Local sandbox: the set of resources on the filesystem we want to give the current movie access to.

Referenced by dump(), and parseFile().

std::string gnash::RcInitFile::_log [protected]

The name of the debug log.

Referenced by dump(), parseFile(), and updateFile().

std::string gnash::RcInitFile::_mediaCacheDir [protected]

Referenced by parseFile(), and updateFile().

std::string gnash::RcInitFile::_mediahandler [protected]

Which media player backend to use, no value means use the default. The default is set in the MediaFactory initialization table.

Referenced by parseFile().

Referenced by parseFile().

boost::uint32_t gnash::RcInitFile::_movieLibraryLimit [protected]

Max number of movie clips to store in the library.

Referenced by parseFile(), and updateFile().

Enable dumping parser data.

Referenced by dump(), cygnal::CRcInitFile::dump(), parseFile(), updateFile(), and useParserDump().

Enable sound for the plugin.

Referenced by dump(), parseFile(), and updateFile().

bool gnash::RcInitFile::_popups [protected]

Referenced by parseFile(), and updateFile().

int gnash::RcInitFile::_quality [protected]

The quality to display SWFs in. -1 to allow the SWF to override.

Referenced by parseFile(), and updateFile().

std::string gnash::RcInitFile::_renderer [protected]

Which renderer backend to use, no value means use the default. The currently supported values are agg, opengl, or cairo. AGG being the default.

Referenced by parseFile().

int gnash::RcInitFile::_retries [protected]

the number of retries for a thread

This is the name of the root certificate

Referenced by parseFile().

Referenced by parseFile(), and updateFile().

Referenced by parseFile(), and updateFile().

Referenced by parseFile(), and updateFile().

Whether SOL files can be written.

Referenced by parseFile(), and updateFile().

std::string gnash::RcInitFile::_solsandbox [protected]

SOL Sandbox: This is the only dir .sol (Shared Object) files can be written in, or read from.

Referenced by parseFile(), RcInitFile(), and updateFile().

bool gnash::RcInitFile::_sound [protected]

Enable the sound handler at startup.

Referenced by dump(), parseFile(), and updateFile().

Display a splash screen when loading a movie.

Referenced by dump(), parseFile(), updateFile(), and useSplashScreen().

Start the gui in "stop" mode.

Referenced by parseFile(), and updateFile().

The number of seconds of inactivity triggering download timeout.

Referenced by parseFile(), and updateFile().

std::string gnash::RcInitFile::_urlOpenerFormat [protected]

Command format to use to open urls.

The u label will need to be substituted by the url (properly escaped)

Referenced by parseFile(), RcInitFile(), and updateFile().

bool gnash::RcInitFile::_useXv [protected]

Enable ActionScript errors verbosity.

Referenced by dump(), cygnal::CRcInitFile::dump(), parseFile(), showASCodingErrors(), and updateFile().

Enable Malformed AMF verbosity.

Referenced by parseFile(), and updateFile().

Enable Malformed SWF verbosity.

Referenced by parseFile(), showMalformedSWFErrors(), and updateFile().

boost::uint32_t gnash::RcInitFile::_verbosity [protected]

Level of debugging output.

Referenced by dump(), cygnal::CRcInitFile::dump(), parseFile(), and updateFile().

FIXME: this should probably eventually be changed to a more readable config option instead of an integer

Referenced by parseFile().

Allowed domains.

Referenced by dump(), parseFile(), and updateFile().

bool gnash::RcInitFile::_writeLog [protected]

Enable writing the debug log to disk.

Referenced by dump(), parseFile(), updateFile(), and useWriteLog().

std::string gnash::RcInitFile::_wwwroot [protected]

The root path for the streaming server.

Referenced by parseFile(), and updateFile().


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