1 /*---------------------------------------------------------------------------* 2 Project: Dolphin OS relocatable module demo 3 File: b.h 4 5 Copyright 1998-2002 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Log: b.h,v $ 14 Revision 1.1 01/26/2006 08:01:18 hiratsu 15 Relocatable module demo. 16 17 18 3 8/23/02 17:43 Shiki 19 Clean up. 20 21 2 01/04/02 13:41 Shiki 22 Added IsBThere(). 23 24 1 10/31/00 3:51p Shiki 25 Initial check-in. 26 $NoKeywords: $ 27 *---------------------------------------------------------------------------*/ 28 29 #ifndef __B_H__ 30 #define __B_H__ 31 32 #include "a.h" 33 34 class B : public A 35 { 36 static int count; 37 public: B()38 B() { OSReport("Hi! I'm class B! (%d)\n", ++count); } ~B()39 ~B() { OSReport("Bye! I'm class B! (%d)\n", count--); } 40 }; 41 42 void MainB(void); 43 void IsBThere(void); 44 45 #endif // __B_H__ 46