Ignore:
Timestamp:
May 27, 2007, 3:33:43 PM (17 years ago)
Author:
NoWest
Message:

Stream及びFileStreamをIAsyncResultインターフェイス、WaitHandleクラスがそれぞれがSystem名前空間、System.Threading名前空間に入ったことに対応。
ただし、クラス名の頭に名前空間を付けただけで原因不明のバグが発生してコンパイラが落ちる現象が発生。要調査

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/IO/Stream.ab

    r252 r262  
    1 
    2 #require <Classes/System/misc.ab>
    31
    42Class Stream
     
    3937
    4038Public
    41     Virtual Function BeginRead(ByRef buffer[] As Byte, offset As Long, count As Long, callback As AsyncCallback, state As Object) As IAsyncResult:  End Function
    42     Virtual Function BeginWrite(ByRef buffer[] As Byte, offset As Long, count As Long, callback As AsyncCallback, state As Object) As IAsyncResult: End Function
     39    Virtual Function BeginRead(ByRef buffer[] As Byte, offset As Long, count As Long, callback As AsyncCallback, state As Object) As System.IAsyncResult:   End Function
     40    Virtual Function BeginWrite(ByRef buffer[] As Byte, offset As Long, count As Long, callback As AsyncCallback, state As Object) As System.IAsyncResult:  End Function
    4341    Virtual Sub Close():    End Sub
    44     Virtual Function EndRead(ByRef asyncResult As IAsyncResult) As Long:    End Function
    45     Virtual Sub EndWrite(ByRef asyncResult As IAsyncResult):    End Sub
     42    Virtual Function EndRead(ByRef asyncResult As System.IAsyncResult) As Long: End Function
     43    Virtual Sub EndWrite(ByRef asyncResult As System.IAsyncResult): End Sub
    4644    Abstract Sub Flush()
    4745    Abstract Function Read(ByRef buffer[] As Byte, offset As Long, count As Long) As Long
     
    6563    End Sub
    6664Protected
    67     Virtual Function CreateWaitHandle() As WaitHandle:  End Function
     65    Virtual Function CreateWaitHandle() As System.Threading.WaitHandle: End Function
    6866End Class
Note: See TracChangeset for help on using the changeset viewer.