// NetApp.h : main header file for the NETAPP application // #if !defined(AFX_NETAPP_H__1FB59945_595A_11D3_A335_00105A07EA4A__INCLUDED_) #define AFX_NETAPP_H__1FB59945_595A_11D3_A335_00105A07EA4A__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CNetApp: // See NetApp.cpp for the implementation of this class // #include "..\..\..\..\include\classlib\ltwrappr.h" #include "..\..\..\..\include\ltdic.h" #include "..\..\..\..\include\ltlck.h" #define IMPLEMENTATION_CLASS_UID "1.2.840.114257.1123456" #define IMPLEMENTATION_VERSION_NAME "1" #define DICOM_ERROR_USER_CLIENT_ADDRESS 900 #define DICOM_ERROR_USER_CLIENT_TITLE 901 #define DICOM_ERROR_USER_SERVER_TITLE 902 enum { PROCESS_NONE, PROCESS_CONNECT, PROCESS_ASSOCIATE, PROCESS_RELEASE, PROCESS_ABORT, PROCESS_CLOSE, PROCESS_C_STORE, PROCESS_C_FIND, PROCESS_C_GET, PROCESS_C_MOVE, PROCESS_C_CANCEL, PROCESS_C_ECHO, PROCESS_N_REPORT, PROCESS_N_GET, PROCESS_N_SET, PROCESS_N_ACTION, PROCESS_N_CREATE, PROCESS_N_DELETE, PROCESS_UNKNOWN, }; #define ACCEPT_VERIFY_NONE 0x0000 #define ACCEPT_VERIFY_TITLE 0x0001 #define ACCEPT_VERIFY_ADDRESS 0x0002 #define ACCEPT_VERIFY_MASK 0x0004 class CNetAccept { public: CString m_strTitle; CString m_strAddress; CString m_strMask; L_UINT m_nPort; L_UINT16 m_nVerify; }; class CNetListen { public: CString m_strTitle; L_UINT m_nPort; L_INT m_nNbClients; L_BOOL m_bAnonymous; CNetAccept *m_pAccept; L_INT m_nCount; }; typedef struct _CODETEXT { L_INT nCode; L_CHAR *pszText; } CODETEXT, *pCODETEXT; class CNetDlg; class CNetApp : public CWinApp { public: CNetApp(); CNetDlg *m_pDlg; CString strPrivateKeyPassword; BOOL bValidPrivateKeyPassword; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CNetApp) public: virtual BOOL InitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CNetApp) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_NETAPP_H__1FB59945_595A_11D3_A335_00105A07EA4A__INCLUDED_)