Debian Codegraph @

src/scheduleClass.h

raw symbols SCIP
1 /* ------------------ scheduleClass.h --------------------------------------------------------------------------------------
2 header file for luckyBackup project
3
4 ===============================================================================================================================
5 ===============================================================================================================================
6 This file is part of "luckyBackup" project
7 Copyright, Loukas Avgeriou
8 luckyBackup is distributed under the terms of the GNU General Public License
9 luckyBackup 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 3 of the License, or
12 (at your option) any later version.
13
14 luckyBackup 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. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with luckyBackup. If not, see <http://www.gnu.org/licenses/>.
21
22
23 project version : Please see "main.cpp" for project version
24
25 developer : luckyb
26 last modified : 24 Jan 2011
27 ===============================================================================================================================
28 ===============================================================================================================================
29 */
30
31
32
33 #ifndef SCHEDULECLASS_H
34 #define SCHEDULECLASS_Hcxx . . $ `src/scheduleClass.h:34:9`!
35
36
37 //==============================================================================================================
38 //Declaration of schedule class (this is the class that holds profiles scheduling names & arguments)
39 class schedulecxx . . $ schedule#
40 {
41 public:
42 schedulecxx . . $ schedule#schedule(49f6e7a06ebc5aa8).() //constructor
43 {
44 itsNamecxx . . $ schedule#itsName.=cxx . . $ QString#`operator=`(d02845eef0c33901). "";
45 itsProfilePathcxx . . $ schedule#itsProfilePath. =cxx . . $ QString#`operator=`(d02845eef0c33901). "";
46 itsProfileNamecxx . . $ schedule#itsProfileName. =cxx . . $ QString#`operator=`(d02845eef0c33901). "";
47 itsMonthcxx . . $ schedule#itsMonth. = 0;
48 itsMonthDaycxx . . $ schedule#itsMonthDay. = 0;
49 itsWeekDaycxx . . $ schedule#itsWeekDay. = 0;
50 itsHourcxx . . $ schedule#itsHour. = 0;
51 itsMinutecxx . . $ schedule#itsMinute. = 0;
52 itsSkipCriticalcxx . . $ schedule#itsSkipCritical. = true;
53 itsConsoleModecxx . . $ schedule#itsConsoleMode. = false;
54 itsRebootcxx . . $ schedule#itsReboot. = false;
55 itsDelayRebootcxx . . $ schedule#itsDelayReboot. = 3;
56 }
57 ~cxx . . $ schedule#`~schedule`(ced63f7c635d850d).schedulecxx . . $ schedule#() {} //destructor
58
59 //Functions - get class operation data--------------------------------------------------------------------------------------
60 QStringcxx . . $ QString# GetNamecxx . . $ schedule#GetName(6ef7b6c27b00b43d).() const {return itsNamecxx . . $ QString#QString(132dd6869045752b).;}
61 QStringcxx . . $ QString# GetProfilePathcxx . . $ schedule#GetProfilePath(6ef7b6c27b00b43d).() const {return itsProfilePathcxx . . $ QString#QString(132dd6869045752b).;}
62 QStringcxx . . $ QString# GetProfileNamecxx . . $ schedule#GetProfileName(6ef7b6c27b00b43d).() const {return itsProfileNamecxx . . $ QString#QString(132dd6869045752b).;}
63
64 int GetMonthcxx . . $ schedule#GetMonth(455f465bc33b4cdf). () const {return itsMonthcxx . . $ schedule#itsMonth.;}
65 int GetMonthDaycxx . . $ schedule#GetMonthDay(455f465bc33b4cdf). () const {return itsMonthDaycxx . . $ schedule#itsMonthDay.;}
66 int GetWeekDaycxx . . $ schedule#GetWeekDay(455f465bc33b4cdf). () const {return itsWeekDaycxx . . $ schedule#itsWeekDay.;}
67 int GetHourcxx . . $ schedule#GetHour(455f465bc33b4cdf). () const {return itsHourcxx . . $ schedule#itsHour.;}
68 int GetMinutecxx . . $ schedule#GetMinute(455f465bc33b4cdf). () const {return itsMinutecxx . . $ schedule#itsMinute.;}
69 bool GetSkipCriticalcxx . . $ schedule#GetSkipCritical(50ce9a9e25b4a850).() const {return itsSkipCriticalcxx . . $ schedule#itsSkipCritical.;}
70 bool GetConsoleModecxx . . $ schedule#GetConsoleMode(50ce9a9e25b4a850).() const {return itsConsoleModecxx . . $ schedule#itsConsoleMode.;}
71 bool GetRebootcxx . . $ schedule#GetReboot(50ce9a9e25b4a850).() const {return itsRebootcxx . . $ schedule#itsReboot.;}
72 int GetDelayRebootcxx . . $ schedule#GetDelayReboot(455f465bc33b4cdf). () const {return itsDelayRebootcxx . . $ schedule#itsDelayReboot.;}
73
74 //Functions - set class operation data --------------------------------------------------------------------------------------
75 void SetNamecxx . . $ schedule#SetName(7df51288a9ebd664).(QStringcxx . . $ QString# name) {itsNamecxx . . $ schedule#itsName. =cxx . . $ QString#`operator=`(b79fde0b0ce9b948). name;}
76
77 void SetProfilePathcxx . . $ schedule#SetProfilePath(7df51288a9ebd664).(QStringcxx . . $ QString# ProfilePath) {itsProfilePathcxx . . $ schedule#itsProfilePath. =cxx . . $ QString#`operator=`(b79fde0b0ce9b948). ProfilePath;}
78 void SetProfileNamecxx . . $ schedule#SetProfileName(7df51288a9ebd664).(QStringcxx . . $ QString# ProfileName) {itsProfileNamecxx . . $ schedule#itsProfileName. =cxx . . $ QString#`operator=`(b79fde0b0ce9b948). ProfileName;}
79
80 void SetMonthcxx . . $ schedule#SetMonth(d4f767463ce0a6b3).(int month) {itsMonthcxx . . $ schedule#itsMonth. = month;}
81 void SetMonthDaycxx . . $ schedule#SetMonthDay(d4f767463ce0a6b3).(int monthDay) {itsMonthDaycxx . . $ schedule#itsMonthDay. = monthDay;}
82 void SetWeekDaycxx . . $ schedule#SetWeekDay(d4f767463ce0a6b3).(int weekDay) {itsWeekDaycxx . . $ schedule#itsWeekDay. = weekDay;}
83 void SetHourcxx . . $ schedule#SetHour(d4f767463ce0a6b3).(int hour) {itsHourcxx . . $ schedule#itsHour. = hour;}
84 void SetMinutecxx . . $ schedule#SetMinute(d4f767463ce0a6b3).(int minute) {itsMinutecxx . . $ schedule#itsMinute. = minute;}
85 void SetSkipCriticalcxx . . $ schedule#SetSkipCritical(b45ddcbc8423892c). (bool SkipCritical) {itsSkipCriticalcxx . . $ schedule#itsSkipCritical. = SkipCritical;}
86 void SetConsoleModecxx . . $ schedule#SetConsoleMode(b45ddcbc8423892c). (bool ConsoleMode) {itsConsoleModecxx . . $ schedule#itsConsoleMode. = ConsoleMode;}
87 void SetRebootcxx . . $ schedule#SetReboot(b45ddcbc8423892c). (bool Reboot) {itsRebootcxx . . $ schedule#itsReboot. = Reboot;}
88 void SetDelayRebootcxx . . $ schedule#SetDelayReboot(d4f767463ce0a6b3). (int delayReboot) {itsDelayRebootcxx . . $ schedule#itsDelayReboot. = delayReboot;}
89
90 private:
91 QStringcxx . . $ QString# itsNamecxx . . $ schedule#itsName.;
92 QStringcxx . . $ QString# itsProfilePathcxx . . $ schedule#itsProfilePath.;
93 QStringcxx . . $ QString# itsProfileNamecxx . . $ schedule#itsProfileName.;
94 int itsMonthcxx . . $ schedule#itsMonth.;
95 int itsMonthDaycxx . . $ schedule#itsMonthDay.;
96 int itsWeekDaycxx . . $ schedule#itsWeekDay.;
97 int itsHourcxx . . $ schedule#itsHour.;
98 int itsMinutecxx . . $ schedule#itsMinute.;
99 bool itsSkipCriticalcxx . . $ schedule#itsSkipCritical.;
100 bool itsConsoleModecxx . . $ schedule#itsConsoleMode.;
101 bool itsRebootcxx . . $ schedule#itsReboot.;
102 int itsDelayRebootcxx . . $ schedule#itsDelayReboot.;
103 };
104
105 #endif
106
107 // end of scheduleClass.h--------------------------------------------------------------