Changeset 257 for Include/Classes/System/OperatingSystem.ab
- Timestamp:
- May 19, 2007, 3:29:33 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/OperatingSystem.ab
r237 r257 10 10 Public 11 11 ' Constractor 12 Sub OperatingSystem(platform As PlatformID, version As Version)12 Sub OperatingSystem(platform As PlatformID, version As System.Version) 13 13 pf = platform 14 14 ver = version … … 18 18 Sub OperatingSystem(vi As OSVERSIONINFOA) 19 19 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) 21 21 sp = New String(vi.szCSDVersion As PCSTR) 22 22 End Sub … … 24 24 Sub OperatingSystem(vi As OSVERSIONINFOW) 25 25 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) 27 27 sp = New String(vi.szCSDVersion As PCSTR) 28 28 End Sub … … 33 33 End Function 34 34 35 Const Function Version() As Version35 Const Function Version() As System.Version 36 36 Return ver 37 37 End Function … … 71 71 Private 72 72 pf As PlatformID 73 ver As Version73 ver As System.Version 74 74 sp As String 75 75 End Class
Note:
See TracChangeset
for help on using the changeset viewer.