You've already forked lazarus-ccr
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1323 8e941d3f-bd1b-0410-a28a-d453659cc2b4
47 lines
584 B
ObjectPascal
47 lines
584 B
ObjectPascal
unit chessconfig;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils;
|
|
|
|
type
|
|
|
|
{ TChessConfig }
|
|
|
|
TChessConfig = class
|
|
public
|
|
function GetResourcesDir: string;
|
|
function GetCurrentSkinDir: string;
|
|
end;
|
|
|
|
var
|
|
vChessConfig: TChessConfig;
|
|
|
|
implementation
|
|
|
|
{ TChessConfig }
|
|
|
|
function TChessConfig.GetResourcesDir: string;
|
|
begin
|
|
|
|
end;
|
|
|
|
function TChessConfig.GetCurrentSkinDir: string;
|
|
begin
|
|
Result := GetResourcesDir() + 'skins' + PathDelim + 'classic' + PathDelim;
|
|
end;
|
|
|
|
initialization
|
|
|
|
vChessConfig := TChessConfig.Create;
|
|
|
|
finalization
|
|
|
|
vChessConfig.Free;
|
|
|
|
end.
|
|
|