diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-02-05 22:31:58 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-02-05 22:34:25 +0200 |
commit | 18923e403764c902e11aa2c8cd49c6f7335a9923 (patch) | |
tree | 708bc47445e10d6a95beda5c4178e9e17c272dc4 /src/scanviewer.h | |
parent | 3f7deb35938a8993ee835e05de9bc2cddfe05744 (diff) | |
download | klamav-18923e403764c902e11aa2c8cd49c6f7335a9923.tar.gz klamav-18923e403764c902e11aa2c8cd49c6f7335a9923.zip |
Added support for clamd scanning.
This option has to be enabled in the new 'Backend' section of the
Options dialog.
Most configuration options are unavailable for use with 'clamdscan'.
For more information on the inherited limitations see the man page
for clamdscan(1).
This resolves issue #17.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/scanviewer.h')
-rw-r--r-- | src/scanviewer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scanviewer.h b/src/scanviewer.h index fa85e6b..3114960 100644 --- a/src/scanviewer.h +++ b/src/scanviewer.h @@ -59,7 +59,7 @@ public: /** * Use this method to load whatever file/URL you have */ - + //void setDirName(TQString); void slotScan(const TQStringList & filepattern, int mode, bool recursive, bool dcopscan); void slotCancel(); @@ -128,6 +128,7 @@ private: void Quarantine(); void askUser(); int countFiles( TQDir & root); + TQString scanner; //void ScanViewer::startProgress(); TQLineEdit *template_edit; TQComboBox *files_combo, *pattern_combo, *check_combo; @@ -173,6 +174,7 @@ private: bool calculateTime; bool showProgress; TQFrame *status_frame; + bool clamdscan; }; #endif // _SCANVIEWER_H_ |