added: 'export' winix function (export plugin)

exporting an item or the whole directory



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@867 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-08-03 09:25:17 +00:00
parent 1c2589a2f2
commit d8d523d983
7 changed files with 227 additions and 5 deletions

View File

@@ -137,7 +137,7 @@ bool ExportInfo::HasRecurrenceId(long id)
}
void ExportInfo::SendFile(const Item & item, bool thumb)
void ExportInfo::SendFile(const Item & item, bool thumb, bool put_to_recurrence_tab)
{
ExportDir * exp_dir = FindDir(item.parent_id);
@@ -150,7 +150,8 @@ void ExportInfo::SendFile(const Item & item, bool thumb)
return;
}
recurrence_check.push_back(item.id);
if( put_to_recurrence_tab )
recurrence_check.push_back(item.id);
msg.Clear();
system->dirs.MakePath(item.parent_id, msg.path);