TemplateNameDlg.h. #1

  • //
  • guest/
  • YourUncleBob/
  • p4win/
  • main/
  • gui/
  • TemplateNameDlg.h.
  • View
  • Commits
  • Open Download .zip Download (2 KB)
/*
 * Copyright 1998 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

// TemplateNameDlg.h : header file
//

#ifndef __SPECFROMTEMPLATE__
#define __SPECFROMTEMPLATE__

/////////////////////////////////////////////////////////////////////////////
// CTemplateNameDlg dialog

class CTemplateNameDlg : public CDialog
{
// Construction
public:
	CTemplateNameDlg(CWnd* pParent = NULL);   // standard constructor

protected:
// Dialog Data
	//{{AFX_DATA(CTemplateNameDlg)
	enum { IDD = IDD_TEMPLATENAME };
	CString	m_NewSpecName;
	CString	m_TemplateSpecName;
	//}}AFX_DATA

    CStringList *m_pVerbotenSpecNames;
	int m_SpecType;

public:
    void SetTemplateName(LPCTSTR name) { m_TemplateSpecName= name; }
	void SetSpecType( int specType ) { m_SpecType= specType; }
    void SetNewSpecName(LPCTSTR name) { m_NewSpecName= name; }
    LPCTSTR GetNewSpecName() { return LPCTSTR(m_NewSpecName); }
    void SetVerbotenSpecNames(CStringList *list) 
        { ASSERT_KINDOF(CStringList,list); m_pVerbotenSpecNames= list; }

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTemplateNameDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTemplateNameDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // __SPECFROMTEMPLATE__
# Change User Description Committed
#1 19924 YourUncleBob Populate -o //guest/perforce_software/p4win/...
//guest/YourUncleBob/p4win/.....
//guest/perforce_software/p4win/main/gui/TemplateNameDlg.h
#1 16169 perforce_software Move files to follow new path scheme for branches.
//guest/perforce_software/p4win/gui/TemplateNameDlg.h
#1 8562 Matt Attaway These feet never stop running.

Initial commit of the P4Win source code.  To the best of our knowledge this
compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes
as we refine the build process. Please post any build issues to the forums.