swig/Examples/chicken/vtk/vtkChickenCommand.h
Jonah Beckford 6901abdf17 Initial addition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 01:56:34 +00:00

28 lines
673 B
C++

#ifndef __vtkChickenCommand_h
#define __vtkChickenCommand_h
#include "vtkCommand.h"
extern "C" void
execute_vtk_chicken_command (void *, C_word, void *, unsigned long, void *);
class vtkChickenCommand : public vtkCommand {
public:
virtual void Execute (vtkObject *caller, unsigned long eventId,
void *callData) {
execute_vtk_chicken_command (this, continuation, caller,
eventId, callData);
}
static vtkChickenCommand * New(C_word continuation) {
return new vtkChickenCommand (continuation);
}
protected:
C_word continuation;
vtkChickenCommand (C_word continuation_) : continuation (continuation_)
{ }
};
#endif