BookMarkAdd.h. #1

  • //
  • guest/
  • YourUncleBob/
  • p4win/
  • main/
  • gui/
  • BookMarkAdd.h.
  • View
  • Commits
  • Open Download .zip Download (2 KB)
#if !defined(AFX_BookMarkAdd_H__31BF7FD3_21F8_11D4_8350_009027AF6042__INCLUDED_)
#define AFX_BookMarkAdd_H__31BF7FD3_21F8_11D4_8350_009027AF6042__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BookMarkAdd.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CBookMarkAdd dialog

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

// Dialog Data
	//{{AFX_DATA(CBookMarkAdd)
	enum { IDD = IDD_BOOKMARKADD };
	CString	m_Name;
	int		m_MenuType;
	int     m_ChgPCU;
	CString m_Port;
	CString m_Client;
	CString m_User;
	CString m_Desc;
	//}}AFX_DATA


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

// Implementation
protected:
	CString m_Title;
	CString m_LabelText;
	BOOL m_IsOK2Cr8SubMenu;
	BOOL m_RadioShow;	// 0=show both, 1=disable 1st, 2=disable 2nd, 3=hide both

public:
	CString GetNewMenuName() { return m_Name; }
	void SetNewMenuName(CString name) { m_Name = name; }
	void SetTitle(CString title) { m_Title = title; }
	void SetLabelText(CString txt) { m_LabelText = txt; }
	void SetIsSubMenu(BOOL b) { m_MenuType = b ? 1 : 0; }
	BOOL GetIsSubMenu() { return m_MenuType == 1; }
	void SetCanCr8SubMenu(BOOL b) { m_IsOK2Cr8SubMenu = b; }
	void SetRadioShow(int x) { m_RadioShow = x; }
	
protected:

	// Generated message map functions
	//{{AFX_MSG(CBookMarkAdd)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnCommand();
	afx_msg void OnSubMenu();
	afx_msg void OnSamePCU();
	afx_msg void OnDiffPCU();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BookMarkAdd_H__31BF7FD3_21F8_11D4_8350_009027AF6042__INCLUDED_)
# Change User Description Committed
#1 19924 YourUncleBob Populate -o //guest/perforce_software/p4win/...
//guest/YourUncleBob/p4win/.....
//guest/perforce_software/p4win/main/gui/BookMarkAdd.h
#1 16169 perforce_software Move files to follow new path scheme for branches.
//guest/perforce_software/p4win/gui/BookMarkAdd.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.