/.attic/sshfs-gui/GoogleShared_SystemVersion.h

http://macfuse.googlecode.com/ · C Header · 34 lines · 10 code · 9 blank · 15 comment · 0 complexity · 065054c7c086aa9d1f5ff5152790acfc MD5 · raw file

  1. //
  2. // GoogleShared_SystemVersion.h
  3. // SharedTest
  4. //
  5. // Created by Dave MacLachlan on 04/18/07.
  6. // Copyright 2007 Google, Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /// A class for getting information about what system we are running on
  10. @interface GoogleShared_SystemVersion : NSObject
  11. /// Returns YES if running on 10.3, NO otherwise.
  12. + (BOOL)isPanther;
  13. /// Returns YES if running on 10.4, NO otherwise.
  14. + (BOOL)isTiger;
  15. /// Returns YES if running on 10.5, NO otherwise.
  16. + (BOOL)isLeopard;
  17. /// Returns a YES/NO if the system is 10.3 or better
  18. + (BOOL)isPantherOrGreater;
  19. /// Returns a YES/NO if the system is 10.4 or better
  20. + (BOOL)isTigerOrGreater;
  21. /// Returns a YES/NO if the system is 10.5 or better
  22. + (BOOL)isLeopardOrGreater;
  23. /// Returns the current system version major.minor.bugFix
  24. + (void)getMajor:(long*)major minor:(long*)minor bugFix:(long*)bugFix;
  25. @end