fixed: compiling in the clang (new version of c++ std lib)
(added some header files) added: three messsages in ticket plugin: // send by showtickets winix function when tickets are loaded (and sorted) // in p1 you have a pointer to the ticket tab: std::vector<Ticket::Ticket> (include "ticket.h") // in p2 you have a pointer to the sort tab: std::vector<Item*> // those tables don't have to be equal in size (in the case when there is no some tickets in the database) #define WINIX_PL_TICKET_TICKETS_LOADED 4106 // a new ticket has been added // in p1 you have a pointer to the Ticket::Ticket structure (include "ticket.h") // in p2 you have a pointer to the Item structure #define WINIX_PL_TICKET_ADDED_NEW 4107 // a ticket has been changed // in p1 you have a pointer to the Ticket::Ticket structure (include "ticket.h") // in p2 you have a pointer to the Item structure #define WINIX_PL_TICKET_CHANGED 4108 added: two ezc functions for tickets: ticket_does_param_id_have_value() tickets_tab_does_param_id_have_value() (they take two integer arguments -- testing whether a specified param_id has the given value) changed: some more minor additions in tickets templates git-svn-id: svn://ttmath.org/publicrep/winix/trunk@932 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -148,6 +148,7 @@ void ShowTicketsFromDir(PluginInfo & info)
|
||||
|
||||
|
||||
|
||||
|
||||
// defined in templates.cpp
|
||||
void AddEzcFunctions(PluginInfo & info);
|
||||
|
||||
@@ -173,6 +174,7 @@ using namespace Ticket;
|
||||
plugin.Assign(WINIX_END_REQUEST, EndRequest);
|
||||
plugin.Assign(WINIX_PL_TICKET_LOAD_TICKETS, ShowTicketsFromDir);
|
||||
|
||||
|
||||
tdb.SetConn(info.db->GetConn());
|
||||
tdb.LogQueries(info.config->log_db_query);
|
||||
|
||||
|
Reference in New Issue
Block a user