Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __AOS4_GNASH_PREFS_H__
00020 #define __AOS4_GNASH_PREFS_H__
00021
00022 #define ALL_REACTION_CLASSSES
00023 #include <reaction/reaction_macros.h>
00024 #include <reaction/reaction_prefs.h>
00025
00026 #include <exec/exec.h>
00027 #include <dos/dos.h>
00028 #include <images/label.h>
00029 #include <intuition/screens.h>
00030
00031 #include <classes/window.h>
00032
00033 #include <gadgets/layout.h>
00034 #include <gadgets/clicktab.h>
00035 #include <gadgets/scroller.h>
00036 #include <gadgets/checkbox.h>
00037 #include <gadgets/string.h>
00038 #include <gadgets/integer.h>
00039 #include <gadgets/button.h>
00040
00041 #include <proto/exec.h>
00042 #include <proto/intuition.h>
00043
00044 #include <proto/window.h>
00045 #include <proto/layout.h>
00046 #include <proto/space.h>
00047 #include <proto/clicktab.h>
00048 #include <proto/scroller.h>
00049 #include <proto/label.h>
00050 #include <proto/checkbox.h>
00051 #include <proto/string.h>
00052 #include <proto/integer.h>
00053 #include <proto/button.h>
00054
00055 #include <libraries/gadtools.h>
00056
00057 #include <stdio.h>
00058 #include <cstdio>
00059
00060
00061 struct GnashPrefs
00062 {
00063 int verbosity;
00064 int logtofile;
00065 char logfilename[255];
00066 int logparser;
00067 int logswf;
00068 int logmalformedswf;
00069 int logactionscript;
00070 int loglocalconn;
00071 int connectlocalhost;
00072 int connectlocaldomain;
00073 int disablessl;
00074 char sharedobjdir[255];
00075 int dontwriteso;
00076 int onlylocalso;
00077 int disablelocal;
00078 int nettimeout;
00079 int usesound;
00080 int savemedia;
00081 int savedynamic;
00082 char savemediadir[255];
00083 char playerversion[32];
00084 char detectedos[32];
00085 char urlopener[255];
00086 int maxsizemovielib;
00087 int startpaused;
00088 };
00089
00090
00091 enum
00092 {
00093
00094 OBJ_CLICKTAB_MAIN = -1,
00095
00096
00097 OBJ_SCROLLER,
00098 OBJ_SCROLLER_VALUE,
00099 OBJ_LOGTOFILE,
00100 OBJ_LOGFILENAME_VALUE,
00101 OBJ_LOGPARSER,
00102 OBJ_LOGSWF,
00103 OBJ_LOGMALFORMEDSWF,
00104 OBJ_LOGACTIONSCRIPT,
00105 OBJ_LOGLOCALCONNECTION,
00106
00107 OBJ_CONNECTLOCALHOST,
00108 OBJ_CONNECTLOCALDOMAIN,
00109 OBJ_DISABLESSL,
00110 OBJ_SHAREDOBJDIR_VALUE,
00111 OBJ_DONTWRITESHAREDOBJ,
00112 OBJ_ONLYLOCALSHAREDOBJ,
00113 OBJ_DISABLELOCALCONNOBJ,
00114
00115 OBJ_NETWORKTIMEOUT,
00116 OBJ_LABELNETWORKTIMEOUT,
00117
00118 OBJ_USESOUNDHANDLER,
00119 OBJ_SAVEMEDIASTREAMS,
00120 OBJ_SEVEDYNAMICSTREAMS,
00121 OBJ_MEDIASAVEDIR_VALUE,
00122
00123 OBJ_PLAYERVERSION_VALUE,
00124 OBJ_OS_VALUE,
00125 OBJ_URLOPENER_VALUE,
00126 OBJ_SIZEMOVIELIB,
00127 OBJ_STARTINPAUSE,
00128
00129 OBJ_OK,
00130 OBJ_CANCEL,
00131 OBJ_NUM
00132 };
00133
00134 Object *make_window(struct GnashPrefs *preferences);
00135
00136 #endif //__AOS4_GNASH_PREFS_H__