ClientSubjectDlg.h
上传用户:lianquan
上传日期:2007-01-02
资源大小:197k
文件大小:2k
源码类别:

ActiveX/DCOM/ATL

开发平台:

Visual C++

  1. // ClientSubjectDlg.h : header file
  2. //
  3. #if !defined(AFX_CLIENTSUBJECTDLG_H__1B086EB6_551C_11D2_A942_62789E000000__INCLUDED_)
  4. #define AFX_CLIENTSUBJECTDLG_H__1B086EB6_551C_11D2_A942_62789E000000__INCLUDED_
  5. #if _MSC_VER >= 1000
  6. #pragma once
  7. #endif // _MSC_VER >= 1000
  8. #include "..ServerRNSO.H"
  9. #include "..RnsoClientCGenericObserverNotifier.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CClientSubjectDlg dialog
  12. class CClientSubjectDlg : public CDialog,public RnsoNotificationRout
  13. {
  14. // Construction
  15. public:
  16. CClientSubjectDlg(CWnd* pParent = NULL); // standard constructor
  17. IGenericObserver * m_pSubject;
  18. void OnNotifyNOTIFY(ObserverNotification* pNotification);
  19. void OnNotifyNOTIFY_SUBJECTBROKEN(DWORD dwSubjectID);
  20. // Dialog Data
  21. //{{AFX_DATA(CClientSubjectDlg)
  22. enum { IDD = IDD_CLIENTSUBJECT_DIALOG };
  23. CStatic m_staticnotifieddata;
  24. CEdit m_editobj2subscribe;
  25. CEdit m_edit1;
  26. CEdit m_edit_datanotif;
  27. CStatic m_static_CountSubscribers;
  28. //}}AFX_DATA
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CClientSubjectDlg)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. HICON m_hIcon;
  37. // Generated message map functions
  38. //{{AFX_MSG(CClientSubjectDlg)
  39. virtual BOOL OnInitDialog();
  40. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  41. afx_msg void OnPaint();
  42. afx_msg HCURSOR OnQueryDragIcon();
  43. afx_msg void OnButtonNotify();
  44. afx_msg void OnDestroy();
  45. afx_msg void OnButtonGetcountsubscribers();
  46. afx_msg void OnButton1();
  47. afx_msg void OnButtonsubscribe();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_CLIENTSUBJECTDLG_H__1B086EB6_551C_11D2_A942_62789E000000__INCLUDED_)