![]() ![]() |
![]() |
File: [OMI] / omi / oi / sample / Frog.h
(download)
Revision: 1.1, Mon Apr 20 17:19:54 2015 UTC (9 years, 2 months ago) by krisbash Branch: MAIN CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD OMI 1.0.8-1 |
#ifndef _FrogEvents_h #define _FrogEvents_h #include "oi.h" // This is the public interface of the Frog void Frog_Jump(int number); void Frog_EatFlys(int number); void Frog_Dive(int depth, int time); // These are the Open Instrtumentation callouts from the Frog OI_SETDEFAULT(LEVEL(3)) OI_EVENT(1, "I have jumped %d feet") void FrogEvents_JumpEvent(int number); OI_EVENT(2, "I have eaten %d flys") void FrogEvents_EatFlysEvent(int number); OI_EVENT(3, "I have dived %d feet for %d seconds") void FrogEvents_DiveEvent(int depth, int time); #endif /* _FrogEvents_h */
ViewCVS 0.9.2 |