home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / ColorSync 2.5.1 SDK / Sample Code / CSDemo 2.5 / CSDemoSources / winProfileGetSet.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-09-09  |  1.1 KB  |  44 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. #if TryGettingAnEditableProfileName    
  40. TEHandle        GetProfileNameTEH    ( winHandle win ) ;
  41. void            SetProfileNameTEH    ( winHandle win, TEHandle nameTEH ) ;
  42. #endif
  43.  
  44. #endif