Gnash  0.8.11dev
rc.h
Go to the documentation of this file.
1 // rc.h: "Run Command" configuration file declarations, for Gnash.
2 //
3 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
4 // Free Software Foundation, Inc
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 
20 #ifndef GNASH_RC_H
21 #define GNASH_RC_H
22 
23 #include "dsodefs.h"
24 #include <string>
25 #include <vector>
26 #include <iosfwd>
27 #include <sstream>
28 #include <cstdint>
29 #include <boost/tokenizer.hpp>
30 
31 #include "StringPredicates.h"
32 
33 #if !defined(_WIN32) && !defined(__HAIKU__) && !defined(ANDROID)
34 #include <sys/shm.h>
35 #else
36 #ifdef _WIN32
37  typedef std::uint32_t key_t;
38 #endif // _WIN32
39 #endif // _WIN32 and __HAIKU__
40 
41 namespace gnash {
42 
44 {
45 public:
46 
48  static RcInitFile& getDefaultInstance();
49 
51  //
52  void loadFiles();
53 
54  bool parseFile(const std::string& filespec);
55 
59  //
62  bool updateFile(const std::string& filespec);
63 
67  //
69  bool updateFile();
70 
71  bool useSplashScreen() const { return _splashScreen; }
72  void useSplashScreen(bool value);
73 
74  bool useActionDump() const { return _actionDump; }
75  void useActionDump(bool value);
76 
77  bool useParserDump() const { return _parserDump; }
78  void useParserDump(bool value);
79 
80  bool useWriteLog() const { return _writeLog; }
81  void useWriteLog(bool value);
82 
83  int getTimerDelay() const { return _delay; }
84  void setTimerDelay(int x) { _delay = x; }
85 
86  bool showASCodingErrors() const { return _verboseASCodingErrors; }
87  void showASCodingErrors(bool value);
88 
89  bool showMalformedSWFErrors() const { return _verboseMalformedSWF; }
90  void showMalformedSWFErrors(bool value);
91 
92  bool showMalformedAMFErrors() const { return _verboseMalformedAMF; }
93  void showMalformedAMFErrors(bool value);
94 
95  int getMovieLibraryLimit() const { return _movieLibraryLimit; }
96  void setMovieLibraryLimit(int value) { _movieLibraryLimit = value; }
97 
98  bool enableExtensions() const { return _extensionsEnabled; }
99 
101  //
103  bool startStopped() const { return _startStopped; }
104  void startStopped(bool value) { _startStopped = value; }
105 
106  bool insecureSSL() const { return _insecureSSL; }
107  void insecureSSL(bool value) { _insecureSSL = value; }
108 
109  int qualityLevel() const { return _quality; }
110  void qualityLevel(int value) { _quality = value; }
111 
112  int verbosityLevel() const { return _verbosity; }
113  void verbosityLevel(int value) { _verbosity = value; }
114 
115  void setDebugLog(const std::string &x) { _log = x; }
116  const std::string& getDebugLog() const { return _log; }
117 
118  void setDocumentRoot(const std::string &x) { _wwwroot = x; }
119  std::string getDocumentRoot() { return _wwwroot; }
120 
121  bool useDebugger() const { return _debugger; }
122  void useDebugger(bool value) { _debugger = value; }
123 
124  bool useSound() const { return _sound; }
125  void useSound(bool value) { _sound = value; }
126 
127  // strk: I'd drop this, and allow an -f switch to select
128  // the gnashrc file to use instead
129  bool usePluginSound() const { return _pluginSound; }
130  void usePluginSound(bool value) { _pluginSound = value; }
131 
132  bool popupMessages() const { return _popups; }
133  void interfacePopups(bool value) { _popups = value; }
134 
135  bool useLocalDomain() const { return _localdomainOnly; }
136  void useLocalDomain(bool value);
137 
139  bool useLocalHost() const { return _localhostOnly; }
140 
142  void useLocalHost(bool value);
143 
144  typedef std::vector<std::string> PathList;
145 
147  //
149  const PathList& getWhiteList() const { return _whitelist; }
150 
152  //
154  void setWhitelist (const std::vector<std::string>& list) { _whitelist = list; }
155 
157  //
159  const PathList& getBlackList() const { return _blacklist; }
160 
164  bool showMouse() const { return _showMouse; }
165 
167  //
169  void setBlacklist (const std::vector<std::string>& list) {
170  _blacklist = list;
171  }
172 
174  //
178  const PathList& getLocalSandboxPath() const { return _localSandboxPath; }
179 
181  void addLocalSandboxPath(const std::string& dir)
182  {
183  _localSandboxPath.push_back(dir);
184  }
185 
189  //
191  void setLocalSandboxPath(const PathList& path)
192  {
193  _localSandboxPath = path;
194  }
195 
196  const std::string& getFlashVersionString() const {
197  return _flashVersionString;
198  }
199 
200  void setFlashVersionString(const std::string& value) {
201  _flashVersionString = value;
202  }
203 
204  const std::string& getFlashSystemOS() const {
205  return _flashSystemOS;
206  }
207 
208  void setFlashSystemOS(const std::string& value) {
209  _flashSystemOS = value;
210  }
211 
212  const std::string& getFlashSystemManufacturer() const {
213  return _flashSystemManufacturer;
214  }
215 
216  void setFlashSystemManufacturer(const std::string& value) {
217  _flashSystemManufacturer = value;
218  }
219 
220  const std::string& getGstAudioSink() const { return _gstaudiosink; }
221 
222  void setGstAudioSink(const std::string& value) { _gstaudiosink = value; }
223 
224  int getRetries() const { return _retries; }
225 
226  void setRetries(int x) { _retries = x; }
227 
229  double getStreamsTimeout() const { return _streamsTimeout; }
230 
232  void setStreamsTimeout(const double &x) { _streamsTimeout = x; }
233 
235  //
239  const std::string &getURLOpenerFormat() const
240  {
241  return _urlOpenerFormat;
242  }
243 
244  void setURLOpenerFormat(const std::string& value)
245  {
246  _urlOpenerFormat = value;
247  }
248 
249  // Get the name of the hardware acclerator to use for video
250  const std::string &getHWAccel() const { return _hwaccel; }
251 
252  // Set the name of the hardware acclerator to use for video
253  void setHWAccel(const std::string &x) { _hwaccel = x; }
254 
255  // Get the name of the renderer to draw the display
256  const std::string& getRenderer() const { return _renderer; }
257 
258  // Set the name of the renderer to draw the display
259  void setRenderer(const std::string& x) { _renderer = x; }
260 
261  // Get the name of the media handler to use for video/audio
262  const std::string& getMediaHandler() const { return _mediahandler; }
263 
264  // Set the name of the media handler to use for video/audio
265  void setMediaHandler(const std::string& x) { _mediahandler = x; }
266 
267  // Get the location of the sandbox for .sol files
268  const std::string &getSOLSafeDir() const { return _solsandbox; }
269 
270  // Set the location of the sandbox for .sol files
271  void setSOLSafeDir(const std::string &x) { _solsandbox = x; }
272 
273  bool getSOLLocalDomain() const { return _sollocaldomain; }
274 
275  void setSOLLocalDomain(bool x) { _sollocaldomain = x; }
276 
277  bool getSOLReadOnly() const { return _solreadonly; }
278 
279  void setSOLReadOnly(bool x) { _solreadonly = x; }
280 
281  bool getLocalConnection() const { return _lcdisabled; }
282 
283  void setLocalConnection(bool x) { _lcdisabled = x; }
284 
286  bool getLCTrace() const { return _lctrace; }
287 
288  void setLCTrace(bool x) { _lctrace = x; }
289 
290  key_t getLCShmKey() const { return static_cast<key_t>(_lcshmkey); }
291 
292  void setLCShmKey(bool x) { _lcshmkey = x; }
293 
294  bool ignoreFSCommand() const { return _ignoreFSCommand; }
295 
296  void ignoreFSCommand(bool value) { _ignoreFSCommand = value; }
297 
298  void saveStreamingMedia(bool value) { _saveStreamingMedia = value; }
299 
300  bool saveStreamingMedia() const { return _saveStreamingMedia; }
301 
302  void saveLoadedMedia(bool value) { _saveLoadedMedia = value; }
303 
304  bool saveLoadedMedia() const { return _saveLoadedMedia; }
305 
306  void setMediaDir(const std::string& value) { _mediaCacheDir = value; }
307 
308  const std::string& getMediaDir() const { return _mediaCacheDir; }
309 
310  void setWebcamDevice(int value) {_webcamDevice = value;}
311 
312  int getWebcamDevice() const {return _webcamDevice;}
313 
314  void setAudioInputDevice(int value) {_microphoneDevice = value;}
315 
316  int getAudioInputDevice() {return _microphoneDevice;}
317 
319  const std::string& getRootCert() const {
320  return _rootcert;
321  }
323  void setRootCert(const std::string& value) {
324  _rootcert = value;
325  }
326 
328  const std::string& getCertFile() const {
329  return _certfile;
330  }
332  void setCertFile(const std::string& value) {
333  _certfile = value;
334  }
335 
337  const std::string& getCertDir() const {
338  return _certdir;
339  }
341  void setCertDir(const std::string& value) {
342  _certdir = value;
343  }
344 
345  void ignoreShowMenu(bool value) { _ignoreShowMenu=value; }
346 
347  bool ignoreShowMenu() const { return _ignoreShowMenu; }
348 
349  int getScriptsTimeout() const { return _scriptsTimeout; }
350 
351  void setScriptsTimeout(int x) { _scriptsTimeout = x; }
352 
353  int getScriptsRecursionLimit() const { return _scriptsRecursionLimit; }
354 
355  void setScriptsRecursionLimit(int x) { _scriptsRecursionLimit = x; }
356 
357  void lockScriptLimits(bool x) { _lockScriptLimits = x; }
358 
359  bool lockScriptLimits() const { return _lockScriptLimits; }
360 
361  void dump();
362 
363 protected:
364 
365  // A function only for writing path lists to an outstream.
366  void writeList(const PathList& list, std::ostream& o);
367 
369  RcInitFile();
370 
372  ~RcInitFile();
373 
378  static void expandPath(std::string& path);
379 
383  //
389  static bool extractSetting(bool &var, const std::string& pattern,
390  const std::string &variable, const std::string &value);
391 
395  //
401  template<typename T>
402  static bool extractNumber(T& num, const std::string& pattern,
403  const std::string &variable, const std::string &value)
404  {
405 
406  StringNoCaseEqual noCaseCompare;
407 
408  if (noCaseCompare(variable, pattern)) {
409  std::istringstream in(value);
410  if (in >> num) return true;
411 
412  num = 0;
413  return true;
414  }
415 
416  return false;
417  }
418 
422  //
428  static bool extractDouble(double &out, const std::string& pattern,
429  const std::string &variable, const std::string &value);
430 
431 
433  //
438  void parseList(std::vector<std::string>& list, const std::string &action,
439  const std::string &items);
440 
441  typedef boost::char_separator<char> Sep;
442  typedef boost::tokenizer< Sep > Tok;
443 
445  std::uint32_t _delay;
446 
448  std::uint32_t _movieLibraryLimit;
449 
451  bool _debug;
452 
454  bool _debugger;
455 
457  std::uint32_t _verbosity;
458 
460  //
464  std::string _urlOpenerFormat;
465 
467  std::string _flashVersionString;
468 
470  std::string _gstaudiosink;
471 
475  std::string _flashSystemOS;
476 
481 
484 
487 
490 
493 
496 
499 
502 
505 
508 
510  PathList _whitelist;
511 
513  PathList _blacklist;
514 
516  std::string _log;
517 
519  bool _writeLog;
520 
522  std::string _wwwroot;
523 
525  int _retries;
526 
528  bool _sound;
529 
532 
535 
538 
541 
544 
548 
551  std::string _solsandbox;
552 
556 
557  // Disable local connection
559 
561  bool _lctrace;
562 
565  std::uint32_t _lcshmkey;
566 
570 
572  int _quality;
573 
575 
577 
578  std::string _mediaCacheDir;
579 
580  bool _popups;
581 
585 
587 
590  std::string _certfile;
591 
594  std::string _certdir;
595 
598  std::string _rootcert;
599 
603 
607  std::string _hwaccel;
608 
612  std::string _renderer;
613 
616  std::string _mediahandler;
617 
621 
624 
627 };
628 
629 // End of gnash namespace
630 }
631 
632 #endif
633 
634 
635 // local Variables:
636 // mode: C++
637 // indent-tabs-mode: t
638 // End:
bool _startStopped
Start the gui in "stop" mode.
Definition: rc.h:537
void setCertDir(const std::string &value)
Set the directory for client SSL certificates.
Definition: rc.h:341
bool usePluginSound() const
Definition: rc.h:129
bool _verboseASCodingErrors
Enable ActionScript errors verbosity.
Definition: rc.h:489
bool _localhostOnly
Only access network resources on the local host.
Definition: rc.h:504
const PathList & getLocalSandboxPath() const
Return the list of directories to be used as the &#39;local&#39; sandbox.
Definition: rc.h:178
const std::string & getMediaHandler() const
Definition: rc.h:262
bool getSOLLocalDomain() const
Definition: rc.h:273
std::string _wwwroot
The root path for the streaming server.
Definition: rc.h:522
std::vector< std::string > PathList
Definition: rc.h:144
std::string _mediahandler
Definition: rc.h:616
const std::string & getFlashSystemOS() const
Definition: rc.h:204
bool useSplashScreen() const
Definition: rc.h:71
void setBlacklist(const std::vector< std::string > &list)
Sets the RcInitFile blacklist of domains to block.
Definition: rc.h:169
void setLocalConnection(bool x)
Definition: rc.h:283
void ignoreFSCommand(bool value)
Definition: rc.h:296
bool _sound
Enable the sound handler at startup.
Definition: rc.h:528
int getAudioInputDevice()
Definition: rc.h:316
bool useSound() const
Definition: rc.h:124
bool useParserDump() const
Definition: rc.h:77
bool _pluginSound
Enable sound for the plugin.
Definition: rc.h:531
const std::string & getHWAccel() const
Definition: rc.h:250
void qualityLevel(int value)
Definition: rc.h:110
void verbosityLevel(int value)
Definition: rc.h:113
const std::string & getFlashSystemManufacturer() const
Definition: rc.h:212
bool ignoreShowMenu() const
Definition: rc.h:347
bool showMalformedAMFErrors() const
Definition: rc.h:92
std::uint32_t _movieLibraryLimit
Max number of movie clips to store in the library.
Definition: rc.h:448
void setDebugLog(const std::string &x)
Definition: rc.h:115
void setHWAccel(const std::string &x)
Definition: rc.h:253
bool _parserDump
Enable dumping parser data.
Definition: rc.h:486
void interfacePopups(bool value)
Definition: rc.h:133
bool _ignoreShowMenu
Definition: rc.h:602
void setMovieLibraryLimit(int value)
Definition: rc.h:96
std::uint32_t _lcshmkey
Definition: rc.h:565
void setRootCert(const std::string &value)
Set the Root SSL certificate.
Definition: rc.h:323
std::string _renderer
Definition: rc.h:612
bool lockScriptLimits() const
Definition: rc.h:359
bool _insecureSSL
Allow SSL connections without verifying the certificate.
Definition: rc.h:540
void setScriptsRecursionLimit(int x)
Definition: rc.h:355
VGPath path
Definition: testr_gtk.cpp:84
bool _extensionsEnabled
Enable scanning plugin path for extensions.
Definition: rc.h:534
void insecureSSL(bool value)
Definition: rc.h:107
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
const PathList & getWhiteList() const
Get the current RcInitFile whitelist of domains to allow.
Definition: rc.h:149
bool insecureSSL() const
Definition: rc.h:106
const std::string & getCertDir() const
Get the directory for client SSL certificates.
Definition: rc.h:337
void setFlashVersionString(const std::string &value)
Definition: rc.h:200
double _streamsTimeout
The number of seconds of inactivity triggering download timeout.
Definition: rc.h:543
bool getSOLReadOnly() const
Definition: rc.h:277
bool _localdomainOnly
Only access network resources in the local domain.
Definition: rc.h:501
void saveStreamingMedia(bool value)
Definition: rc.h:298
int _scriptsTimeout
Definition: rc.h:620
key_t getLCShmKey() const
Definition: rc.h:290
std::string _mediaCacheDir
Definition: rc.h:578
PathList _blacklist
Blocked Domains.
Definition: rc.h:513
const std::string & getRenderer() const
Definition: rc.h:256
std::uint32_t _verbosity
Level of debugging output.
Definition: rc.h:457
PathList _whitelist
Allowed domains.
Definition: rc.h:510
void setLocalSandboxPath(const PathList &path)
Definition: rc.h:191
bool _lockScriptLimits
Whether to ignore SWF ScriptLimits tags.
Definition: rc.h:626
std::uint32_t _delay
The timer delay.
Definition: rc.h:445
Definition: GnashKey.h:161
bool _debug
Enable debugging of this class.
Definition: rc.h:451
const std::string & getGstAudioSink() const
Definition: rc.h:220
void setCertFile(const std::string &value)
Set the Client SSL certificate.
Definition: rc.h:332
bool showMouse() const
Definition: rc.h:164
const std::string & getURLOpenerFormat() const
Get the URL opener command format.
Definition: rc.h:239
void useSound(bool value)
Definition: rc.h:125
void setWebcamDevice(int value)
Definition: rc.h:310
const std::string & getSOLSafeDir() const
Definition: rc.h:268
const std::string & getFlashVersionString() const
Definition: rc.h:196
boost::tokenizer< Sep > Tok
Definition: rc.h:442
std::string _gstaudiosink
String representing the first GStreamer audio output pipeline to try.
Definition: rc.h:470
void usePluginSound(bool value)
Definition: rc.h:130
bool getLocalConnection() const
Definition: rc.h:281
bool _ignoreFSCommand
Definition: rc.h:569
std::string _certfile
Definition: rc.h:590
void setFlashSystemManufacturer(const std::string &value)
Definition: rc.h:216
bool saveStreamingMedia() const
Definition: rc.h:300
int getScriptsRecursionLimit() const
Definition: rc.h:353
bool ignoreFSCommand() const
Definition: rc.h:294
void setMediaHandler(const std::string &x)
Definition: rc.h:265
void setSOLReadOnly(bool x)
Definition: rc.h:279
PathList _localSandboxPath
Local sandbox: the set of resources on the filesystem we want to give the current movie access to...
Definition: rc.h:547
bool showASCodingErrors() const
Definition: rc.h:86
void setLCTrace(bool x)
Definition: rc.h:288
int qualityLevel() const
Definition: rc.h:109
bool _saveStreamingMedia
Definition: rc.h:574
void useDebugger(bool value)
Definition: rc.h:122
void setTimerDelay(int x)
Definition: rc.h:84
std::string _log
The name of the debug log.
Definition: rc.h:516
std::string _hwaccel
Definition: rc.h:607
void setMediaDir(const std::string &value)
Definition: rc.h:306
bool _popups
Definition: rc.h:580
bool _debugger
Enable the Flash movie debugger.
Definition: rc.h:454
void setWhitelist(const std::vector< std::string > &list)
Sets the RcInitFile whitelist of domains to allow.
Definition: rc.h:154
void setScriptsTimeout(int x)
Definition: rc.h:351
bool useLocalHost() const
Whether to restrict access to the local host.
Definition: rc.h:139
void saveLoadedMedia(bool value)
Definition: rc.h:302
double getStreamsTimeout() const
The number of seconds of inactivity before timing out streams downloads.
Definition: rc.h:229
int getScriptsTimeout() const
Definition: rc.h:349
std::string _rootcert
Definition: rc.h:598
int getRetries() const
Definition: rc.h:224
std::string _flashSystemOS
String to pass as System.capabilities.os in Actionscript. If empty, leaves detection to System...
Definition: rc.h:475
bool startStopped() const
Return true if user is willing to start the gui in "stop" mode.
Definition: rc.h:103
bool _lcdisabled
Definition: rc.h:558
int _microphoneDevice
Definition: rc.h:586
void startStopped(bool value)
Definition: rc.h:104
std::int32_t x
Definition: BitmapData_as.cpp:434
int _quality
The quality to display SWFs in. -1 to allow the SWF to override.
Definition: rc.h:572
void addLocalSandboxPath(const std::string &dir)
Add a directory to the local sandbox list.
Definition: rc.h:181
std::string _solsandbox
SOL Sandbox: This is the only dir .sol (Shared Object) files can be written in, or read from...
Definition: rc.h:551
void setFlashSystemOS(const std::string &value)
Definition: rc.h:208
bool _sollocaldomain
Definition: rc.h:555
#define DSOEXPORT
Definition: dsodefs.h:55
const std::string & getRootCert() const
Get the Root SSL certificate.
Definition: rc.h:319
void setSOLSafeDir(const std::string &x)
Definition: rc.h:271
int _retries
the number of retries for a thread
Definition: rc.h:525
Definition: rc.h:43
bool _lctrace
Trace local connection activity (in log)
Definition: rc.h:561
void ignoreShowMenu(bool value)
Definition: rc.h:345
const std::string & getDebugLog() const
Definition: rc.h:116
bool saveLoadedMedia() const
Definition: rc.h:304
void setRetries(int x)
Definition: rc.h:226
std::string _certdir
Definition: rc.h:594
int getWebcamDevice() const
Definition: rc.h:312
std::string _flashVersionString
String to pass as $version in Actionscript.
Definition: rc.h:467
bool enableExtensions() const
Definition: rc.h:98
Definition: GnashKey.h:132
bool popupMessages() const
Definition: rc.h:132
boost::char_separator< char > Sep
Definition: rc.h:441
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.
Definition: rc.h:402
bool useDebugger() const
Definition: rc.h:121
bool _splashScreen
Display a splash screen when loading a movie.
Definition: rc.h:498
bool _showMouse
Show the mouse pointer.
Definition: rc.h:507
bool getLCTrace() const
Enable tracing all LocalConnection traffic.
Definition: rc.h:286
bool _writeLog
Enable writing the debug log to disk.
Definition: rc.h:519
std::string _urlOpenerFormat
Command format to use to open urls.
Definition: rc.h:464
bool showMalformedSWFErrors() const
Definition: rc.h:89
void setDocumentRoot(const std::string &x)
Definition: rc.h:118
void lockScriptLimits(bool x)
Definition: rc.h:357
bool _actionDump
Enable dumping actionscript classes.
Definition: rc.h:483
void setSOLLocalDomain(bool x)
Definition: rc.h:275
void setStreamsTimeout(const double &x)
Set seconds of inactivity before timing out streams downloads.
Definition: rc.h:232
bool _verboseMalformedSWF
Enable Malformed SWF verbosity.
Definition: rc.h:492
bool _saveLoadedMedia
Definition: rc.h:576
std::string getDocumentRoot()
Definition: rc.h:119
int verbosityLevel() const
Definition: rc.h:112
void setAudioInputDevice(int value)
Definition: rc.h:314
bool useWriteLog() const
Definition: rc.h:80
A case-insensitive string equality operator.
Definition: StringPredicates.h:40
bool _verboseMalformedAMF
Enable Malformed AMF verbosity.
Definition: rc.h:495
bool useActionDump() const
Definition: rc.h:74
void setRenderer(const std::string &x)
Definition: rc.h:259
const std::string & getMediaDir() const
Definition: rc.h:308
std::string _flashSystemManufacturer
String to pass as System.capabilities.manufacturer in Actionscript.
Definition: rc.h:480
void setLCShmKey(bool x)
Definition: rc.h:292
int getTimerDelay() const
Definition: rc.h:83
bool useLocalDomain() const
Definition: rc.h:135
const std::string & getCertFile() const
Get the Client SSL certificate.
Definition: rc.h:328
int getMovieLibraryLimit() const
Definition: rc.h:95
void setGstAudioSink(const std::string &value)
Definition: rc.h:222
bool _solreadonly
Whether SOL files can be written.
Definition: rc.h:554
const PathList & getBlackList() const
Get the current RcInitFile blacklist of domains to block.
Definition: rc.h:159
int _scriptsRecursionLimit
The max actionscript function call stack depth.
Definition: rc.h:623
int _webcamDevice
Definition: rc.h:584
void setURLOpenerFormat(const std::string &value)
Definition: rc.h:244