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:
28
plugins/ticket/ticketconf.cpp
Executable file
28
plugins/ticket/ticketconf.cpp
Executable 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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user