/* * Descent 3 * Copyright (C) 2024 Parallax Software * * 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 3 of the License, 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, see . */ // FilePageAddDlg.cpp : implementation file // #include "stdafx.h" #include "editor.h" #include "FilePageAddDlg.h" #include "ddio.h" #include "mem.h" #include #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CFilePageAddDlg dialog CFilePageAddDlg::CFilePageAddDlg(CWnd* pParent /*=NULL*/) : CDialog(CFilePageAddDlg::IDD, pParent) { //{{AFX_DATA_INIT(CFilePageAddDlg) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT m_NumberOfSelectedFiles = 0; m_SelectedFiles = NULL; m_SelectedDestDir = NULL; initial_path = ""; } CFilePageAddDlg::~CFilePageAddDlg(void) { if(m_SelectedFiles) { for(int i=0;i