mirror of https://gitlab.com/basile.b/dexed.git
macosx support, more to check
This commit is contained in:
parent
9b9fefd0d0
commit
fb59694e58
|
@ -382,6 +382,9 @@ begin
|
|||
{$IFDEF UNIX}
|
||||
result := patchProc(result, '\');
|
||||
{$ENDIF}
|
||||
{$IFDEF DARWIN}
|
||||
result := patchProc(result, '\');
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
procedure patchPlateformPaths(const sPaths: TStrings);
|
||||
|
@ -512,6 +515,9 @@ begin
|
|||
{$IFDEF UNIX}
|
||||
result := ExpandFileName('~/');
|
||||
{$ENDIF}
|
||||
{$IFDEF DARWIN}
|
||||
raise Exception.Create('darwin: getUserDocPath() has to be implemented');
|
||||
{$ENDIF}
|
||||
result += directorySeparator;
|
||||
end;
|
||||
|
||||
|
@ -641,6 +647,11 @@ begin
|
|||
{$IFDEF LINUX}
|
||||
aList.Add('//');
|
||||
{$ENDIF}
|
||||
{$IFDEF DARWIN}
|
||||
// tobe checked
|
||||
// aList.Add('//');
|
||||
raise Exception.Create('darwin: listDrives() has to be implemented');
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
function shellOpen(const aFilename: string): boolean;
|
||||
|
|
|
@ -205,6 +205,9 @@ begin
|
|||
fClient.Terminate(0);
|
||||
fServer.Terminate(0);
|
||||
{$ENDIF}
|
||||
{$IFDEF DARWIN}
|
||||
//
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
procedure TCEDcdWrapper.waitClient;
|
||||
|
|
Loading…
Reference in New Issue