winix/plugins/ticket/ticketconf.cpp

29 lines
364 B
C++
Executable File

#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();
}