Version:
~ [ 10.0 ] ~
** Warning: Cannot open xref database.
1
2 /* $Id: frontierstart.c,v 1.3 2005/01/11 22:48:05 andreradke Exp $ */
3
4 /******************************************************************************
5
6 UserLand Frontier(tm) -- High performance Web content management,
7 object database, system-level and Internet scripting environment,
8 including source code editing and debugging.
9
10 Copyright (C) 1992-2004 UserLand Software, Inc.
11
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
26 ******************************************************************************/
27
28 #include "frontier.h"
29 #include "standard.h"
30
31 #ifdef MACVERSION
32 #include "OSXSpecifics.h"
33 #include "player.h" /*7.0b4: QuickTime Player*/
34 #endif
35
36 #include "about.h"
37 #include "frontierconfig.h"
38 #include "db.h" /*stats*/
39 #include "file.h" /*6.1b15 AR: filestart*/
40 #include "shell.h"
41 #include "lang.h"
42 #include "langinternal.h"
43 #include "langexternal.h"
44 #include "tableverbs.h"
45 #include "opverbs.h"
46 #include "scripts.h"
47 #include "menuverbs.h"
48 #include "pictverbs.h"
49 #include "wpverbs.h"
50 #include "cancoon.h"
51 #include "command.h"
52 #ifdef flcomponent
53 #include "osacomponent.h"
54 #endif
55 #ifdef fliowa
56 #include "iowaverbs.h" /*3/18/92 dmb*/
57 #endif
58 #include "frontierstart.h"
59
60
61 boolean frontierstart (void) {
62
63 /*
64 do all initialization and starting up. on failure, exit to shell; only
65 return to caller on success
66
67 3.0.4b6 dmb: call osacomponentstart from here, after the shell
68 is more thoroughly initialized.
69 */
70
71 iddefaultconfig = idcancoonconfig;
72 // iddefaultconfig = idscriptconfig;
73
74 if (!filestart ()) /*6.1b16*/
75 return (false);
76
77 if (!opstart ())
78 return (false);
79
80 if (!menustart ())
81 return (false);
82
83 if (!tablestart ())
84 return (false);
85
86 if (!scriptstart ())
87 return (false);
88
89 if (!pictstart ())
90 return (false);
91
92 if (!wpstart ())
93 return (false);
94
95 #ifdef version42orgreater
96
97 if (!aboutstart ())
98 return (false);
99
100 #ifdef MACVERSION
101
102 /*
103 useQDText(0); // set to 1 for Quartz rendering.
104 */
105
106 if (!playerstart ()) /*7.0b4 PBS: QuickTime Player*/
107 return (false);
108
109 #endif
110
111 #endif
112
113 if (!cmdstart ())
114 return (false);
115
116 if (!langdialogstart ())
117 return (false);
118
119 if (!langerrorstart ())
120 return (false);
121
122 if (!statsstart ())
123 return (false);
124
125 #ifdef iowaRuntime
126
127 if (!langcardstart ())
128 return (false);
129
130 #endif
131
132 if (!ccstart ())
133 return (false);
134
135 #ifdef flcomponent
136
137 //#if !TARGET_API_MAC_CARBON
138 //Code change by Timothy Paustian Saturday, July 8, 2000 9:47:28 PM
139 //The carbon version just does not play nice with the component manager.
140 //at some point I have to figure this out.
141 if (!osacomponentstart ())
142 ; // don't quit if this doesn't work
143 //#endif
144
145 #endif
146
147 if (!shellstart ())
148 return (false);
149
150 return (true);
151 } /*frontierstart*/
152
153
154
155
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.