1999-05-03 09:29:11 +02: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;
|
|
|
|
static const int len = FOO_MSG_LEN;
|
|
|
|
char message[len];
|
|
|
|
public:
|
|
|
|
static void init_foo ();
|
|
|
|
static int nb_foos() { return foos; }
|
|
|
|
Foo();
|
2006-05-02 15:35:45 +02:00
|
|
|
Foo(const char* message);
|
1999-05-03 09:29:11 +02:00
|
|
|
Foo(const Foo&);
|
|
|
|
Foo & operator= (const Foo&);
|
|
|
|
~Foo ();
|
|
|
|
};
|