1 /*---------------------------------------------------------------------------* 2 Project: Dolphin OS relocatable module demo 3 File: a.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: a.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 IsAThere(). 23 24 1 10/31/00 3:51p Shiki 25 Initial check-in. 26 $NoKeywords: $ 27 *---------------------------------------------------------------------------*/ 28 29 #ifndef __A_H__ 30 #define __A_H__ 31 32 #define REL 33 34 class A 35 { 36 static int count; 37 public: A()38 A() { OSReport("Hi! I'm class A! (%d)\n", ++count); } ~A()39 ~A() { OSReport("Bye! I'm class A! (%d)\n", count--); } 40 }; 41 42 void MainA(void); 43 void IsAThere(void); 44 45 #endif // __A_H__ 46