1993-08-12 23:20:25 +00:00
|
|
|
// Class Foo
|
|
|
|
|
|
|
|
#pragma interface
|
|
|
|
|
|
|
|
#define FOOLISH_NUMBER -4711
|
|
|
|
|
|
|
|
#ifndef FOO_MSG_LEN
|
|
|
|
#define FOO_MSG_LEN 80
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class Foo {
|
|
|
|
static int foos;
|
|
|
|
int i;
|
1994-01-28 20:09:26 +00:00
|
|
|
static const int len;
|
|
|
|
char message[FOO_MSG_LEN];
|
1993-08-12 23:20:25 +00:00
|
|
|
public:
|
|
|
|
static void init_foo ();
|
|
|
|
static int nb_foos() { return foos; }
|
|
|
|
Foo();
|
|
|
|
Foo( char* message);
|
|
|
|
Foo(const Foo&);
|
|
|
|
Foo & operator= (const Foo&);
|
|
|
|
~Foo ();
|
|
|
|
};
|