/filesystems/procfs/procfs_displays.h

http://macfuse.googlecode.com/ · C Header · 21 lines · 12 code · 6 blank · 3 comment · 0 complexity · f399de9400f2ec59cb4f2af7473b56bd MD5 · raw file

  1. /*
  2. * MacFUSE-Based procfs
  3. */
  4. #ifndef _PROCFS_DISPLAYS_H_
  5. #define _PROCFS_DISPLAYS_H_
  6. #include <IOKit/graphics/IOGraphicsLib.h>
  7. #include <CoreFoundation/CoreFoundation.h>
  8. extern "C" {
  9. CGDisplayCount PROCFS_GetDisplayCount(void);
  10. int PROCFS_GetInfoForDisplayAtIndex(unsigned int index, char *buf,
  11. size_t *size);
  12. int PROCFS_GetPNGForDisplayAtIndex(unsigned int index, CFMutableDataRef *data);
  13. off_t PROCFS_GetPNGSizeForDisplayAtIndex(unsigned int index);
  14. } /* extern "C" */
  15. #endif /* _PROCFS_DISPLAYS_H_ */