trfAgent.h
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:1k
- #ifndef _TRFAGENT_H
- #define _TRFAGENT_H
- #include "resource.h" // main symbols
- #include "guiadodb.h"
- #include "CSHelper.h"
- #include "CCHelper.h"
- #include "AppInstance.h"
- extern CString _LoadString(UINT uResID);
- class CTrfAgentApp : public CWinApp
- {
- public:
- CTrfAgentApp();
-
- public:
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTrfAgentApp)
- public:
- virtual BOOL InitInstance();
- virtual int ExitInstance();
- //}}AFX_VIRTUAL
-
- //{{AFX_MSG(CTrfAgentApp)
- afx_msg void OnAppAbout();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- CCSHelper m_oCSHelper; //与控制服务器之间的交互对象
- CCCHelper m_oCCHelper; //与Agent之间的交互对象
- CAppInstance m_oAppInstance; //系统实例对象,负责系统初始化和反初始化工作
- private:
- /*
- * support shell "send-to" right menu command.
- */
- //解析系统命令行来获取外部Shell命令所要发送的文件信息,并把
- //要发送的文件信息记录进系统注册表项中.
- void PrepareSendFilesFromCommand(LPCSTR lpszCommandLine);
- //通知系统加载Shell命令所指定要发送的文件信息.
- void NotifySysWndToLoadShellFiles(HWND hwnd);
- };
- //{{AFX_INSERT_LOCATION}}
- extern CTrfAgentApp theApp;
- #endif //_TRFAGENT_H