2007-10-30 19:04:22 +00:00
|
|
|
// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
|
|
|
|
// Copyright (C) 1999-2003 Forgotten
|
|
|
|
// Copyright (C) 2004 Forgotten and the VBA development team
|
2008-01-09 15:18:40 +00:00
|
|
|
// Copyright (C) 2008 VBA-M development team
|
2007-10-30 19:04:22 +00:00
|
|
|
|
|
|
|
// This program is free software; you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation; either version 2, or(at your option)
|
|
|
|
// any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software Foundation,
|
|
|
|
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
class Directories : public CDialog
|
|
|
|
{
|
2008-01-09 15:18:40 +00:00
|
|
|
public:
|
|
|
|
Directories(CWnd* pParent = NULL);
|
|
|
|
enum { IDD = IDD_DIRECTORIES };
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
afx_msg void OnBatteryDir();
|
|
|
|
afx_msg void OnCaptureDir();
|
|
|
|
afx_msg void OnGbromDir();
|
|
|
|
afx_msg void OnGbcromDir();
|
|
|
|
afx_msg void OnRomDir();
|
|
|
|
afx_msg void OnSaveDir();
|
|
|
|
virtual void OnCancel();
|
|
|
|
virtual void OnOK();
|
|
|
|
DECLARE_MESSAGE_MAP()
|
2007-10-30 19:04:22 +00:00
|
|
|
|
2007-11-07 01:27:54 +00:00
|
|
|
private:
|
2008-01-09 15:18:40 +00:00
|
|
|
CEdit m_savePath;
|
|
|
|
CEdit m_romPath;
|
|
|
|
CEdit m_gbcromPath;
|
|
|
|
CEdit m_gbromPath;
|
|
|
|
CEdit m_capturePath;
|
|
|
|
CEdit m_batteryPath;
|
|
|
|
CString initialFolderDir;
|
|
|
|
|
|
|
|
CString browseForDir(CString title);
|
|
|
|
bool directoryDoesExist(const char *directory);
|
2007-11-07 01:27:54 +00:00
|
|
|
};
|