[GME-commit]
GMESRC/GME/XmlBackEnd FilesInUseDetailsDlg.cpp,NONE,1.1
FilesInUseDetailsDlg.h,NONE,1.1 FilesInUseDlg.cpp,NONE,1.1
FilesInUseDlg.h,NONE,1.1
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Thu Oct 21 17:22:07 CDT 2004
Update of /var/lib/gme/GMESRC/GME/XmlBackEnd
In directory braindrain:/tmp/cvs-serv23149
Added Files:
FilesInUseDetailsDlg.cpp FilesInUseDetailsDlg.h
FilesInUseDlg.cpp FilesInUseDlg.h
Log Message:
no message
CVS User: bogyom
--- NEW FILE: FilesInUseDetailsDlg.cpp ---
// FilesInUseDetailsDlg.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "FilesInUseDetailsDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFilesInUseDetailsDlg dialog
CFilesInUseDetailsDlg::CFilesInUseDetailsDlg(CWnd* pParent /*=NULL*/)
: CDialog(CFilesInUseDetailsDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CFilesInUseDetailsDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CFilesInUseDetailsDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFilesInUseDetailsDlg)
DDX_Control(pDX, IDC_LIST, m_list);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CFilesInUseDetailsDlg, CDialog)
//{{AFX_MSG_MAP(CFilesInUseDetailsDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFilesInUseDetailsDlg message handlers
BOOL CFilesInUseDetailsDlg::OnInitDialog()
{
CDialog::OnInitDialog();
for( int i=0; i<m_fileList.size(); ++i )
m_list.AddString( m_fileList[i].c_str() );
return TRUE;
}
--- NEW FILE: FilesInUseDetailsDlg.h ---
#if !defined(AFX_FILESINUSEDETAILSDLG_H__E9CCDF19_CC29_45BC_B4BA_46DBE96F620D__INCLUDED_)
#define AFX_FILESINUSEDETAILSDLG_H__E9CCDF19_CC29_45BC_B4BA_46DBE96F620D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FilesInUseDetailsDlg.h : header file
//
#include <vector>
#include <string>
typedef std::vector<std::string> strVec;
/////////////////////////////////////////////////////////////////////////////
// CFilesInUseDetailsDlg dialog
class CFilesInUseDetailsDlg : public CDialog
{
// Construction
public:
CFilesInUseDetailsDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFilesInUseDetailsDlg)
enum { IDD = IDD_DIALOG_FILESUSEDETAILS };
CListBox m_list;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFilesInUseDetailsDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFilesInUseDetailsDlg)
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
strVec m_fileList;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILESINUSEDETAILSDLG_H__E9CCDF19_CC29_45BC_B4BA_46DBE96F620D__INCLUDED_)
--- NEW FILE: FilesInUseDlg.cpp ---
// FilesInUseDlg.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "FilesInUseDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFilesInUseDlg dialog
CFilesInUseDlg::CFilesInUseDlg(CWnd* pParent /*=NULL*/)
: CDialog(CFilesInUseDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CFilesInUseDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CFilesInUseDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFilesInUseDlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CFilesInUseDlg, CDialog)
//{{AFX_MSG_MAP(CFilesInUseDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFilesInUseDlg message handlers
--- NEW FILE: FilesInUseDlg.h ---
#if !defined(AFX_FILESINUSEDLG_H__25B5D7A4_0605_4898_8C3D_C81FA8855472__INCLUDED_)
#define AFX_FILESINUSEDLG_H__25B5D7A4_0605_4898_8C3D_C81FA8855472__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FilesInUseDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFilesInUseDlg dialog
class CFilesInUseDlg : public CDialog
{
// Construction
public:
CFilesInUseDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFilesInUseDlg)
enum { IDD = IDD_DIALOG_FILESAREUSED };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFilesInUseDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFilesInUseDlg)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILESINUSEDLG_H__25B5D7A4_0605_4898_8C3D_C81FA8855472__INCLUDED_)
More information about the GME-commit
mailing list