Tyler Dauwalder 68faee1082 + Switched to std::vector in favor of BList
+ Added a few minor tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:03:23 +00:00

35 lines
664 B
C++

//----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//---------------------------------------------------------------------
/*!
\file sniffer/Rule.h
Mime sniffer rule declarations
*/
#ifndef _sk_sniffer_rule_h_
#define _sk_sniffer_rule_h_
#include <vector>
namespace Sniffer {
class Expr;
typedef std::vector<Expr*> ExprList;
class Rule {
public:
Rule();
~Rule();
private:
friend class Parser;
void Unset();
void SetTo(double priority, ExprList* list);
double fPriority;
ExprList *fExprList;
};
}
#endif // _sk_sniffer_rule_h_