~registry/codeblocks/trunk

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxContribItems/KWIC/include/wx/KWIC/TimeAlarm.h

  • Committer: mortenmacfly
  • Date: 2012-02-22 14:40:26 UTC
  • Revision ID: svn-v4:98b59c6a-2706-0410-b7d6-d2fa1a1880c9:trunk:7835
* merged wxSmith branch into trunk
* this brings tons of new wxSmith items, including KWIC, wxImagePanel, wxGridBagSizer and more
* based on work of the community, mainly cryogen
* for more information, see changelog of wxSmith branch
* also, re-factoring of contributed wxWidgets items for wxSmith
* PLEASE DO A CLEAN CHECKOUT AND RE-BUILD EVERYTHING FROM SCRATCH!

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/////////////////////////////////////////////////////////////////////////////
 
2
// Name:        TimeAlarm.h
 
3
// Purpose:
 
4
// Author:      Marco Cavallini <m.cavallini AT koansoftware.com>
 
5
// Modified by:
 
6
// Copyright:   (C)2004-2006 Copyright by Koan s.a.s. - www.koansoftware.com
 
7
// Licence:     KWIC License http://www.koansoftware.com/kwic/kwic-license.htm
 
8
/////////////////////////////////////////////////////////////////////////////
 
9
//
 
10
//      Cleaned up and modified by Gary Harris for wxSmithKWIC, 2010.
 
11
//
 
12
/////////////////////////////////////////////////////////////////////////////
 
13
 
 
14
 
 
15
class CTimeAlarm
 
16
{
 
17
public:
 
18
        CTimeAlarm() ;
 
19
 
 
20
        void Enable () { m_bEnable = true ; } ;
 
21
        void Disable () { m_bEnable = false ; } ;
 
22
 
 
23
        void SetAlarmTime(wxDateTime alarmtime) ;
 
24
        void SetAlarmTime(double alarmtime) ;
 
25
 
 
26
        wxString GetAlarmString () ;
 
27
 
 
28
private:
 
29
        double m_dJAlarmTime ;
 
30
        bool m_bEnable ;
 
31
 
 
32
} ;