/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-04-29 15:27:19 UTC
  • Revision ID: tim@ed.am-20120429152719-4cu2t9lx7bxpbml1
added adjustable text scaling factor

Show diffs side-by-side

added added

removed removed

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
 
        /**
40
30
         * Get year.
41
31
         *
42
32
         * @return year
99
89
        void update();
100
90
 
101
91
        /**
 
92
         * Initialise time data
 
93
         */
 
94
        void init();
 
95
 
 
96
        /**
102
97
         * Increment the hours and save the time.
103
98
         */
104
99
        void inc_hours();