Debian Codegraph @

src/plugins/schedulers/tj/taskjuggler/taskjuggler.h

raw
1 /*
2 * taskjuggler.h - TaskJuggler
3 *
4 * SPDX-FileCopyrightText: 2002, 2003, 2004 Chris Schlaeger <[email protected]>
5 * SPDX-FileCopyrightText: 2011 Dag Andersen <[email protected]>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of version 2 of the GNU General Public License as
9 * published by the Free Software Foundation.
10 *
11 * $Id$
12 */
13
14 #ifndef _taskjuggler_h_
15 #define _taskjuggler_h_
16
17 #define TJURL "http://www.taskjuggler.org"
18
19 typedef enum CAType
20 {
21 CA_Undefined = 0, CA_Task, CA_Resource, CA_Account, CA_Shift, CA_Scenario
22 } CAType;
23
24 typedef enum CustomAttributeType
25 {
26 CAT_Undefined = 0, CAT_Reference, CAT_Text
27 } CustomAttributeType;
28
29 typedef enum TaskStatus
30 {
31 Undefined = 0, NotStarted, InProgressLate, InProgress, OnTime,
32 InProgressEarly, Finished, Late
33 } TaskStatus;
34
35 typedef enum AccountType { AllAccounts = 0, Cost, Revenue } AccountType;
36
37 typedef enum LoadUnit
38 {
39 minutes = 0, hours, days, weeks, months, years, shortAuto, longAuto
40 } LoadUnit;
41
42 // type of log message
43 namespace TJ {
44 enum LogMessageType { DebugMsg = 0, InfoMsg, WarningMsg, ErrorMsg };
45 }
46
47 #endif
48