2006-04-22 20:41:12 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2006, Haiku, Inc.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _BITMAP_PRIVATE_H
|
|
|
|
#define _BITMAP_PRIVATE_H
|
|
|
|
|
|
|
|
|
2012-01-22 05:52:46 +04:00
|
|
|
#include <Bitmap.h>
|
2006-04-22 20:41:12 +04:00
|
|
|
#include <OS.h>
|
|
|
|
|
|
|
|
|
|
|
|
// This structure is placed in the client/server shared memory area.
|
|
|
|
|
|
|
|
struct overlay_client_data {
|
|
|
|
sem_id lock;
|
|
|
|
uint8* buffer;
|
|
|
|
};
|
|
|
|
|
2012-01-22 05:52:46 +04:00
|
|
|
|
|
|
|
void reconnect_bitmaps_to_app_server();
|
|
|
|
|
|
|
|
|
|
|
|
class BBitmap::Private {
|
|
|
|
public:
|
|
|
|
Private(BBitmap* bitmap);
|
|
|
|
void ReconnectToAppServer();
|
|
|
|
private:
|
|
|
|
BBitmap* fBitmap;
|
|
|
|
};
|
|
|
|
|
2006-04-22 20:41:12 +04:00
|
|
|
#endif // _BITMAP_PRIVATE_H
|