瀏覽代碼

* temporarly disabled GetInterface(iidstr: .... to keep fpc compiling

git-svn-id: trunk@12691 -
ivost 16 年之前
父節點
當前提交
7f2c77a407
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      rtl/inc/objpas.inc
  2. 1 1
      rtl/inc/objpash.inc

+ 2 - 2
rtl/inc/objpas.inc

@@ -676,10 +676,10 @@
           Result := getcorbainterfacebyentry(self, getinterfaceentrybystr(iidstr), obj);
         end;
 
-      function TObject.getinterface(const iidstr : string;out obj) : boolean;
+      {function TObject.getinterface(const iidstr : string;out obj) : boolean;
         begin
           Result := getinterfacebystr(iidstr,obj);
-        end;
+        end;}
 
       class function TObject.getinterfaceentry(const iid : tguid) : pinterfaceentry;
         var

+ 1 - 1
rtl/inc/objpash.inc

@@ -209,7 +209,7 @@
 
           { interface functions }
           function GetInterface(const iid : tguid; out obj) : boolean;
-          function GetInterface(const iidstr : string;out obj) : boolean;
+          //function GetInterface(const iidstr : string;out obj) : boolean;
           function GetInterfaceByStr(const iidstr : string; out obj) : boolean;
           class function GetInterfaceEntry(const iid : tguid) : pinterfaceentry;
           class function GetInterfaceEntryByStr(const iidstr : string) : pinterfaceentry;