* Some cleanup, add file headers

This commit is contained in:
Michaël Van Canneyt 2021-12-28 16:12:30 +01:00
parent c944484e66
commit a18e75eaff
5 changed files with 66 additions and 2 deletions

View File

@ -1,3 +1,19 @@
{
This file is part of the Free Component Library
Minimal server program for JSON-RPC server.
Copyright (c) 2022 by Michael Van Canneyt michael@freepascal.org
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
program demorpcrtti;
{$mode objfpc}{$H+}

View File

@ -1,5 +1,21 @@
{
This file is part of the Free Component Library
This module routes the actual requests. See the options set on the datamodule
Copyright (c) 2022 by Michael Van Canneyt michael@freepascal.org
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
unit dmRPC;
{$mode ObjFPC}{$H+}
interface

View File

@ -1,3 +1,18 @@
{
This file is part of the Free Component Library
Unit with the interface definitions, common between client and server
Copyright (c) 2022 by Michael Van Canneyt michael@freepascal.org
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
unit myapi;
{$mode ObjFPC}{$H+}

View File

@ -1,3 +1,20 @@
{
This file is part of the Free Component Library
Unit with the server-side interface implementations of the interfaces
Registers the classes.
Copyright (c) 2022 by Michael Van Canneyt michael@freepascal.org
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
unit rpcapi;
{$mode ObjFPC}{$H+}

View File

@ -2,12 +2,12 @@
<CONFIG>
<ProjectGroup FileVersion="2">
<Targets>
<Target FileName="rpcclient.lpi">
<Target FileName="demorpcrtti.lpi">
<BuildModes>
<Mode Name="Default"/>
</BuildModes>
</Target>
<Target FileName="demorpcrtti.lpi">
<Target FileName="rpcclient.lpi">
<BuildModes>
<Mode Name="Default"/>
</BuildModes>