00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_WEBINTERFACEDLG_H__179132A9_F658_4881_8F70_2820D92AF9EB__INCLUDED_) 00007 #define AFX_WEBINTERFACEDLG_H__179132A9_F658_4881_8F70_2820D92AF9EB__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 #include "vmsHttpServer.h" 00014 #include "vmsFdmWebInterfaceServer.h" 00015 00016 class CWebInterfaceDlg : public CDialog 00017 { 00018 00019 public: 00020 CWebInterfaceDlg(CWnd* pParent = NULL); 00021 00022 //{{AFX_DATA(CWebInterfaceDlg) 00023 enum { IDD = IDD_WEBINTERFACE_DIALOG }; 00024 00025 //}}AFX_DATA 00026 00027 00028 //{{AFX_VIRTUAL(CWebInterfaceDlg) 00029 public: 00030 virtual int DoModal(); 00031 protected: 00032 virtual void DoDataExchange(CDataExchange* pDX); 00033 virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); 00034 //}}AFX_VIRTUAL 00035 00036 protected: 00037 void UpdateEnabled(); 00038 UINT m_nShutdownMsg; 00039 void UpdateAddress(); 00040 void ShowTrayMenu(); 00041 afx_msg LRESULT OnTrayMsg (WPARAM, LPARAM); 00042 vmsFdmWebInterfaceServer m_fdmServer; 00043 vmsHttpServer m_http; 00044 HICON m_hIcon; 00045 00046 00047 //{{AFX_MSG(CWebInterfaceDlg) 00048 virtual BOOL OnInitDialog(); 00049 afx_msg HCURSOR OnQueryDragIcon(); 00050 afx_msg void OnDestroy(); 00051 afx_msg void OnConfigure(); 00052 afx_msg void OnShutdown(); 00053 virtual void OnOK(); 00054 virtual void OnCancel(); 00055 afx_msg void OnOpenInBrowser(); 00056 afx_msg void OnUsepwd(); 00057 //}}AFX_MSG 00058 DECLARE_MESSAGE_MAP() 00059 }; 00060 00061 //{{AFX_INSERT_LOCATION}//}} 00062 00063 #endif
1.5.6