we can create links (hard links, symbolic links) now
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
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#define headerfile_winix_plugins_ticket_ticket
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
namespace Ticket
|
||||
@@ -21,16 +21,25 @@ struct Ticket
|
||||
{
|
||||
struct TicketParam
|
||||
{
|
||||
int param;
|
||||
int value;
|
||||
long file_id;
|
||||
int param;
|
||||
long int_value; // changed to long (from int)
|
||||
std::wstring str_value;
|
||||
|
||||
void Clear()
|
||||
{
|
||||
// !! what about file_id?
|
||||
param = 0;
|
||||
int_value = 0;
|
||||
str_value.clear();
|
||||
}
|
||||
|
||||
TicketParam()
|
||||
{
|
||||
param = value = 0;
|
||||
Clear();
|
||||
}
|
||||
};
|
||||
|
||||
long dir_id;
|
||||
std::vector<TicketParam> par_tab;
|
||||
|
||||
// auxiliary object used during sorting
|
||||
@@ -38,7 +47,7 @@ struct Ticket
|
||||
|
||||
void Clear()
|
||||
{
|
||||
dir_id = -1;
|
||||
file_id = -1;
|
||||
par_tab.clear();
|
||||
sort_id = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user