121c8c925SAxel Dörfler /* 221c8c925SAxel Dörfler * Copyright 2006, Haiku, Inc. 321c8c925SAxel Dörfler * Distributed under the terms of the MIT License. 421c8c925SAxel Dörfler */ 521c8c925SAxel Dörfler #ifndef _BITMAP_PRIVATE_H 621c8c925SAxel Dörfler #define _BITMAP_PRIVATE_H 721c8c925SAxel Dörfler 821c8c925SAxel Dörfler 9*577f5876Sczeidler #include <Bitmap.h> 1021c8c925SAxel Dörfler #include <OS.h> 1121c8c925SAxel Dörfler 1221c8c925SAxel Dörfler 1321c8c925SAxel Dörfler // This structure is placed in the client/server shared memory area. 1421c8c925SAxel Dörfler 1521c8c925SAxel Dörfler struct overlay_client_data { 1621c8c925SAxel Dörfler sem_id lock; 1721c8c925SAxel Dörfler uint8* buffer; 1821c8c925SAxel Dörfler }; 1921c8c925SAxel Dörfler 20*577f5876Sczeidler 21*577f5876Sczeidler void reconnect_bitmaps_to_app_server(); 22*577f5876Sczeidler 23*577f5876Sczeidler 24*577f5876Sczeidler class BBitmap::Private { 25*577f5876Sczeidler public: 26*577f5876Sczeidler Private(BBitmap* bitmap); 27*577f5876Sczeidler void ReconnectToAppServer(); 28*577f5876Sczeidler private: 29*577f5876Sczeidler BBitmap* fBitmap; 30*577f5876Sczeidler }; 31*577f5876Sczeidler 3221c8c925SAxel Dörfler #endif // _BITMAP_PRIVATE_H 33