* Dotted filenames for package gitlab

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:58:03 +01:00
parent 484c453409
commit 43812138ca
3 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,3 @@
unit Api.Gitlab.Client;
{$DEFINE FPC_DOTTEDUNITS}
{$i gitlabclient.pas}

View File

@ -0,0 +1,3 @@
src/gitlabclient.pas=namespaced/Api.Gitlab.Client.pas
{s*:src/}=namespaced/
{i+:src/}

View File

@ -1,12 +1,19 @@
{$IFNDEF FPC_DOTTEDUNITS}
unit gitlabclient;
{$ENDIF FPC_DOTTEDUNITS}
{$mode ObjFPC}{$H+}
{$modeswitch advancedrecords}
interface
{$IFDEF FPC_DOTTEDUNITS}
uses
System.Classes, System.SysUtils, System.IniFiles, FpJson.Data, FpWeb.Client, FpWeb.Client.Http, FpWeb.Http.Protocol;
{$ELSE FPC_DOTTEDUNITS}
uses
Classes, SysUtils, inifiles, fpjson, fpwebclient, fphttpwebclient, httpprotocol;
{$ENDIF FPC_DOTTEDUNITS}
Const
LongThrottleSleep = 60 * 1000; // One minute