diff options
Diffstat (limited to 'plugins/CopyEngine/Ultracopier-0.3/StructEnumDefinition_CopyEngine.h')
-rw-r--r-- | plugins/CopyEngine/Ultracopier-0.3/StructEnumDefinition_CopyEngine.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/plugins/CopyEngine/Ultracopier-0.3/StructEnumDefinition_CopyEngine.h b/plugins/CopyEngine/Ultracopier-0.3/StructEnumDefinition_CopyEngine.h index 88971aa..90af91b 100644 --- a/plugins/CopyEngine/Ultracopier-0.3/StructEnumDefinition_CopyEngine.h +++ b/plugins/CopyEngine/Ultracopier-0.3/StructEnumDefinition_CopyEngine.h @@ -4,6 +4,9 @@ \version 0.3 \date 2010 */ +#include <QString> +#include <QRegExp> + #ifndef STRUCTDEF_COPYENGINE_H #define STRUCTDEF_COPYENGINE_H @@ -29,6 +32,18 @@ enum FileErrorAction FileError_PutToEndOfTheList }; +/// \brief to have the transfer status +enum TransferStat +{ + TransferStat_Idle=0, + TransferStat_PreOperation=1, + TransferStat_WaitForTheTransfer=2, + TransferStat_Transfer=3, + TransferStat_Checksum=4, + TransferStat_PostTransfer=5, + TransferStat_PostOperation=6 +}; + /// \brief Define overwrite mode /*enum OverwriteMode { @@ -48,4 +63,28 @@ enum FolderExistsAction FolderExists_Rename }; +enum SearchType +{ + SearchType_rawText, + SearchType_simpleRegex, + SearchType_perlRegex, +}; + +enum ApplyOn +{ + ApplyOn_file, + ApplyOn_fileAndFolder, + ApplyOn_folder, +}; + +/** to store into different way the filter rules to be exported */ +struct Filters_rules +{ + QString search_text; + SearchType search_type; + ApplyOn apply_on; + bool need_match_all; + QRegExp regex; +}; + #endif // STRUCTDEF_COPYENGINE_H |