2005-08-26 19:07:54 +00:00
|
|
|
program AMXX_Studio;
|
|
|
|
|
2005-09-09 16:49:41 +00:00
|
|
|
{%ToDo 'AMXX_Studio.todo'}
|
|
|
|
|
2005-08-26 19:07:54 +00:00
|
|
|
uses
|
|
|
|
Forms,
|
|
|
|
Windows,
|
|
|
|
Messages,
|
|
|
|
UnitfrmMain in 'UnitfrmMain.pas' {frmMain},
|
|
|
|
UnitMainTools in 'UnitMainTools.pas',
|
|
|
|
UnitfrmSettings in 'UnitfrmSettings.pas' {frmSettings},
|
|
|
|
UnitLanguages in 'UnitLanguages.pas',
|
|
|
|
UnitfrmSelectColor in 'UnitfrmSelectColor.pas' {frmSelectColor},
|
|
|
|
UnitfrmInfo in 'UnitfrmInfo.pas' {frmInfo},
|
|
|
|
UnitCodeSnippets in 'UnitCodeSnippets.pas',
|
|
|
|
UnitCodeUtils in 'UnitCodeUtils.pas',
|
|
|
|
UnitfrmSplashscreen in 'UnitfrmSplashscreen.pas' {frmSplashscreen},
|
|
|
|
UnitfrmSearch in 'UnitfrmSearch.pas' {frmSearch},
|
|
|
|
UnitfrmReplace in 'UnitfrmReplace.pas' {frmReplace},
|
|
|
|
UnitfrmAllFilesForm in 'UnitfrmAllFilesForm.pas' {frmAllFilesForm},
|
|
|
|
UnitfrmGoToLine in 'UnitfrmGoToLine.pas' {frmGoToLine},
|
|
|
|
UnitfrmPluginsIniEditor in 'UnitfrmPluginsIniEditor.pas' {frmPluginsIniEditor},
|
|
|
|
UnitfrmSocketsTerminal in 'UnitfrmSocketsTerminal.pas' {frmSocketsTerminal},
|
|
|
|
UnitReadThread in 'UnitReadThread.pas',
|
|
|
|
UnitCodeExplorerUpdater in 'UnitCodeExplorerUpdater.pas',
|
|
|
|
UnitTextAnalyze in 'UnitTextAnalyze.pas',
|
|
|
|
UnitfrmHudMsgGenerator in 'UnitfrmHudMsgGenerator.pas' {frmHudMsgGenerator},
|
|
|
|
UnitCompile in 'UnitCompile.pas',
|
|
|
|
UnitfrmAutoIndent in 'UnitfrmAutoIndent.pas' {frmAutoIndent},
|
|
|
|
UnitfrmHTMLPreview in 'UnitfrmHTMLPreview.pas' {frmHTMLPreview},
|
|
|
|
UnitfrmMenuGenerator in 'UnitfrmMenuGenerator.pas' {frmMenuGenerator},
|
|
|
|
UnitCodeInspector in 'UnitCodeInspector.pas',
|
|
|
|
UnitfrmMOTDGen in 'UnitfrmMOTDGen.pas' {frmMOTDGen},
|
|
|
|
UnitMenuGenerators in 'UnitMenuGenerators.pas',
|
|
|
|
UnitfrmClose in 'UnitfrmClose.pas' {frmClose},
|
|
|
|
UnitfrmConnGen in 'UnitfrmConnGen.pas' {frmConnGen},
|
2005-09-03 20:00:46 +00:00
|
|
|
UnitPlugins in 'UnitPlugins.pas',
|
|
|
|
UnitfrmIRCPaster in 'UnitfrmIRCPaster.pas' {frmIRCPaster};
|
2005-08-26 19:07:54 +00:00
|
|
|
|
2005-08-26 22:59:25 +00:00
|
|
|
{ Used components:
|
2005-08-26 23:22:30 +00:00
|
|
|
- JVCL 3.0
|
|
|
|
- FlatPack
|
|
|
|
- FlatStyle
|
|
|
|
- Toolbar2000, TBX, SpTBX, mbTBX Lib
|
|
|
|
- Scintilla and DelphiSci
|
|
|
|
- madExcept
|
|
|
|
}
|
2005-08-26 22:59:25 +00:00
|
|
|
|
2005-08-26 19:07:54 +00:00
|
|
|
{$R *.res}
|
|
|
|
|
|
|
|
var i: integer;
|
|
|
|
begin
|
2005-09-09 16:49:41 +00:00
|
|
|
if (FindWindow('TfrmMain', 'AMXX-Studio') <> 0) and (FindWindow(nil, 'Delphi 7') = 0) then begin
|
2005-08-26 19:07:54 +00:00
|
|
|
if ParamCount > 0 then begin
|
|
|
|
for i := 1 to ParamCount do
|
2005-09-03 20:00:46 +00:00
|
|
|
SendStudioMsg(SCM_LOADFILE, ParamStr(i), 0);
|
2005-08-26 19:07:54 +00:00
|
|
|
end;
|
2005-09-04 13:03:34 +00:00
|
|
|
exit;
|
2005-08-26 19:07:54 +00:00
|
|
|
end;
|
|
|
|
Application.Initialize;
|
|
|
|
Application.Title := 'AMXX-Studio';
|
|
|
|
Application.CreateForm(TfrmSplashscreen, frmSplashscreen);
|
|
|
|
Application.Run;
|
|
|
|
end.
|