added ticket parser: plugins/ticket/ticketparser.h plugins/ticket/ticketparser.cpp

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@663 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-10-11 20:42:49 +00:00
parent 07511a2eb0
commit 33057acd62
23 changed files with 777 additions and 86 deletions

28
plugins/ticket/ticketconf.cpp Executable file
View File

@@ -0,0 +1,28 @@
#include <limits>
#include "ticketconf.h"
TicketConf::TicketItem::TicketItem()
{
Clear();
}
void TicketConf::TicketItem::Clear()
{
id = 0;
name.clear();
type = TypeInteger;
integer_min = std::numeric_limits<int>::min();
integer_max = std::numeric_limits<int>::max();
select.clear();
select_default = 0;
}
void TicketConf::Clear()
{
tab.clear();
}