acl/lib_acl_cpp/samples/win_dbservice/win_dbserviceDlg.h

44 lines
865 B
C
Raw Normal View History

// win_dbserviceDlg.h : ͷ<>ļ<EFBFBD>
2014-11-19 00:25:21 +08:00
//
#pragma once
#include "acl_cpp/db/db_service.hpp"
// Cwin_dbserviceDlg <20>Ի<EFBFBD><D4BB><EFBFBD>
2014-11-19 00:25:21 +08:00
class Cwin_dbserviceDlg : public CDialog
{
// <20><><EFBFBD><EFBFBD>
2014-11-19 00:25:21 +08:00
public:
Cwin_dbserviceDlg(CWnd* pParent = NULL); // <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><ECBAAF>
2014-11-19 00:25:21 +08:00
// <20><><EFBFBD><EFBFBD>
2014-11-19 00:25:21 +08:00
~Cwin_dbserviceDlg();
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2014-11-19 00:25:21 +08:00
enum { IDD = IDD_WIN_DBSERVICE_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
2014-11-19 00:25:21 +08:00
// ʵ<><CAB5>
2014-11-19 00:25:21 +08:00
protected:
HICON m_hIcon;
// <20><><EFBFBD>ɵ<EFBFBD><C9B5><EFBFBD>Ϣӳ<CFA2><EFBFBD><E4BAAF>
2014-11-19 00:25:21 +08:00
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedAddData();
private:
acl::db_service* server_;
acl::aio_handle* handle_;
public:
afx_msg void OnBnClickedGetData();
afx_msg void OnBnClickedDeleteData();
};