SyncClock.h
资源名称:停车场管理系统.zip [点击查看]
上传用户:trilite
上传日期:2007-04-24
资源大小:261k
文件大小:1k
源码类别:
酒店行业
开发平台:
Visual C++
- #if !defined(AFX_SYNCCLOCK_H__265B7AB4_5869_11D4_83B4_0080C8F5DB70__INCLUDED_)
- #define AFX_SYNCCLOCK_H__265B7AB4_5869_11D4_83B4_0080C8F5DB70__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // SyncClock.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CSyncClock recordset
- class CSyncClock : public CRecordset
- {
- public:
- static void SetSystemTime(const CTime& time);
- CSyncClock(CDatabase* pDatabase = NULL);
- DECLARE_DYNAMIC(CSyncClock)
- // Field/Param Data
- //{{AFX_FIELD(CSyncClock, CRecordset)
- CTime m_datetimeServer;
- //}}AFX_FIELD
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSyncClock)
- public:
- virtual CString GetDefaultConnect(); // Default connection string
- virtual CString GetDefaultSQL(); // Default SQL for Recordset
- virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
- //}}AFX_VIRTUAL
- // Implementation
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SYNCCLOCK_H__265B7AB4_5869_11D4_83B4_0080C8F5DB70__INCLUDED_)