summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-07-01 14:51:08 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-01 14:51:08 -0400
commitffebd4c1016265eeebab67d7f22d8f5bfd67703e (patch)
tree661d56de0b98e0fcf862d90bae60d7224f369e02 /src
parent7c1ce768ef38dc194583bd3c522596bd124890f2 (diff)
a few more comments
Diffstat (limited to 'src')
-rw-r--r--src/shared/util.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index e0da8a99..4df1d13c 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -241,6 +241,8 @@ private:
};
+// represents a security product, such as an antivirus or a firewall
+//
class SecurityProduct
{
public:
@@ -248,11 +250,24 @@ public:
QString name, int provider,
bool active, bool upToDate);
+ // display name of the product
+ //
const QString& name() const;
+
+ // a bunch of _WSC_SECURITY_PROVIDER flags
+ //
int provider() const;
+
+ // whether the product is active
+ //
bool active() const;
+
+ // whether its definitions are up-to-date
+ //
bool upToDate() const;
+ // string representation of the above
+ //
QString toString() const;
private: