mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-11 03:45:06 -05:00
fd960aa1aa
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@24 3f818213-9676-44b0-a9b4-5e4c4e03d09d
46 lines
663 B
ObjectPascal
46 lines
663 B
ObjectPascal
unit Client;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, MufasaTypes, Window, Input, Files;
|
|
|
|
type
|
|
TClient = class(TObject)
|
|
constructor Create;
|
|
destructor Destroy; override;
|
|
|
|
public
|
|
MWindow: TMWindow;
|
|
MInput: TMInput;
|
|
MFiles: TMFiles;
|
|
|
|
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;
|
|
end;
|
|
|
|
destructor TClient.Destroy;
|
|
begin
|
|
MFiles.Destroy;
|
|
MInput.Destroy;
|
|
MWindow.Destroy;
|
|
|
|
|
|
inherited;
|
|
end;
|
|
|
|
end.
|
|
|