1*c16361c4SAxel Dörfler /* 2*c16361c4SAxel Dörfler * Copyright 2015, Axel Dörfler, axeld@pinc-software.de. 3*c16361c4SAxel Dörfler * Distributed under the terms of the MIT License. 4*c16361c4SAxel Dörfler */ 5*c16361c4SAxel Dörfler #ifndef INIT_REAL_TIME_CLOCK_JOB_H 6*c16361c4SAxel Dörfler #define INIT_REAL_TIME_CLOCK_JOB_H 7*c16361c4SAxel Dörfler 8*c16361c4SAxel Dörfler 9*c16361c4SAxel Dörfler #include <Job.h> 10*c16361c4SAxel Dörfler #include <Path.h> 11*c16361c4SAxel Dörfler 12*c16361c4SAxel Dörfler 13*c16361c4SAxel Dörfler class InitRealTimeClockJob : public BSupportKit::BJob { 14*c16361c4SAxel Dörfler public: 15*c16361c4SAxel Dörfler InitRealTimeClockJob(); 16*c16361c4SAxel Dörfler 17*c16361c4SAxel Dörfler protected: 18*c16361c4SAxel Dörfler virtual status_t Execute(); 19*c16361c4SAxel Dörfler 20*c16361c4SAxel Dörfler private: 21*c16361c4SAxel Dörfler void _SetRealTimeClockIsGMT(BPath path) const; 22*c16361c4SAxel Dörfler void _SetTimeZoneOffset(BPath path) const; 23*c16361c4SAxel Dörfler }; 24*c16361c4SAxel Dörfler 25*c16361c4SAxel Dörfler 26*c16361c4SAxel Dörfler #endif // INIT_REAL_TIME_CLOCK_JOB_H 27