1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
4 //---------------------------------------------------------------------
6 \file sniffer/DisjList.h
7 Mime Sniffer Disjunction List declarations
9 #ifndef _SNIFFER_DISJ_LIST_H
10 #define _SNIFFER_DISJ_LIST_H
12 #include <sys/types.h>
20 //! Abstract class defining methods acting on a list of ORed patterns
26 virtual bool Sniff(BPositionIO
*data
) const = 0;
27 virtual ssize_t
BytesNeeded() const = 0;
29 void SetCaseInsensitive(bool how
);
30 bool IsCaseInsensitive();
32 bool fCaseInsensitive
;
35 }; // namespace Sniffer
36 }; // namespace Storage
37 }; // namespace BPrivate
39 #endif // _SNIFFER_DISJ_LIST_H