home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / ColorSync SDK / Sample Code / CSDemo 2.1 / CSDemoSources / winProfileGetSet.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-13  |  1013 b   |  41 lines  |  [TEXT/CWIE]

  1.  
  2. #ifndef _WINPROFILEGETSET_
  3. #define _WINPROFILEGETSET_
  4.  
  5.  
  6. #ifndef __CMAPPLICATION__
  7. #include <CMApplication.h>
  8. #endif
  9.  
  10. #ifndef _WIN_
  11. #include "win.h"
  12. #endif
  13.  
  14. #ifndef _WINPROFILE_
  15. #include "winProfile.h"
  16. #endif
  17.  
  18.  
  19. /**\
  20. |**| ==============================================================================
  21. |**| PUBLIC DEFINES
  22. |**| ==============================================================================
  23. \**/
  24. #define kNormalMode        0
  25. #define kTechieMode        1
  26.  
  27.  
  28. /**\
  29. |**| ==============================================================================
  30. |**| PUBLIC FUNCTION PROTOTYPES
  31. |**| ==============================================================================
  32. \**/
  33. CMProfileRef    GetProfileRef        ( winHandle win ) ;
  34. void            SetProfileRef        ( winHandle win, CMProfileRef prof ) ;
  35. unsigned long    GetProfileIndex        ( winHandle win ) ;
  36. void            SetProfileIndex        ( winHandle win, unsigned long index ) ;
  37. unsigned long    GetProfileMode        ( winHandle win ) ;
  38. void            SetProfileMode        ( winHandle win, unsigned long mode ) ;
  39.  
  40.  
  41. #endif