From e81c16a881feb6625ad89ff5c74e53a2f2ed936e Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Mon, 28 Jul 2003 17:05:09 +0000 Subject: [PATCH] Made locking/unlocking publically accessible git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4115 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/servers/app/DisplayDriver.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/headers/private/servers/app/DisplayDriver.h b/headers/private/servers/app/DisplayDriver.h index 01e60978f3..9a9228efde 100644 --- a/headers/private/servers/app/DisplayDriver.h +++ b/headers/private/servers/app/DisplayDriver.h @@ -156,10 +156,11 @@ public: uint32 GetBytesPerRow(void); int32 GetMode(void); bool IsCursorObscured(bool state); + + bool Lock(bigtime_t timeout=B_INFINITE_TIMEOUT); + void Unlock(void); protected: - bool _Lock(bigtime_t timeout=B_INFINITE_TIMEOUT); - void _Unlock(void); void _SetDepth(uint8 d); void _SetHeight(uint16 h); void _SetWidth(uint16 w);