/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
- /*
- * MacFUSE-Based procfs
- */
- #ifndef _PROCFS_DISPLAYS_H_
- #define _PROCFS_DISPLAYS_H_
- #include <IOKit/graphics/IOGraphicsLib.h>
- #include <CoreFoundation/CoreFoundation.h>
- extern "C" {
- CGDisplayCount PROCFS_GetDisplayCount(void);
- int PROCFS_GetInfoForDisplayAtIndex(unsigned int index, char *buf,
- size_t *size);
- int PROCFS_GetPNGForDisplayAtIndex(unsigned int index, CFMutableDataRef *data);
- off_t PROCFS_GetPNGSizeForDisplayAtIndex(unsigned int index);
- } /* extern "C" */
- #endif /* _PROCFS_DISPLAYS_H_ */