1 /* 2 * Copyright 2006, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus <superstippi@gmx.de> 7 */ 8 9 #ifndef BITMAP_COMPRESSION_H 10 #define BITMAP_COMPRESSION_H 11 12 #include <SupportDefs.h> 13 14 class BBitmap; 15 class BMessage; 16 17 status_t 18 archive_bitmap(const BBitmap* bitmap, BMessage* into, const char* fieldName); 19 20 status_t 21 extract_bitmap(BBitmap** bitmap, const BMessage* from, const char* fieldName); 22 23 #endif // BITMAP_COMPRESSION_H 24