/[H9]/trunk/FlisServer/FlisServerDlg.h
ViewVC logotype

Contents of /trunk/FlisServer/FlisServerDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 105 - (show annotations) (download)
Fri Nov 30 07:24:35 2007 UTC (16 years, 5 months ago) by kevin
File MIME type: text/plain
File size: 1272 byte(s)
updated Dagbog - kevin.doc
1 // FlisServerDlg.h : header file
2 //
3
4 #pragma once
5 #include "afxwin.h"
6 #include "stdafx.h"
7 #include <vector>
8 #include "Containers.h"
9
10
11 // CFlisServerDlg dialog
12 class CFlisServerDlg : public CDialog
13 {
14 // Construction
15 public:
16 CFlisServerDlg(CWnd* pParent = NULL); // standard constructor
17 CSerial Serial;
18
19 // Dialog Data
20 enum { IDD = IDD_FLISSERVER_DIALOG };
21
22 protected:
23 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
24
25
26 // Implementation
27 protected:
28 HICON m_hIcon;
29
30 // Generated message map functions
31 virtual BOOL OnInitDialog();
32 afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
33 afx_msg void OnPaint();
34 afx_msg HCURSOR OnQueryDragIcon();
35 DECLARE_MESSAGE_MAP()
36 CDatabase db;
37
38 int StartSerial(void);
39 std::vector<unsigned char> readFrame();
40 void writeFrame(std::vector<unsigned char> data);
41 void SendSmsData(std::vector<unsigned char> data);
42 void SendSmsHead(std::vector<unsigned char> data);
43 int SetPin(void);
44 void DBConnect();
45 vector<Commands> DBRead(void);
46 void ReadSms();
47 void SmsSplit(CString data);
48 CString Splitter(CString& fyrdata);
49
50 public:
51 CEdit m_Textwindow;
52 afx_msg void OnBnClickedtest();
53 afx_msg void OnBnClickedClose();
54 afx_msg void OnBnClickedGsmpin();
55 };

  ViewVC Help
Powered by ViewVC 1.1.20