home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / CMCD0704.ISO / Software / Freeware / Utilitare / VisualBoyAdvance-1.7.2 / src / win32 / Directories.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-05-13  |  2.5 KB  |  84 lines

  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_DIRECTORIES_H__7ADB14C1_3C1B_4294_8D66_A4E87D6FC731__INCLUDED_)
  21. #define AFX_DIRECTORIES_H__7ADB14C1_3C1B_4294_8D66_A4E87D6FC731__INCLUDED_
  22.  
  23. #if _MSC_VER > 1000
  24. #pragma once
  25. #endif // _MSC_VER > 1000
  26. // Directories.h : header file
  27. //
  28.  
  29. /////////////////////////////////////////////////////////////////////////////
  30. // Directories dialog
  31.  
  32. class Directories : public CDialog
  33. {
  34.   // Construction
  35.  public:
  36.   CString initialFolderDir;
  37.   CString browseForDir(CString title);
  38.   Directories(CWnd* pParent = NULL);   // standard constructor
  39.  
  40.   // Dialog Data
  41.   //{{AFX_DATA(Directories)
  42.   enum { IDD = IDD_DIRECTORIES };
  43.   CEdit  m_savePath;
  44.   CEdit  m_romPath;
  45.   CEdit  m_gbromPath;
  46.   CEdit  m_capturePath;
  47.   CEdit  m_batteryPath;
  48.   //}}AFX_DATA
  49.  
  50.  
  51.   // Overrides
  52.   // ClassWizard generated virtual function overrides
  53.   //{{AFX_VIRTUAL(Directories)
  54.  protected:
  55.   virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  56.   //}}AFX_VIRTUAL
  57.  
  58.   // Implementation
  59.  protected:
  60.  
  61.   // Generated message map functions
  62.   //{{AFX_MSG(Directories)
  63.   virtual BOOL OnInitDialog();
  64.   afx_msg void OnBatteryDir();
  65.   afx_msg void OnBatteryDirReset();
  66.   afx_msg void OnCaptureDir();
  67.   afx_msg void OnCaptureDirReset();
  68.   afx_msg void OnGbromDir();
  69.   afx_msg void OnGbromDirReset();
  70.   afx_msg void OnRomDir();
  71.   afx_msg void OnRomDirReset();
  72.   afx_msg void OnSaveDir();
  73.   afx_msg void OnSaveDirReset();
  74.   virtual void OnCancel();
  75.   virtual void OnOK();
  76.   //}}AFX_MSG
  77.   DECLARE_MESSAGE_MAP()
  78.     };
  79.  
  80.     //{{AFX_INSERT_LOCATION}}
  81.     // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  82.  
  83. #endif // !defined(AFX_DIRECTORIES_H__7ADB14C1_3C1B_4294_8D66_A4E87D6FC731__INCLUDED_)
  84.