home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / pserv.cpl / pserv-2.4.exe / source / TemplateDialog.h < prev    next >
C/C++ Source or Header  |  2005-01-05  |  2KB  |  59 lines

  1. #if !defined(AFX_TEMPLATEDIALOG_H__1275A21B_ECE5_4E7C_B2CA_BA216CFD49F6__INCLUDED_)
  2. #define AFX_TEMPLATEDIALOG_H__1275A21B_ECE5_4E7C_B2CA_BA216CFD49F6__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // TemplateDialog.h : header file
  8. //
  9.  
  10. class CServiceList;
  11. class ServiceAction;
  12. /////////////////////////////////////////////////////////////////////////////
  13. // TemplateDialog dialog
  14.  
  15. class TemplateDialog : public CDialog
  16. {
  17. // Construction
  18. public:
  19.     TemplateDialog(CServiceList* pServiceList, CObList* pActions, CWnd* pParent = NULL);   // standard constructor
  20.     CObList m_ActionsToPerform;
  21.     virtual ~TemplateDialog();
  22.  
  23. // Dialog Data
  24.     //{{AFX_DATA(TemplateDialog)
  25.     enum { IDD = IDD_TEMPLATE_DIALOG };
  26.     CComboBox    m_cbDefaultStartupMode;
  27.     CListBox    m_ActionList;
  28.     //}}AFX_DATA
  29.  
  30.  
  31. // Overrides
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(TemplateDialog)
  34.     protected:
  35.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. protected:
  40.     void DeleteActions();
  41.  
  42.     CObList* m_pActions;
  43.     CServiceList* m_pServiceList;
  44.     ServiceAction* findRequestedAction(LPCTSTR lpszName);
  45.  
  46.     BOOL CheckActionsToPerform();
  47.  
  48.     // Generated message map functions
  49.     //{{AFX_MSG(TemplateDialog)
  50.     afx_msg void OnSelchangeCombo1();
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57.  
  58. #endif // !defined(AFX_TEMPLATEDIALOG_H__1275A21B_ECE5_4E7C_B2CA_BA216CFD49F6__INCLUDED_)
  59.