-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLCDClock.h
39 lines (28 loc) · 971 Bytes
/
LCDClock.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/////////////////////////////////////////////////////////////////////////////
// Name: LCDClock.h
// Purpose: wxIndustrialControls Library
// Author: Marco Cavallini <m.cavallini AT koansoftware.com>
// Modified by:
// Copyright: (C)2004-2006 Copyright by Koan s.a.s. - www.koansoftware.com
// Licence: KWIC License http://www.koansoftware.com/kwic/kwic-license.htm
/////////////////////////////////////////////////////////////////////////////
#include "LCDWindow.h"
#include <wx/datetime.h>
#define TIMER_TIME 3001
class CTimeAlarm;
class kwxLCDClock : public kwxLCDDisplay
{
public:
kwxLCDClock(wxWindow *parent,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize) ;
~kwxLCDClock() ;
void StartClock() ;
void StopClock() ;
CTimeAlarm *alarm ;
private:
DECLARE_EVENT_TABLE()
wxTimer m_timer ;
wxDateTime m_LastCheck ;
void OnTimer(wxTimerEvent& event);
};