From: Jay Freeman (saurik) Date: Mon, 7 May 2012 05:21:53 +0000 (+0000) Subject: Add some IOMobileFramebuffer functions long ago used by Veency. X-Git-Url: https://git.saurik.com/iphone-api.git/commitdiff_plain/cbd0f6007fbc8378720adf31d907bf40682f98df?ds=sidebyside Add some IOMobileFramebuffer functions long ago used by Veency. --- diff --git a/IOMobileFramebuffer/IOMobileFramebuffer.h b/IOMobileFramebuffer/IOMobileFramebuffer.h index 2e0523d..b907f76 100644 --- a/IOMobileFramebuffer/IOMobileFramebuffer.h +++ b/IOMobileFramebuffer/IOMobileFramebuffer.h @@ -23,6 +23,9 @@ kern_return_t IOMobileFramebufferSwapSetLayer( kern_return_t IOMobileFramebufferGetLayerDefaultSurface(IOMobileFramebufferRef connect, int zero, CoreSurfaceBufferRef *surface); kern_return_t IOMobileFramebufferOpen(io_service_t service, task_port_t task, uint32_t type, IOMobileFramebufferRef *connect); +void IOMobileFramebufferGetDisplaySize(IOMobileFramebufferRef connect, CGSize *size); +void IOMobileFramebufferIsMainDisplay(IOMobileFramebufferRef connect, int *main); + #ifdef __cplusplus } #endif