mirror of
https://review.haiku-os.org/haiku
synced 2025-02-21 21:19:09 +01:00
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@603 a95241bf-73f2-0310-859d-f6bbb57e9c96
25 lines
607 B
C++
25 lines
607 B
C++
//----------------------------------------------------------------------
|
|
// This software is part of the OpenBeOS distribution and is covered
|
|
// by the OpenBeOS license.
|
|
//---------------------------------------------------------------------
|
|
/*!
|
|
\file sniffer/Expr.h
|
|
Mime Sniffer Expression declarations
|
|
*/
|
|
#ifndef _sk_sniffer_expr_h_
|
|
#define _sk_sniffer_expr_h_
|
|
|
|
class BPositionIO;
|
|
|
|
namespace Sniffer {
|
|
|
|
//! Abstract class definining an interface for sniffing BFile objects
|
|
class Expr {
|
|
public:
|
|
virtual ~Expr() {}
|
|
virtual bool Sniff(BPositionIO *data) const = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // _sk_sniffer_expr_h_
|