1 // -*- C++ -*- 2 // VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator. 3 // Copyright (C) 1999-2003 Forgotten 4 // Copyright (C) 2004 Forgotten and the VBA development team 5 6 // This program is free software; you can redistribute it and/or modify 7 // it under the terms of the GNU General Public License as published by 8 // the Free Software Foundation; either version 2, or(at your option) 9 // any later version. 10 // 11 // This program is distributed in the hope that it will be useful, 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 // GNU General Public License for more details. 15 // 16 // You should have received a copy of the GNU General Public License 17 // along with this program; if not, write to the Free Software Foundation, 18 // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 20 #if !defined(AFX_ROMINFO_H__9888A45C_3E71_4C0F_B119_EFC74DFF8CD3__INCLUDED_) 21 #define AFX_ROMINFO_H__9888A45C_3E71_4C0F_B119_EFC74DFF8CD3__INCLUDED_ 22 23 #if _MSC_VER > 1000 24 #pragma once 25 #endif // _MSC_VER > 1000 26 // RomInfo.h : header file 27 // 28 29 ///////////////////////////////////////////////////////////////////////////// 30 // RomInfoGB dialog 31 32 class RomInfoGB : public CDialog 33 { 34 // Construction 35 public: 36 RomInfoGB(u8 *rom, CWnd* pParent = NULL); // standard constructor 37 38 // Dialog Data 39 //{{AFX_DATA(RomInfoGB) 40 enum { IDD = IDD_GB_ROM_INFO }; 41 // NOTE: the ClassWizard will add data members here 42 //}}AFX_DATA 43 44 45 // Overrides 46 // ClassWizard generated virtual function overrides 47 //{{AFX_VIRTUAL(RomInfoGB) 48 protected: 49 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 50 //}}AFX_VIRTUAL 51 u8 *rom; 52 53 // Implementation 54 protected: 55 56 // Generated message map functions 57 //{{AFX_MSG(RomInfoGB) 58 afx_msg void OnOk(); 59 virtual BOOL OnInitDialog(); 60 //}}AFX_MSG 61 DECLARE_MESSAGE_MAP() 62 }; 63 64 ///////////////////////////////////////////////////////////////////////////// 65 // RomInfoGBA dialog 66 67 class RomInfoGBA : public CDialog 68 { 69 // Construction 70 public: 71 RomInfoGBA(u8 *rom, CWnd* pParent = NULL); // standard constructor 72 73 // Dialog Data 74 //{{AFX_DATA(RomInfoGBA) 75 enum { IDD = IDD_GBA_ROM_INFO }; 76 // NOTE: the ClassWizard will add data members here 77 //}}AFX_DATA 78 u8 *rom; 79 80 81 // Overrides 82 // ClassWizard generated virtual function overrides 83 //{{AFX_VIRTUAL(RomInfoGBA) 84 protected: 85 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 86 //}}AFX_VIRTUAL 87 88 // Implementation 89 protected: 90 91 // Generated message map functions 92 //{{AFX_MSG(RomInfoGBA) 93 afx_msg void OnOk(); 94 virtual BOOL OnInitDialog(); 95 //}}AFX_MSG 96 DECLARE_MESSAGE_MAP() 97 }; 98 //{{AFX_INSERT_LOCATION}} 99 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 100 101 #endif // !defined(AFX_ROMINFO_H__9888A45C_3E71_4C0F_B119_EFC74DFF8CD3__INCLUDED_) 102