mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-05-13 21:46:53 +02:00
41 lines
673 B
ObjectPascal
41 lines
673 B
ObjectPascal
unit ServerModule;
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, uniGUIServer, uniGUIMainModule, uniGUIApplication, uIdCustomHTTPServer,
|
|
uniGUITypes;
|
|
|
|
type
|
|
TUniServerModule = class(TUniGUIServerModule)
|
|
private
|
|
{ Private declarations }
|
|
protected
|
|
procedure FirstInit; override;
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
function UniServerModule: TUniServerModule;
|
|
|
|
implementation
|
|
|
|
{$R *.dfm}
|
|
|
|
uses
|
|
UniGUIVars;
|
|
|
|
function UniServerModule: TUniServerModule;
|
|
begin
|
|
Result := TUniServerModule(UniGUIServerInstance);
|
|
end;
|
|
|
|
procedure TUniServerModule.FirstInit;
|
|
begin
|
|
InitServerModule(Self);
|
|
end;
|
|
|
|
initialization
|
|
RegisterServerModuleClass(TUniServerModule);
|
|
end.
|