Initial commit

This commit is contained in:
2019-01-13 01:05:16 +08:00
commit 1f20268830
140 changed files with 8757 additions and 0 deletions

73
upackage.pas Normal file
View File

@@ -0,0 +1,73 @@
unit uPackage;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, IniFiles;
type
{ TPackageType }
TPackageType = (ptSoft, ptTools, ptUnknown);
{ TPackage }
TPackage = class//(TCustomIniFile)
strict private
FName: String;
FDescription: String;
FType: TPackageType;
private
public
IniFile: TIniFile;
Groups: TStringList;
//--------
property Name: String read FName;
property Description: String read FDescription;
property PackageType: TPackageType read FType;
//--------
constructor Create(APkgFilename: String);
destructor Destroy(); override;
function ExecuteItem(const AFileName, AParams: String;
AHideMainWindow: Boolean; Out AOutExitcode: Cardinal): Boolean;
end; // TPackage
implementation
{ TPackage }
constructor TPackage.Create(APkgFilename: String);
begin
end;
destructor TPackage.Destroy();
begin
inherited Destroy();
end;
function TPackage.ExecuteItem(const AFileName, AParams: String;
AHideMainWindow: Boolean; out AOutExitcode: Cardinal): Boolean;
begin
end;
end.