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