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__