mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 11:19:24 +02:00
added LCL fpdoc help db
git-svn-id: trunk@5846 -
This commit is contained in:
parent
c274b1525d
commit
b1c5f6754b
@ -9,7 +9,7 @@ perl multi_makeskel.pl -p lcl -s ../../lcl -o lcl \
|
|||||||
-i '-Fi/path/to/lazarus/lcl/include' -x
|
-i '-Fi/path/to/lazarus/lcl/include' -x
|
||||||
|
|
||||||
At the moment the fpdoc tool 'makeskel' is not yet capable of updating the
|
At the moment the fpdoc tool 'makeskel' is not yet capable of updating the
|
||||||
files. But this follow in the next weeks.
|
files. But this will follow in a few weeks.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Finding the new files, not yet in CVS:
|
Finding the new files, not yet in CVS:
|
||||||
|
@ -3322,7 +3322,6 @@ begin
|
|||||||
Caption := dlgDelphi2Ext+' (-S2)';
|
Caption := dlgDelphi2Ext+' (-S2)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3334,7 +3333,6 @@ begin
|
|||||||
Caption := dlgCOCOps+' (-Sc)';
|
Caption := dlgCOCOps+' (-Sc)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3346,7 +3344,6 @@ begin
|
|||||||
Caption := dlgAssertCode+' (-Sa)';
|
Caption := dlgAssertCode+' (-Sa)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3358,7 +3355,6 @@ begin
|
|||||||
Caption := dlgLabelGoto+' (-Sg)';
|
Caption := dlgLabelGoto+' (-Sg)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3370,7 +3366,6 @@ begin
|
|||||||
Caption := dlgCppInline+' (-Si)';
|
Caption := dlgCppInline+' (-Si)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3382,7 +3377,6 @@ begin
|
|||||||
Caption := dlgCMacro+' (-Sm)';
|
Caption := dlgCMacro+' (-Sm)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3394,7 +3388,6 @@ begin
|
|||||||
Caption := dlgBP7Cptb+' (-So)';
|
Caption := dlgBP7Cptb+' (-So)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3406,7 +3399,6 @@ begin
|
|||||||
Caption := dlgInitDoneOnly+' (-Ss)';
|
Caption := dlgInitDoneOnly+' (-Ss)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3418,7 +3410,6 @@ begin
|
|||||||
Caption := dlgStaticKeyword+' (-St)';
|
Caption := dlgStaticKeyword+' (-St)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3430,7 +3421,6 @@ begin
|
|||||||
Caption := dlgDeplhiComp+' (-Sd)';
|
Caption := dlgDeplhiComp+' (-Sd)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3442,7 +3432,6 @@ begin
|
|||||||
Caption := dlgCOAnsiStr+' (-Sh)';
|
Caption := dlgCOAnsiStr+' (-Sh)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3454,7 +3443,6 @@ begin
|
|||||||
Caption := dlgGPCComp+' (-Sp)';
|
Caption := dlgGPCComp+' (-Sp)';
|
||||||
Top := y;
|
Top := y;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := Parent.ClientWidth-20;
|
Width := Parent.ClientWidth-20;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -3505,7 +3493,6 @@ begin
|
|||||||
Caption := 'I/O (-Ci)';
|
Caption := 'I/O (-Ci)';
|
||||||
Top := 2;
|
Top := 2;
|
||||||
Left := 2;
|
Left := 2;
|
||||||
Height := 16;
|
|
||||||
Width := 100;
|
Width := 100;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3516,7 +3503,6 @@ begin
|
|||||||
Caption := dlgCORange+' (-Cr)';
|
Caption := dlgCORange+' (-Cr)';
|
||||||
Top := 2;
|
Top := 2;
|
||||||
Left := 102;
|
Left := 102;
|
||||||
Height := 16;
|
|
||||||
Width := 100;
|
Width := 100;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3527,7 +3513,6 @@ begin
|
|||||||
Caption := dlgCOOverflow+' (-Co)';
|
Caption := dlgCOOverflow+' (-Co)';
|
||||||
Top := 27;
|
Top := 27;
|
||||||
Left := 2;
|
Left := 2;
|
||||||
Height := 16;
|
|
||||||
Width := 100;
|
Width := 100;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3538,7 +3523,6 @@ begin
|
|||||||
Caption := dlgCOStack+' (-Cs)';
|
Caption := dlgCOStack+' (-Cs)';
|
||||||
Top := 27;
|
Top := 27;
|
||||||
Left := 102;
|
Left := 102;
|
||||||
Height := 16;
|
|
||||||
Width := 100;
|
Width := 100;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3586,7 +3570,6 @@ begin
|
|||||||
Parent := grpGenerate;
|
Parent := grpGenerate;
|
||||||
Top := 5;
|
Top := 5;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := 140;
|
Width := 140;
|
||||||
Caption := dlgCONormal+' (none)';
|
Caption := dlgCONormal+' (none)';
|
||||||
end;
|
end;
|
||||||
@ -3597,7 +3580,6 @@ begin
|
|||||||
Parent := grpGenerate;
|
Parent := grpGenerate;
|
||||||
Top := 28;
|
Top := 28;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := 140;
|
Width := 140;
|
||||||
Caption := dlgCOFast+' (-OG)';
|
Caption := dlgCOFast+' (-OG)';
|
||||||
end;
|
end;
|
||||||
@ -3608,7 +3590,6 @@ begin
|
|||||||
Parent := grpGenerate;
|
Parent := grpGenerate;
|
||||||
Top := 51;
|
Top := 51;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := 140;
|
Width := 140;
|
||||||
Caption := dlgCOSmaller+' (-Og)';
|
Caption := dlgCOSmaller+' (-Og)';
|
||||||
end;
|
end;
|
||||||
@ -3654,7 +3635,6 @@ begin
|
|||||||
Caption := dlgLevelNoneOpt+' (none)';
|
Caption := dlgLevelNoneOpt+' (none)';
|
||||||
Top := 5;
|
Top := 5;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := w;
|
Width := w;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3665,7 +3645,6 @@ begin
|
|||||||
Caption := dlgLevel1Opt+' (-O1)';
|
Caption := dlgLevel1Opt+' (-O1)';
|
||||||
Top := 26;
|
Top := 26;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := w;
|
Width := w;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3676,7 +3655,6 @@ begin
|
|||||||
Caption := dlgLevel2Opt+' (-O2)';
|
Caption := dlgLevel2Opt+' (-O2)';
|
||||||
Top := 47;
|
Top := 47;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := w;
|
Width := w;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3687,7 +3665,6 @@ begin
|
|||||||
Caption := dlgLevel3Opt+' (-O3)';
|
Caption := dlgLevel3Opt+' (-O3)';
|
||||||
Top := 68;
|
Top := 68;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := w;
|
Width := w;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3698,7 +3675,6 @@ begin
|
|||||||
Caption := dlgCOKeepVarsReg+' (-Or)';
|
Caption := dlgCOKeepVarsReg+' (-Or)';
|
||||||
Top := 89;
|
Top := 89;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := w;
|
Width := w;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3709,7 +3685,6 @@ begin
|
|||||||
Caption := dlgUncertOpt+' (-Ou)';
|
Caption := dlgUncertOpt+' (-Ou)';
|
||||||
Top := 110;
|
Top := 110;
|
||||||
Left := 5;
|
Left := 5;
|
||||||
Height := 16;
|
|
||||||
Width := w;
|
Width := w;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3770,7 +3745,6 @@ begin
|
|||||||
Caption := dlgCOGDB+' (-g)';
|
Caption := dlgCOGDB+' (-g)';
|
||||||
Top := 6;
|
Top := 6;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 360;
|
Width := 360;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3781,7 +3755,6 @@ begin
|
|||||||
Caption := dlgCODBX+' (-gd)';
|
Caption := dlgCODBX+' (-gd)';
|
||||||
Top := 27;
|
Top := 27;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 360;
|
Width := 360;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3792,7 +3765,6 @@ begin
|
|||||||
Caption := dlgLNumsBct+' (-gl)';
|
Caption := dlgLNumsBct+' (-gl)';
|
||||||
Top := 48;
|
Top := 48;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 360;
|
Width := 360;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3803,7 +3775,6 @@ begin
|
|||||||
Caption := dlgCOHeaptrc+' (-gh)';
|
Caption := dlgCOHeaptrc+' (-gh)';
|
||||||
Top := 69;
|
Top := 69;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 360;
|
Width := 360;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3814,7 +3785,6 @@ begin
|
|||||||
Caption := dlgCOValgrind+' (-gv)';
|
Caption := dlgCOValgrind+' (-gv)';
|
||||||
Top := 90;
|
Top := 90;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 360;
|
Width := 360;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3825,7 +3795,6 @@ begin
|
|||||||
Caption := dlgGPROF+' (-pg)';
|
Caption := dlgGPROF+' (-pg)';
|
||||||
Top := 111;
|
Top := 111;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 360;
|
Width := 360;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3836,7 +3805,6 @@ begin
|
|||||||
Caption := dlgCOStrip+' (-Xs)';
|
Caption := dlgCOStrip+' (-Xs)';
|
||||||
Top := 132;
|
Top := 132;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 360;
|
Width := 360;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3929,7 +3897,6 @@ begin
|
|||||||
Caption := dlgPassOptsLinker;
|
Caption := dlgPassOptsLinker;
|
||||||
Top := 6;
|
Top := 6;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 330;
|
Width := 330;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -3971,7 +3938,6 @@ begin
|
|||||||
Caption := dlgCOShowErr+' (-ve)';
|
Caption := dlgCOShowErr+' (-ve)';
|
||||||
Top := 6;
|
Top := 6;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := (grpVerbosity.ClientWidth div 2)-12;
|
Width := (grpVerbosity.ClientWidth div 2)-12;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -4059,7 +4025,6 @@ begin
|
|||||||
Caption := dlgShowDebugInfo+' (-vd)';
|
Caption := dlgShowDebugInfo+' (-vd)';
|
||||||
Top := 6;
|
Top := 6;
|
||||||
Left := (grpVerbosity.ClientWidth div 2)+4;
|
Left := (grpVerbosity.ClientWidth div 2)+4;
|
||||||
Height := 16;
|
|
||||||
Width := (grpVerbosity.ClientWidth div 2)-12;
|
Width := (grpVerbosity.ClientWidth div 2)-12;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -4198,7 +4163,6 @@ begin
|
|||||||
Caption := dlgUseFpcCfg+' (none, not is -n)';
|
Caption := dlgUseFpcCfg+' (none, not is -n)';
|
||||||
Top := 6;
|
Top := 6;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 330;
|
Width := 330;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -4209,7 +4173,6 @@ begin
|
|||||||
Caption := dlgUseAdditionalConfig+' (@)';
|
Caption := dlgUseAdditionalConfig+' (@)';
|
||||||
Top := 27;
|
Top := 27;
|
||||||
Left := 8;
|
Left := 8;
|
||||||
Height := 16;
|
|
||||||
Width := 330;
|
Width := 330;
|
||||||
OnClick:=@chkAdditionalConfigFileClick;
|
OnClick:=@chkAdditionalConfigFileClick;
|
||||||
end;
|
end;
|
||||||
|
@ -85,6 +85,7 @@ type
|
|||||||
private
|
private
|
||||||
FMainHelpDB: THelpDatabase;
|
FMainHelpDB: THelpDatabase;
|
||||||
FFCLHelpDB: THelpDatabase;
|
FFCLHelpDB: THelpDatabase;
|
||||||
|
FLCLHelpDB: THelpDatabase;
|
||||||
procedure RegisterIDEHelpDatabases;
|
procedure RegisterIDEHelpDatabases;
|
||||||
procedure RegisterDefaultIDEHelpViewers;
|
procedure RegisterDefaultIDEHelpViewers;
|
||||||
public
|
public
|
||||||
@ -113,6 +114,8 @@ const
|
|||||||
lihcStartPage = 'StartPage';
|
lihcStartPage = 'StartPage';
|
||||||
lihcFCLStartPage = 'FCLStartPage';
|
lihcFCLStartPage = 'FCLStartPage';
|
||||||
lihcFCLUnits = 'FCLUnits';
|
lihcFCLUnits = 'FCLUnits';
|
||||||
|
lihcLCLStartPage = 'LCLStartPage';
|
||||||
|
lihcLCLUnits = 'LCLUnits';
|
||||||
|
|
||||||
var
|
var
|
||||||
HelpBoss: TBaseHelpManager;
|
HelpBoss: TBaseHelpManager;
|
||||||
@ -384,9 +387,39 @@ procedure THelpManager.RegisterIDEHelpDatabases;
|
|||||||
HTMLHelp.RegisterItem(DirItem);
|
HTMLHelp.RegisterItem(DirItem);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure CreateLCLHelpDB;
|
||||||
|
var
|
||||||
|
HTMLHelp: TFPDocHTMLHelpDatabase;
|
||||||
|
StartNode: THelpNode;
|
||||||
|
FPDocNode: THelpNode;
|
||||||
|
DirItem: THelpDBISourceDirectory;
|
||||||
|
begin
|
||||||
|
FLCLHelpDB:=HelpDatabases.CreateHelpDatabase('LCL',TFPDocHTMLHelpDatabase,
|
||||||
|
true);
|
||||||
|
HTMLHelp:=FLCLHelpDB as TFPDocHTMLHelpDatabase;
|
||||||
|
HTMLHelp.BasePathObject:=Self;
|
||||||
|
|
||||||
|
// LCL
|
||||||
|
StartNode:=THelpNode.CreateURLID(HTMLHelp,
|
||||||
|
'LCL - Lazarus Component Library',
|
||||||
|
'file://$(LazarusDir)/docs/html/index.html',
|
||||||
|
lihcLCLStartPage);
|
||||||
|
HTMLHelp.TOCNode:=THelpNode.Create(HTMLHelp,StartNode);
|
||||||
|
HTMLHelp.RegisterItemWithNode(StartNode);
|
||||||
|
|
||||||
|
// FPDoc: units in the LCL
|
||||||
|
FPDocNode:=THelpNode.CreateURL(HTMLHelp,
|
||||||
|
'LCL - Lazarus Component Library Units',
|
||||||
|
'file://$(LazarusDir)/docs/html/index.html');
|
||||||
|
DirItem:=THelpDBISourceDirectory.Create(FPDocNode,'$(LazarusDir)/lcl',
|
||||||
|
'*.pp;*.pas',false);
|
||||||
|
HTMLHelp.RegisterItem(DirItem);
|
||||||
|
end;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
CreateMainIDEHelpDB;
|
CreateMainIDEHelpDB;
|
||||||
CreateFCLHelpDB;
|
CreateFCLHelpDB;
|
||||||
|
CreateLCLHelpDB;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure THelpManager.RegisterDefaultIDEHelpViewers;
|
procedure THelpManager.RegisterDefaultIDEHelpViewers;
|
||||||
|
@ -101,7 +101,7 @@ begin
|
|||||||
//debugln('B TheBaseURL=',TheBaseURL);
|
//debugln('B TheBaseURL=',TheBaseURL);
|
||||||
TheBaseURL:=ExtractURLDirectory(TheBaseURL);
|
TheBaseURL:=ExtractURLDirectory(TheBaseURL);
|
||||||
//debugln('C TheBaseURL=',TheBaseURL);
|
//debugln('C TheBaseURL=',TheBaseURL);
|
||||||
DebugLn('TFPDocHTMLHelpDatabase.ShowHelp Node Base URL TheBaseURL=',TheBaseURL);
|
DebugLn('TFPDocHTMLHelpDatabase.ShowHelp BaseURL of Node.URL=',TheBaseURL);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if TheBaseURL='' then
|
if TheBaseURL='' then
|
||||||
@ -112,7 +112,7 @@ begin
|
|||||||
URL:=TheBaseURL+Filename
|
URL:=TheBaseURL+Filename
|
||||||
else
|
else
|
||||||
URL:=FilenameToURL(Filename);
|
URL:=FilenameToURL(Filename);
|
||||||
Result:=ShowURL(URL,NewNode.Title,ErrMsg);
|
Result:=ShowURL(TrimUrl(URL),NewNode.Title,ErrMsg);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
@ -598,6 +598,7 @@ function URLFilenameIsAbsolute(const Filename: string): boolean;
|
|||||||
function FindURLPathEnd(const URL: string): integer;
|
function FindURLPathEnd(const URL: string): integer;
|
||||||
function ChompURLParams(const URL: string): string;
|
function ChompURLParams(const URL: string): string;
|
||||||
function ExtractURLDirectory(const URL: string): string;
|
function ExtractURLDirectory(const URL: string): string;
|
||||||
|
function TrimUrl(const URL: string): string;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
@ -786,6 +787,14 @@ begin
|
|||||||
Result:=copy(URL,1,p);
|
Result:=copy(URL,1,p);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TrimUrl(const URL: string): string;
|
||||||
|
var
|
||||||
|
URLType, URLPath, URLParams: string;
|
||||||
|
begin
|
||||||
|
SplitURL(URL,URLType,URLPath,URLParams);
|
||||||
|
Result:=CombineURL(URLType,TrimFilename(URLPath),URLParams);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure CreateListAndAdd(const AnObject: TObject; var List: TList;
|
procedure CreateListAndAdd(const AnObject: TObject; var List: TList;
|
||||||
OnlyIfNotExists: boolean);
|
OnlyIfNotExists: boolean);
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user