$TYPECHECK ON
$APPTYPE GUI
CONST FREEQMAJORVERSION = 1
CONST FREEQMINORVERSION = 6
CONST FREEQVERSIONSTR AS STRING = "FreeQ IDEa (ver " + STR$(FREEQMAJORVERSION) + "." + STR$(FREEQMINORVERSION) + ")"
$INCLUDE <Windows.INC>
$INCLUDE <Rapidq2.INC>
DIM d AS QDebug
$INCLUDE <XP_Manifest.INC>
$INCLUDE <QXPButton.INC>
$INCLUDE <qini.INC>
$INCLUDE <htmlHelp.INC>
$INCLUDE ".\inc_ide\decl.inc"
$INCLUDE ".\inc_ide\APIdecl.inc"
$INCLUDE <\Scintilla\QScintilla.INC>
Scintilla_Initialize(True)
$INCLUDE ".\inc_ide\IDE_Resources.inc"
$INCLUDE ".\inc_ide\IDE_Globals.inc"
$INCLUDE ".\inc_ide\AppInstance.inc"
$INCLUDE ".\inc_ide\Splash.inc"
ini.FileName = TheMainIniFile
IF (ini.Exist = False) THEN
SplashForm.Show
SHOWMESSAGE "Writing defaults to workspace"
IDE.New
WriteIDEVariables(False)
ELSE
InstanceInit
SplashFormInit
END IF
IF IDE.ShowSplashScreen THEN Gaugestart.Position = 10: LabelStart.CAPTION = "Loading : Libraries"
$INCLUDE ".\inc_ide\IDE_gLibrary.inc"
IF IDE.ShowSplashScreen THEN Gaugestart.Position = 20: LabelStart.CAPTION = "Loading : Forms/Widgets"
$INCLUDE ".\inc_ide\MainForm.inc"
$INCLUDE ".\inc_ide\Menu.inc"
$INCLUDE ".\inc_ide\TopPanel.inc"
$INCLUDE ".\inc_ide\RightPanelObjects.inc"
IF IDE.ShowSplashScreen THEN Gaugestart.Position = 30: LabelStart.CAPTION = "Loading : Menus"
$INCLUDE ".\inc_ide\IDE_Dialogs.inc"
$INCLUDE ".\inc_ide\Menu_Subs.inc"
$INCLUDE ".\inc_ide\PopupMenus.inc"
$INCLUDE ".\inc_ide\PopupWindowsMenu.inc"
$INCLUDE ".\inc_ide\find_Replace.inc"
$INCLUDE ".\inc_ide\Help.inc"
IF IDE.ShowSplashScreen THEN Gaugestart.Position = 40: LabelStart.CAPTION = "Loading : configuration"
$INCLUDE ".\inc_ide\configuration.inc"
$INCLUDE ".\inc_ide\iniStart.inc"
$INCLUDE ".\inc_ide\IDE_AppWizard.inc"
IF IDE.ShowSplashScreen THEN Gaugestart.Position = 50: LabelStart.CAPTION = "Loading : IDE routines"
$INCLUDE ".\inc_ide\MainForm_Subs.inc"
$INCLUDE ".\inc_ide\printer.inc"
$INCLUDE ".\inc_ide\ide_subs.inc"
$INCLUDE ".\inc_ide\ide_AutoComplete.inc"
IF IDE.ShowSplashScreen THEN Gaugestart.Position = 60: LabelStart.CAPTION = "Loading : Tools"
$INCLUDE ".\inc_ide\ProjectExplorer.inc"
$INCLUDE "tools\AutoDeclare.inc"
$INCLUDE "tools\File2Html.inc"
$INCLUDE "tools\rqPretty_plugin1_2.inc"
$INCLUDE "tools\ColorPicker.inc"
$INCLUDE "tools\KeyTool.inc"
$INCLUDE "tools\NumConverter.inc"
IF IDE.ShowSplashScreen THEN Gaugestart.Position = 80: LabelStart.CAPTION = "Setting visual styles"
$INCLUDE ".\inc_ide\XP_myButtons.inc"
$INCLUDE ".\inc_ide\Menu_Pretty.inc"
Mnu_RightJustify
IF IDE.ShowSplashScreen THEN Gaugestart.Position = 50: LabelStart.CAPTION = "Processing command line options"
$INCLUDE ".\inc_ide\CommandLineOp.inc"
IF IDE.ShowSplashScreen THEN splashform.CLOSE
|