~ubuntu-branches/debian/sid/calligraplan/sid

« back to all changes in this revision

Viewing changes to src/plugins/schedulers/tj/taskjuggler/taskjuggler.h

  • Committer: Package Import Robot
  • Author(s): Pino Toscano
  • Date: 2018-02-01 18:20:19 UTC
  • Revision ID: package-import@ubuntu.com-20180201182019-1qo7qaim5wejm5k9
Tags: upstream-3.1.0
ImportĀ upstreamĀ versionĀ 3.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * taskjuggler.h - TaskJuggler
 
3
 *
 
4
 * Copyright (c) 2002, 2003, 2004 by Chris Schlaeger <cs@kde.org>
 
5
 * Copyright (c) 2011 by Dag Andersen <danders@get2net.dk>
 
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