Ignore:
Timestamp:
May 19, 2007, 3:29:33 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

VersionTest追加、Log1p追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/OperatingSystem.ab

    r237 r257  
    1010Public
    1111    ' Constractor
    12     Sub OperatingSystem(platform As PlatformID, version As Version)
     12    Sub OperatingSystem(platform As PlatformID, version As System.Version)
    1313        pf = platform
    1414        ver = version
     
    1818    Sub OperatingSystem(vi As OSVERSIONINFOA)
    1919        pf = vi.dwPlatformId As PlatformID
    20         ver = New Version(vi.dwMajorVersion, vi.dwMinorVersion, vi.dwBuildNumber)
     20        ver = New System.Version(vi.dwMajorVersion, vi.dwMinorVersion, vi.dwBuildNumber)
    2121        sp = New String(vi.szCSDVersion As PCSTR)
    2222    End Sub
     
    2424    Sub OperatingSystem(vi As OSVERSIONINFOW)
    2525        pf = vi.dwPlatformId As PlatformID
    26         ver = New Version(vi.dwMajorVersion, vi.dwMinorVersion, vi.dwBuildNumber)
     26        ver = New System.Version(vi.dwMajorVersion, vi.dwMinorVersion, vi.dwBuildNumber)
    2727        sp = New String(vi.szCSDVersion As PCSTR)
    2828    End Sub
     
    3333    End Function
    3434
    35     Const Function Version() As Version
     35    Const Function Version() As System.Version
    3636        Return ver
    3737    End Function
     
    7171Private
    7272    pf As PlatformID
    73     ver As Version
     73    ver As System.Version
    7474    sp As String
    7575End Class
Note: See TracChangeset for help on using the changeset viewer.