/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to src/time.h

  • Committer: Tim Marston
  • Date: 2012-05-18 14:55:12 UTC
  • Revision ID: tim@ed.am-20120518145512-4dg4ble01d47a8z5
moved rount Time a bit, and passed _button to SettingsMajorMode so that it can
come in and out of send_interim mode

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
namespace Time
28
28
{
29
29
        /**
 
30
         * Initialise time from store.
 
31
         */
 
32
        void load_time();
 
33
 
 
34
        /**
 
35
         * Save the time to the store.
 
36
         */
 
37
        void save_time();
 
38
 
 
39
        /**
30
40
         * Get year.
31
41
         *
32
42
         * @return year
89
99
        void update();
90
100
 
91
101
        /**
92
 
         * Initialise time data
93
 
         */
94
 
        void init();
95
 
 
96
 
        /**
97
102
         * Increment the hours and save the time.
98
103
         */
99
104
        void inc_hours();
126
131
};
127
132
 
128
133
 
129
 
#endif _TIME_H_
 
134
#endif //_TIME_H_