Bumped copyright dates for 2013
[barry.git] / desktop / src / guitimet.h
blob94f1861995f74158ca3647b02271411d2c0147fb
1 ///
2 /// \file guitimet.h
3 /// Object to hold the date/time data of a set of GUI controls
4 ///
6 /*
7 Copyright (C) 2012-2013, Net Direct Inc. (http://www.netdirect.ca/)
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 See the GNU General Public License in the COPYING file at the
19 root directory of this project for more details.
22 #ifndef __BARRYDESKTOP_GUITIMET_H__
23 #define __BARRYDESKTOP_GUITIMET_H__
25 class GUITimeT
27 public:
28 wxDateTime m_date;
29 int m_hour;
30 int m_min;
32 public:
33 GUITimeT()
34 : m_hour(0)
35 , m_min(0)
39 explicit GUITimeT(time_t t)
40 : m_hour(0)
41 , m_min(0)
43 Set(t);
46 void Set(time_t t);
47 time_t Get() const;
50 #endif