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
This commit is contained in:
czeidler
2012-01-22 15:30:15 +13:00
parent 04209cdd81
commit 577f58763b
9 changed files with 298 additions and 112 deletions
+13
View File
@@ -6,6 +6,7 @@
#define _BITMAP_PRIVATE_H
#include <Bitmap.h>
#include <OS.h>
@@ -16,4 +17,16 @@ struct overlay_client_data {
uint8* buffer;
};
void reconnect_bitmaps_to_app_server();
class BBitmap::Private {
public:
Private(BBitmap* bitmap);
void ReconnectToAppServer();
private:
BBitmap* fBitmap;
};
#endif // _BITMAP_PRIVATE_H