Files
winix/plugins/export/funexport.h
Tomasz Sowa c10c9393c0 changed: plugin 'export': export winix function
the checkbox is now selected when we want to export static files too 
         (default it is not checked)
         



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@922 e52654a7-88a9-db11-a3e9-0013d4bc506e
2013-04-17 00:37:39 +00:00

55 lines
760 B
C++
Executable File

/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2012-2013, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfile_winix_plugins_export_funexport
#define headerfile_winix_plugins_export_funexport
#include "functions/functionbase.h"
#include "db/db.h"
#include "exportinfo.h"
namespace Export
{
class FunExport : public FunctionBase
{
public:
FunExport();
void SetExportInfo(ExportInfo * pexport_info);
bool HasAccess();
void MakePost();
void MakeGet();
void ExportFile(const Item & item);
void ExportDir(const Item & dir, bool static_files_too = false);
private:
ExportInfo * export_info;
DbItemQuery iq_dir;
std::vector<Item> dir_items;
void Export();
};
} // namespace
#endif