diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/shared/util.h | 15 |
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:
|
