mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-13 21:05:12 -05:00
150ad9fcf1
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@46 3f818213-9676-44b0-a9b4-5e4c4e03d09d
52 lines
842 B
ObjectPascal
52 lines
842 B
ObjectPascal
unit Client;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, MufasaTypes, Window, Input, Files, Finder,Bitmaps;
|
|
|
|
type
|
|
TClient = class(TObject)
|
|
constructor Create;
|
|
destructor Destroy; override;
|
|
|
|
public
|
|
MWindow: TMWindow;
|
|
MInput: TMInput;
|
|
MFiles: TMFiles;
|
|
MFinder: TMFinder;
|
|
MBitmaps : TMBitmaps;
|
|
|
|
end;
|
|
|
|
implementation
|
|
|
|
// Possibly pass arguments to a default window.
|
|
constructor TClient.Create;
|
|
begin
|
|
inherited Create;
|
|
|
|
MWindow := TMWindow.Create(Self);
|
|
MInput := TMInput.Create(Self);
|
|
MFiles := TMFiles.Create;
|
|
MFinder := TMFinder.Create(Self);
|
|
MBitmaps := TMBitmaps.Create(self);
|
|
end;
|
|
|
|
destructor TClient.Destroy;
|
|
begin
|
|
MBitmaps.Free;
|
|
MFinder.Free;
|
|
MFiles.Free;
|
|
MInput.Free;
|
|
MWindow.Free;
|
|
|
|
|
|
inherited;
|
|
end;
|
|
|
|
end.
|
|
|