main3.cpp File Reference

(r1785/r1765)

#include "camtypes.h"
#include "selall.h"
#include "keypress.h"
#include "scunit.h"
#include "finfodlg.h"
#include "aligndlg.h"
#include "bmpprefs.h"
#include "renddlg.h"
#include "tracedlg.h"
#include "appprefs.h"
#include "coldlog.h"
#include "opnudge.h"
#include "combshps.h"
#include "colcomp.h"
#include "bmpcomp.h"
#include "princomp.h"
#include "nodebmp.h"
#include "dragcol.h"
#include "dragpick.h"
#include "dragbmp.h"
#include "diagnost.h"
#include "osrndrgn.h"
#include "transop.h"
#include "menuops.h"
#include "hotkeys.h"
#include "progress.h"
#include "oilmenus.h"
#include "clipint.h"
#include "fontman.h"
#include "fntcache.h"
#include "pathops.h"
#include "tunemem.h"
#include "prncamvw.h"
#include "oilruler.h"
#include "appstate.h"
#include "ccpanose.h"
#include "unitcomp.h"
#include "infocomp.h"
#include "viewcomp.h"
#include "fontcomp.h"
#include "prnmkcom.h"
#include "printprg.h"
#include "hlinkdlg.h"
#include "strkcomp.h"
#include "tmpltdlg.h"
#include "styles.h"
#include "brshcomp.h"
#include "editsel.h"
#include "camview.h"
#include "selmedia.h"

Go to the source code of this file.

Functions

BOOL InitPostTools2 ()


Function Documentation

BOOL InitPostTools2  ) 
 

Definition at line 176 of file main3.cpp.

