fixed: ticket sets a default function only for directories
fixed: reading a new url and subject in Functions::ReadItem() added: tickets are sorted now (by date) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@659 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#define headerfile_winix_plugins_ticket_ticket
|
||||
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
|
||||
|
||||
namespace Ticket
|
||||
@@ -31,7 +32,8 @@ struct Ticket
|
||||
// the first item (with the content for the ticket)
|
||||
long item_id;
|
||||
|
||||
|
||||
// an auxiliary object used when sorting a table with tickets
|
||||
unsigned long sort_id;
|
||||
|
||||
void Clear()
|
||||
{
|
||||
@@ -45,6 +47,8 @@ struct Ticket
|
||||
expected = 0;
|
||||
progress = 0;
|
||||
item_id = -1;
|
||||
|
||||
sort_id = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user