android-sdk: Minor improvements

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1817 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
sekelsenmat 2011-08-19 13:33:19 +00:00
parent ff3668aa67
commit 692a0346c5

View File

@ -60,7 +60,9 @@ begin
ADest.Add('');
ADest.Add('interface');
ADest.Add('');
ADest.Add('uses javalang, androidpipescomm;');
ADest.Add('uses SysUtils, javalang, androidpipescomm;');
ADest.Add('');
ADest.Add('{$INTERFACES CORBA}');
ADest.Add('');
ADest.Add('type');
ADest.Add('');
@ -326,7 +328,7 @@ begin
if AIsInterface then
lParentClassName := 'IJavaInterface'
else
lParentClassName := 'TInterfacedObject';
lParentClassName := 'TJavaObject';
if AIsInterface then
FPasOutputClasses.Add(Format(' %s = interface(%s)', [FClassNamePas, lParentClassName]))