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

  1. #if !defined(AFX_SERVICECONTROLDIALOG_H__8C630E4A_2A02_49C7_8035_48EF0998ACDF__INCLUDED_)
  2. #define AFX_SERVICECONTROLDIALOG_H__8C630E4A_2A02_49C7_8035_48EF0998ACDF__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // ServiceControlDialog.h : header file
  8. //
  9.  
  10. #include "CService.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CServiceControlDialog dialog
  14.  
  15. class CServiceControlDialog : public CDialog
  16. {
  17. // Construction
  18. public:
  19.     CServiceControlDialog(CService* pService, DWORD dwWaitHint, QUERYSTATEFN QueryStateFN, LPCTSTR lpszAction, CWnd* pParent = NULL);   // standard constructor
  20.  
  21. // Dialog Data
  22.     //{{AFX_DATA(CServiceControlDialog)
  23.     enum { IDD = IDD_SERVICE_CONTROL_DIALOG };
  24.     CProgressCtrl    m_Progress;
  25.     CString    m_strDescription;
  26.     //}}AFX_DATA
  27.  
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CServiceControlDialog)
  32.     protected:
  33.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. protected:
  38.     CService* m_pService;
  39.     int m_nTimerID;
  40.     DWORD m_dwWaitHint;
  41.     DWORD m_dwSecondsExpected;
  42.     DWORD m_dwSecondsElapsed;
  43.     LPCTSTR m_lpszAction;
  44.     QUERYSTATEFN m_QueryStateFN;
  45.     // Generated message map functions
  46.     //{{AFX_MSG(CServiceControlDialog)
  47.     afx_msg void OnTimer(UINT nIDEvent);
  48.     //}}AFX_MSG
  49.     DECLARE_MESSAGE_MAP()
  50. };
  51.  
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54.  
  55. #endif // !defined(AFX_SERVICECONTROLDIALOG_H__8C630E4A_2A02_49C7_8035_48EF0998ACDF__INCLUDED_)
  56.