home *** CD-ROM | disk | FTP | other *** search
- #ifndef CPP_UTILITY_HOOKS_H
- #define CPP_UTILITY_HOOKS_H
-
- // Callback Hook Klasse
- //
- // Autor: Jochen Becher
- //
- // Historie:
- // Version 1.0 am 25. Juni 94
-
- #ifndef UTILITY_HOOKS_H
- #include <utility/hooks.h>
- #endif
-
- class HookC : public Hook {
- public:
- HookC(APTR data = NULL);
- HookC &operator = (const HookC &);
- virtual ULONG hook(APTR object, APTR paramPkt);
- ULONG call(APTR object, APTR paramPkt);
- private:
- ULONG hookEntry(register __a0 struct Hook *h,
- register __a2 APTR o, register __a1 APTR msg);
- };
-
- #endif
-