summaryrefslogtreecommitdiffstats
path: root/src/klamav.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-02-26 19:34:09 +0200
committerMavridis Philippe <[email protected]>2021-03-03 17:44:31 +0200
commit13cb4a5e7dc1c22d25c51da52156a558be0b7d05 (patch)
treee013fb1be4c88430b4be1ef21acb656c7f91eb5d /src/klamav.h
parent8300c80d583320087d844b9f0ad0025d4a60aa10 (diff)
downloadklamav-13cb4a5e7dc1c22d25c51da52156a558be0b7d05.tar.gz
klamav-13cb4a5e7dc1c22d25c51da52156a558be0b7d05.zip
Added On-Access Scanner.
There are still a few TODOs, but it seems to work quite well already. This relates to issue #10. Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/klamav.h')
-rw-r--r--src/klamav.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/klamav.h b/src/klamav.h
index f3d2960..210934b 100644
--- a/src/klamav.h
+++ b/src/klamav.h
@@ -37,6 +37,7 @@ class Activityviewer;
class Aboutklamav;
class KlamDB;
class KSystemTray;
+class KlamOnAcc;
/**
* This class serves as the main window for Klamav. It handles the
@@ -69,6 +70,8 @@ public:
KSystemTray *_tray;
TDEAction *EnableFreshklam;
TDEAction *DisableFreshklam;
+ TDEAction *EnableKlamOnAcc;
+ TDEAction *DisableKlamOnAcc;
Freshklam *freshklam;
bool firstDownload;
bool downloadDBForWizard;
@@ -78,6 +81,7 @@ public:
Activityviewer *activityviewer;
void showVirusBrowser();
TQTabWidget *tab;
+ KlamOnAcc *klamonacc;
protected:
@@ -104,7 +108,6 @@ protected:
//void readProperties(TDEConfig *);
public slots:
- void clamdStopped();
void slotConfigKlamav( const TQCString& page );
private slots:
void slotScanFile();
@@ -115,9 +118,12 @@ private slots:
void slotToggleQuarantine();
void slotToggleDBViewer();
void slotToggleEvents();
+ void slotKOAStateUpdate();
void contextEnableFK();
- void contextUpdateFK();
- void contextDisableFK();
+ void contextUpdateFK();
+ void contextDisableFK();
+ void contextEnableKOA();
+ void contextDisableKOA();
void tabClosed(TQString name);
private:
@@ -158,7 +164,7 @@ private:
TQStringList lastSearchPaths;
Sigtool *sigtool;
Aboutklamav *aboutklamav;
-
+
TDEPopupMenu *tabs_menu;
int showWelcomeTab;
int showQuarantineTab;