added: to plugin ticket: message WINIX_PL_TICKET_LOAD_TICKETS

someone can send this message with a directory id
       and tickets will be loaded from the directory
       (and to display them you can use ezc functions)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@889 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-09-14 23:48:39 +00:00
parent da15323c2f
commit 4ed535a3b7
9 changed files with 63 additions and 18 deletions

View File

@@ -97,6 +97,7 @@ public:
void ReadTicketConf(bool skip_existing_configs = false);
void FindCurrentConf(long dir_id);
void FindCurrentConf();
void ReadTicketParams(Ticket & ticket, bool clear_ticket, PT::Space & meta);
void RemoveTicket(long file_id);
@@ -104,6 +105,10 @@ public:
void MakeRedirectIfPossible(const Item & item);
// may now it is better to use null pointers instead of this empty objects?
Ticket * GetEmptyTicket() { return &ticket_empty; };
//Item * GetEmptyItem();
private:
Db * db;