From cbd0f6007fbc8378720adf31d907bf40682f98df Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 7 May 2012 05:21:53 +0000 Subject: [PATCH] Add some IOMobileFramebuffer functions long ago used by Veency. --- IOMobileFramebuffer/IOMobileFramebuffer.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.45.2