PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 5#ifndef _PROCFS_DISPLAYS_H_
 6#define _PROCFS_DISPLAYS_H_
 7
 8#include <IOKit/graphics/IOGraphicsLib.h>
 9#include <CoreFoundation/CoreFoundation.h>
10
11extern "C" {
12
13CGDisplayCount PROCFS_GetDisplayCount(void);
14int PROCFS_GetInfoForDisplayAtIndex(unsigned int index, char *buf,
15                                    size_t *size);
16int PROCFS_GetPNGForDisplayAtIndex(unsigned int index, CFMutableDataRef *data);
17off_t PROCFS_GetPNGSizeForDisplayAtIndex(unsigned int index);
18
19} /* extern "C" */
20
21#endif /* _PROCFS_DISPLAYS_H_ */