1 krisbash 1.1 #ifndef _FrogEvents_h
2 #define _FrogEvents_h
3
4 #include "oi.h"
5
6 // This is the public interface of the Frog
7
8 void Frog_Jump(int number);
9 void Frog_EatFlys(int number);
10 void Frog_Dive(int depth, int time);
11
12 // These are the Open Instrtumentation callouts from the Frog
13
14 OI_SETDEFAULT(LEVEL(3))
15
16 OI_EVENT(1, "I have jumped %d feet")
17 void FrogEvents_JumpEvent(int number);
18
19 OI_EVENT(2, "I have eaten %d flys")
20 void FrogEvents_EatFlysEvent(int number);
21
22 krisbash 1.1 OI_EVENT(3, "I have dived %d feet for %d seconds")
23 void FrogEvents_DiveEvent(int depth, int time);
24
25 #endif /* _FrogEvents_h */
26
27
28
29
|