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:
@@ -17,6 +17,7 @@
|
||||
#include "sessiondata.h"
|
||||
#include "plugins/thread/showthreads.h"
|
||||
#include "plugins/thread/pluginmsg.h"
|
||||
#include "pluginmsg.h"
|
||||
|
||||
|
||||
|
||||
@@ -139,6 +140,14 @@ void EndRequest(PluginInfo & info)
|
||||
}
|
||||
|
||||
|
||||
void ShowTicketsFromDir(PluginInfo & info)
|
||||
{
|
||||
fun_show_tickets.ShowTicketsFromDir(info.l1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// defined in templates.cpp
|
||||
void AddEzcFunctions(PluginInfo & info);
|
||||
|
||||
@@ -162,6 +171,7 @@ using namespace Ticket;
|
||||
plugin.Assign(WINIX_SESSION_CREATED, CreateSession);
|
||||
plugin.Assign(WINIX_PLUGIN_SESSION_DATA_REMOVE, RemoveSession);
|
||||
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