tickets has been moved to a new plugin 'ticket'

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@657 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-09-29 21:24:34 +00:00
parent a589e5a090
commit a8b8c1feec
55 changed files with 2765 additions and 2523 deletions

62
plugins/ticket/ticket.h Executable file
View File

@@ -0,0 +1,62 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2008-2010, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfile_winix_plugins_ticket_ticket
#define headerfile_winix_plugins_ticket_ticket
#include <string>
namespace Ticket
{
struct Ticket
{
long id;
long dir_id;
long parent_id;
unsigned int type;
unsigned int status;
unsigned int priority;
unsigned int category;
unsigned int expected;
unsigned int progress; // 0 - 100 (percentage)
// the first item (with the content for the ticket)
long item_id;
void Clear()
{
id = -1;
dir_id = -1;
parent_id = -1;
type = 0;
status = 0;
priority = 0;
category = 0;
expected = 0;
progress = 0;
item_id = -1;
}
Ticket()
{
Clear();
}
};
} // namespace
#endif