newlib-cygwin/winsup/mingw/samples/dlltest/silly.h

28 lines
293 B
C
Raw Normal View History

2002-05-28 21:13:45 +08:00
#define DERIVED_TEST 1
class CSilly
{
protected:
char* szName;
public:
CSilly();
CSilly(char* szName);
#ifdef DERIVED_TEST
virtual ~CSilly();
#else
~CSilly();
#endif
Poke ();
Stab (int nTimes);
#ifdef DERIVED_TEST
virtual WhatsYourName ();
#else
WhatsYourName ();
#endif
};