1 /* 2 * Copyright 2006, Haiku, Inc. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _BITMAP_PRIVATE_H 6 #define _BITMAP_PRIVATE_H 7 8 9 #include <Bitmap.h> 10 #include <OS.h> 11 12 13 // This structure is placed in the client/server shared memory area. 14 15 struct overlay_client_data { 16 sem_id lock; 17 uint8* buffer; 18 }; 19 20 21 void reconnect_bitmaps_to_app_server(); 22 23 24 class BBitmap::Private { 25 public: 26 Private(BBitmap* bitmap); 27 void ReconnectToAppServer(); 28 private: 29 BBitmap* fBitmap; 30 }; 31 32 #endif // _BITMAP_PRIVATE_H 33