git-svn-id: file:///srv/svn/repos/haiku/trunk/current@186 a95241bf-73f2-0310-859d-f6bbb57e9c96
52 lines
1.2 KiB
C++
52 lines
1.2 KiB
C++
//------------------------------------------------------------------------------
|
|
// RemoteTestObject.h
|
|
//
|
|
//------------------------------------------------------------------------------
|
|
|
|
#ifndef REMOTETESTOBJECT_H
|
|
#define REMOTETESTOBJECT_H
|
|
|
|
// Standard Includes -----------------------------------------------------------
|
|
|
|
// System Includes -------------------------------------------------------------
|
|
#ifdef TEST_R5
|
|
#include <be/support/Archivable.h>
|
|
#else
|
|
#include "Archivable.h"
|
|
#endif
|
|
|
|
// Project Includes ------------------------------------------------------------
|
|
|
|
// Local Includes --------------------------------------------------------------
|
|
|
|
// Local Defines ---------------------------------------------------------------
|
|
|
|
// Globals ---------------------------------------------------------------------
|
|
|
|
class BMessage;
|
|
|
|
class TRemoteTestObject : public BArchivable
|
|
{
|
|
public:
|
|
TRemoteTestObject(int32 i);
|
|
int32 GetData() { return data; }
|
|
|
|
// All the archiving-related stuff
|
|
TRemoteTestObject(BMessage* archive);
|
|
status_t Archive(BMessage* archive, bool deep = true);
|
|
static TRemoteTestObject* Instantiate(BMessage* archive);
|
|
|
|
private:
|
|
int32 data;
|
|
};
|
|
|
|
#endif //REMOTETESTOBJECT_H
|
|
|
|
/*
|
|
* $Log $
|
|
*
|
|
* $Id $
|
|
*
|
|
*/
|
|
|