/*
 * This file is part of DesktopBSD, see the README file.
 *
 * Author: Peter Hofer <ph@desktopbsd.net>
 *         (C) 2004, 2005
 *
 * Copyright: BSD, see the COPYING file included in this distribution
 *
 */

#ifndef __PORTAUDITENGINE_H
#define __PORTAUDITENGINE_H

class UnixProcess;

/**
  * @brief This class provides portaudit access.
  *
  * This class creates a QProcess that utilizes
  * portaudit and set it's options.
  *
  * A portaudit installation is required on the user's system.
  * Comments like [-v] indicate the corresponding portaudit(1)
  * argument.
  */
class PortAuditEngine {
public:
	enum AuditFlags {
		Verbose = 0x02,			/**< [-v] */
		FetchDatabase = 0x04,	/**< [-F] */
		CheckAll = 0x08,			/**< [-a] */
	};

	static UnixProcess * getProcess(int);
};

#endif /* __PORTAUDITENGINE_H */
