1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#ifndef _TestCallback_h
#define _TestCallback_h
#include "VehiclesConfig.h"
class AbstractVehicle;
class FuelLevelChangedEventArgs;
// TestCallback is a "yet to be documented" example class...
class tests_dll TestCallback
{
public:
static iwhTestIWH int Main(int argc, char *argv[]);
protected:
// protected constructor/destructor means only instantiable from within Main:
TestCallback();
virtual ~TestCallback();
// protected means it won't be wrapped:
virtual void FuelLevelChangedCallback(AbstractVehicle* sender, FuelLevelChangedEventArgs* data);
private:
// intentionally unimplemented to prevent copying:
TestCallback(const TestCallback& other);
TestCallback& operator=(const TestCallback& other);
};
#endif
|