haiku/headers/private/interface/BitmapPrivate.h
czeidler 577f58763b Make it possible to reconnect BBitmap to the app_server.
* maintain a list of all BBitmaps
* refactor the client memory allocator class, its possible now to just clone existing client area
2012-01-22 15:30:15 +13:00

33 lines
523 B
C++

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