added winix functions: ln winix function 'default' can be used without redirecting now added new tickets types: TypeProgress, TypeString, TypeMultistring, TypeImages, TypeFiles now tickets are combined with files added winix functions: showtickets fixed mountpoints: when the default root mount was created its parameter table was empty and it caused accessing to a non-existing objects fixed logger: modifiers (log1, log2, log3) were incorrectly treated added modifier: log4 (debug info) now we are moving threads to a new plugin 'thread' created directory: plugins/thread (not finished yet) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@704 e52654a7-88a9-db11-a3e9-0013d4bc506e
31 lines
403 B
C++
Executable File
31 lines
403 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<long>::min();
|
|
integer_max = std::numeric_limits<long>::max();
|
|
max_files = 0;
|
|
upload_dir.clear();
|
|
select.clear();
|
|
select_default = 0;
|
|
}
|
|
|
|
void TicketConf::Clear()
|
|
{
|
|
tab.clear();
|
|
}
|
|
|
|
|
|
|