Gnash  0.8.11dev
aos4_gnash_prefs.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010,
3 // 2011 Free Software Foundation, Inc
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 
19 #ifndef __AOS4_GNASH_PREFS_H__
20 #define __AOS4_GNASH_PREFS_H__
21 
22 #define ALL_REACTION_CLASSSES
23 #include <reaction/reaction_macros.h>
24 #include <reaction/reaction_prefs.h>
25 
26 #include <exec/exec.h>
27 #include <dos/dos.h>
28 #include <images/label.h>
29 #include <intuition/screens.h>
30 
31 #include <classes/window.h>
32 
33 #include <gadgets/layout.h>
34 #include <gadgets/clicktab.h>
35 #include <gadgets/scroller.h>
36 #include <gadgets/checkbox.h>
37 #include <gadgets/string.h>
38 #include <gadgets/integer.h>
39 #include <gadgets/button.h>
40 
41 #include <proto/exec.h>
42 #include <proto/intuition.h>
43 
44 #include <proto/window.h>
45 #include <proto/layout.h>
46 #include <proto/space.h>
47 #include <proto/clicktab.h>
48 #include <proto/scroller.h>
49 #include <proto/label.h>
50 #include <proto/checkbox.h>
51 #include <proto/string.h>
52 #include <proto/integer.h>
53 #include <proto/button.h>
54 
55 #include <libraries/gadtools.h>
56 
57 #include <stdio.h>
58 #include <cstdio>
59 
60 //#define DEBUG_GUI 1
61 struct GnashPrefs
62 {
63  int verbosity;
64  int logtofile;
65  char logfilename[255];
66  int logparser;
67  int logswf;
74  char sharedobjdir[255];
79  int usesound;
80  int savemedia;
82  char savemediadir[255];
83  char playerversion[32];
84  char detectedos[32];
85  char urlopener[255];
88 };
89 
90 
91 enum
92 {
93  // *** Main ***
95  //
96  // *** page 1 ***
106  // *** page 2 ***
114  // *** page 3 ***
117  // *** page 4 ***
122  // *** page 5 ***
128  // *** other ***
132 };
133 
134 Object *make_window(struct GnashPrefs *preferences);
135 
136 #endif //__AOS4_GNASH_PREFS_H__
int maxsizemovielib
Definition: aos4_gnash_prefs.h:86
int startpaused
Definition: aos4_gnash_prefs.h:87
Definition: aos4_gnash_prefs.h:116
int loglocalconn
Definition: aos4_gnash_prefs.h:70
char savemediadir[255]
Definition: aos4_gnash_prefs.h:82
Definition: aos4_gnash_prefs.h:118
Definition: aos4_gnash_prefs.h:98
Definition: aos4_gnash_prefs.h:120
Definition: aos4_gnash_prefs.h:108
int verbosity
Definition: aos4_gnash_prefs.h:63
Definition: aos4_gnash_prefs.h:119
Definition: aos4_gnash_prefs.h:125
Definition: aos4_gnash_prefs.h:94
char detectedos[32]
Definition: aos4_gnash_prefs.h:84
Definition: aos4_gnash_prefs.h:115
int logmalformedswf
Definition: aos4_gnash_prefs.h:68
Definition: aos4_gnash_prefs.h:102
int logparser
Definition: aos4_gnash_prefs.h:66
int dontwriteso
Definition: aos4_gnash_prefs.h:75
Definition: aos4_gnash_prefs.h:127
Definition: aos4_gnash_prefs.h:109
char logfilename[255]
Definition: aos4_gnash_prefs.h:65
Definition: aos4_gnash_prefs.h:101
Definition: aos4_gnash_prefs.h:105
Definition: aos4_gnash_prefs.h:107
Definition: aos4_gnash_prefs.h:130
Definition: aos4_gnash_prefs.h:61
Definition: aos4_gnash_prefs.h:113
Definition: aos4_gnash_prefs.h:111
Definition: aos4_gnash_prefs.h:123
Definition: aos4_gnash_prefs.h:129
Definition: aos4_gnash_prefs.h:100
int savemedia
Definition: aos4_gnash_prefs.h:80
int connectlocaldomain
Definition: aos4_gnash_prefs.h:72
char urlopener[255]
Definition: aos4_gnash_prefs.h:85
int logswf
Definition: aos4_gnash_prefs.h:67
Definition: aos4_gnash_prefs.h:124
int connectlocalhost
Definition: aos4_gnash_prefs.h:71
char playerversion[32]
Definition: aos4_gnash_prefs.h:83
int nettimeout
Definition: aos4_gnash_prefs.h:78
int logactionscript
Definition: aos4_gnash_prefs.h:69
Definition: aos4_gnash_prefs.h:103
Definition: aos4_gnash_prefs.h:97
Definition: aos4_gnash_prefs.h:112
int logtofile
Definition: aos4_gnash_prefs.h:64
int disablelocal
Definition: aos4_gnash_prefs.h:77
Definition: aos4_gnash_prefs.h:99
int usesound
Definition: aos4_gnash_prefs.h:79
char sharedobjdir[255]
Definition: aos4_gnash_prefs.h:74
Definition: aos4_gnash_prefs.h:110
Definition: aos4_gnash_prefs.h:104
int onlylocalso
Definition: aos4_gnash_prefs.h:76
int disablessl
Definition: aos4_gnash_prefs.h:73
Definition: aos4_gnash_prefs.h:131
int savedynamic
Definition: aos4_gnash_prefs.h:81
Definition: aos4_gnash_prefs.h:126
Definition: aos4_gnash_prefs.h:121
Object * make_window(struct GnashPrefs *preferences)
Definition: aos4_gnash_prefs.cpp:36