1 //------------------------------------------------------------------------------ 2 // LocalTestObject.h 3 // 4 //------------------------------------------------------------------------------ 5 6 #ifndef LOCALTESTOBJECT_H 7 #define LOCALTESTOBJECT_H 8 9 // Standard Includes ----------------------------------------------------------- 10 11 // System Includes ------------------------------------------------------------- 12 #include <Message.h> 13 #include <Archivable.h> 14 15 // Project Includes ------------------------------------------------------------ 16 17 // Local Includes -------------------------------------------------------------- 18 19 // Local Defines --------------------------------------------------------------- 20 21 // Globals --------------------------------------------------------------------- 22 23 class TIOTest : public BArchivable 24 { 25 public: 26 TIOTest(int32 i); 27 int32 GetData() { return data; } 28 29 // All the archiving-related stuff 30 TIOTest(BMessage* archive); 31 status_t Archive(BMessage* archive, bool deep = true); 32 static TIOTest* Instantiate(BMessage* archive); 33 34 private: 35 int32 data; 36 }; 37 38 #endif //LOCALTESTOBJECT_H 39 40 /* 41 * $Log $ 42 * 43 * $Id $ 44 * 45 */ 46 47 48