Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# netusersdiag.h

Go to the documentation of this file.

    00001 #if !defined(AFX_NETUSERSDIAG_H__2F12B5A1_D4BE_41A4_84C7_5C686333482F__INCLUDED_)
    00002 #define AFX_NETUSERSDIAG_H__2F12B5A1_D4BE_41A4_84C7_5C686333482F__INCLUDED_
    00003
    00004 #if _MSC_VER > 1000
    00005 #pragma once
    00006 #endif // _MSC_VER > 1000
    00007 // NetUsersDiag.h : header file
    00008 //
    00009
    00010 /////////////////////////////////////////////////////////////////////////////
    00011 // CNetUsersDiag form view
    00012
    00013 #ifndef __AFXEXT_H__
    00014 #include <afxext.h>
    00015 #endif
    00016
    00017 class deConnection;
    00018
    00019 class CNetUsersDiag : public CFormView
    00020 {
    00021 public:
    00022     CNetUsersDiag();           // protected constructor used by dynamic creation
    00023     DECLARE_DYNCREATE(CNetUsersDiag)
    00024
    00025 // Form Data
    00026 public:
    00027     //{{AFX_DATA(CNetUsersDiag)
    00028     enum { IDD = IDD_DIAG_NETUSERS };
    00029     CXListCtrl  m_lstNetUsers;
    00030     //}}AFX_DATA
    00031
    00032 // Attributes
    00033 public:
    00034
    00035 // Operations
    00036 public:
    00037
    00038     bool    RemoveConnection( deConnection * pConn );
    00039     bool    AddConnection( deConnection * pConn );
    00040     void    UpdateConnectionInfo( deConnection * pConn );
    00041
    00042     static CNetUsersDiag * GetWin( void ) { return m_Singleton; }
    00043
    00044 // Overrides
    00045     // ClassWizard generated virtual function overrides
    00046     //{{AFX_VIRTUAL(CNetUsersDiag)
    00047     public:
    00048     virtual void OnInitialUpdate();
    00049     protected:
    00050     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    00051     //}}AFX_VIRTUAL
    00052
    00053 // Implementation
    00054 public:
    00055     virtual ~CNetUsersDiag();
    00056 protected:
    00057 #ifdef _DEBUG
    00058     virtual void AssertValid() const;
    00059     virtual void Dump(CDumpContext& dc) const;
    00060 #endif
    00061
    00062     // Generated message map functions
    00063     //{{AFX_MSG(CNetUsersDiag)
    00064     afx_msg void OnSize(UINT nType, int cx, int cy);
    00065     //}}AFX_MSG
    00066     DECLARE_MESSAGE_MAP()
    00067
    00068 private:
    00069
    00070     static CNetUsersDiag * m_Singleton;
    00071 };
    00072
    00073 /////////////////////////////////////////////////////////////////////////////
    00074
    00075 //{{AFX_INSERT_LOCATION}}
    00076 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
    00077
    00078 #endif // !defined(AFX_NETUSERSDIAG_H__2F12B5A1_D4BE_41A4_84C7_5C686333482F__INCLUDED_)