00177 {
00178     return (
00179             SelectAllOp::Init() &&              // Init the SelectAll op
00180             SelectNoneOp::Init() &&             // Init the SelectNone op
00181 #ifndef EXCLUDE_FROM_XARALX
00182 PORTNOTE("other","Removed a large amount of initialization")
00183             XPEEditOp::Init() &&                // Init the XPE Edit operation
00184             EditSelectionOp::Init() &&          // Init the "Edit Selection" op
00185             KeyPress::Init() &&                 // Init the key press system
00186 #endif
00187             FileInfo::Init() &&                 // Init the document info dialogue
00188 
00189             ArrangeAlignment::Init() &&         // Init the arrange alignment dialogue
00190             OpAlign::Init() &&                  // Init the align op
00191 #ifndef EXCLUDE_FROM_XARALX
00192             BmpPrefsDlg::Init() &&              // Init the export bitmap options dialog
00193 #endif
00194             TraceDlg::Init() &&                 // Init the trace dialog
00195 #ifndef EXCLUDE_FROM_XARALX
00196             WebAddressDlg::Init() &&
00197             PhotoCDDlg::Init() &&               // Init the import PhotoCD options dialog
00198 #endif
00199             RenderDemoDlg::Init() &&            // Init the Render Demo Dialog
00200             AppPrefsDlg::Init() &&              // Init the application preference/options dialog
00201 #ifndef EXCLUDE_FROM_XARALX
00202             TemplateDialog::Init() &&
00203             DocPrefsDlg::Init() &&              // Init the document preference/options dialog
00204 #endif
00205             StandardUnit::Init() &&             // create some standard scale units (scunit.h)
00206             ColourEditDlg::Init() &&            // Init the colour editor dialogue
00207 #ifndef EXCLUDE_FROM_XARALX
00208             OpConvertToBitmap::Init() &&
00209 #endif
00210             OpNudge::Init() &&                  // Init the nudge ops
00211             OpCombineShapes::Init() &&          // init the shape combining ops
00212 
00213             OpMenuSelectPathPoints::Init() &&
00214             OpCreateNodeBitmap::Init() &&
00215 
00216             ColourListComponentClass::Init() && // Init & register the colour list component
00217             BitmapListComponentClass::Init() && // Init & register the bitmap list component
00218             UnitListComponentClass::Init()   && // Init & register the units component
00219             DocInfoComponentClass::Init()    && // Init & register the document information component
00220             WizOpStyleComponentClass::Init() && // Init & register the styles component
00221 
00222             PrintComponentClass::Init()      && // Init & register the print component
00223             PrintMarkComponentClass::Init()  && // Init & register the print marks component
00224             ViewComponentClass::Init()       && // Init & register the view component
00225             FontComponentClass::Init()       && // Init & register the font component
00226 
00227 // Neville 5/8/97 remove Stroking code
00228 #ifdef VECTOR_STROKING
00229             StrokeComponentClass::Init()     && // Init & register the stroke component
00230 #endif // VECTOR_STROKING
00231 
00232             BrushComponentClass::Init()      && // Init & register the brush component
00233             RenderRegion::InitPrefs() &&        // Get the render region prefs from the .INI
00234             OSRenderRegion::Init() &&           // init GDI preferences
00235             SimpleCCObject::Init() &&           // Init the Memory tracking preferences
00236             ClickModifiers::DeclarePrefs() &&
00237             DocView::DeclarePreferences() &&    // Deals with DocViews preferences
00238             Document::ReadPrefs() &&            // read in class Document's preferences
00239             Convert::Init() &&                  // Read number of decimal places, decimal point
00240                                                 // and thousands seperator characters from
00241                                                 // operating system .
00242             ColourDragInformation::Init() &&
00243             ColourPickerDragInformation::Init() &&
00244             BitmapDragInformation::Init() &&
00245 PORTNOTE("other","Removed more initialization")
00246 #ifndef EXCLUDE_FROM_XARALX
00247             InitDiagnosticPrefs() &&            // Get the diagnostic preferences
00248 #endif          
00249             CCamView::ReadViewPrefs() &&
00250             PrintMonitor::InitPrefs() &&
00251             PrintProgressDlg::Init() &&
00252 
00253 #ifndef EXCLUDE_FROM_XARALX
00254             BaseBar::DeclarePreferences() &&
00255 
00256             TransOperation::DeclarePrefs() &&
00257 #endif
00258             AttributeManager::InitDefaults() &&
00259 PORTNOTE("other","Removed yet more initialization")
00260 #ifndef EXCLUDE_FROM_XARALX
00261             ControlHelper::Init() &&
00262             DialogControlHelper::Init() &&
00263             FontFactory::Init() &&
00264 
00265             // The next three inits must be performed in this order
00266 #endif
00267             Unit::Init() &&                     // init the unit class and default units
00268             DocUnitList::Init() &&              // Init the doc unit list system
00269             DimScale::Init()  &&                    // Init the dimension scaling system
00270             OpToolSelect::Init() &&             // Register Tool Selection operation
00271 
00272 
00273 PORTNOTE("other","Removed even more initialization")
00274 #ifndef EXCLUDE_FROM_XARALX
00275             // Must always be initialised after all the tools have been
00276             ToolBarOp::Init() &&                // Make the bar of tool bitmaps
00277 #endif
00278             HotKey::Init() &&                   // Init hotkey system AFTER the tool op descs have been registered
00279 PORTNOTE("other","Removed even more initialization")
00280 #ifndef EXCLUDE_FROM_XARALX
00281             InitHotKeySystem() &&               // Initialise Hot Key system
00282             InitButtonBar() &&                  // Initialise ButtonBar
00283 #endif
00284             Progress::Init() &&                 // Initialise progress cursor/bar displays
00285 
00286             InternalClipboard::Initialise() &&  // Create the application's internal clipboard cache
00287                                                 // (this is a DOCUMENT, so must be left until fairly late)
00288 
00289             InitMenuSystem() &&                 // Initialise Menu system (keep very last)
00290                                                 // (esp. after all Register'ing has been done)
00291 
00292             AttrFillGeometry::Init() &&         // Initialise the fill editing operations
00293 
00294             EPSFilter::InitPrefs() &&           // Initialise default font mappings and
00295                                                 // EPS export prefs
00296 #ifndef DISABLE_TEXT_RENDERING
00297             FontCache::Init() &&
00298 #endif
00299             TunedMemory::Init() &&              // declare prefs for the memory manager
00300 
00301             OILRuler::Init() &&                 // set the ruler widths depending on .ini font settings
00302 
00303 #ifndef EXCLUDE_FROM_XARALX
00304             InitRegistry() &&                   // register us with the shell etc
00305             InitAppState()  &&                  // get workspace prefs
00306 #endif
00307             SelMediaDlg::Init() &&
00308             TRUE
00309             );
00310 }


Generated on Sat Nov 10 03:49:14 2007 for Camelot by  doxygen 1.4.4