xref: /haiku/src/kits/storage/mime/MimeSnifferAddon.cpp (revision 2f470aec1c92ce6917b8a903e343795dc77af41f)
1 /*
2  * Copyright 2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 
6 #include <MimeSnifferAddon.h>
7 
8 // constructor
9 BMimeSnifferAddon::BMimeSnifferAddon()
10 {
11 }
12 
13 // destructor
14 BMimeSnifferAddon::~BMimeSnifferAddon()
15 {
16 }
17 
18 // MinimalBufferSize
19 size_t
20 BMimeSnifferAddon::MinimalBufferSize()
21 {
22 	return 0;
23 }
24 
25 // GuessMimeType
26 float
27 BMimeSnifferAddon::GuessMimeType(const char* fileName, BMimeType* type)
28 {
29 	return -1;
30 }
31 
32 // GuessMimeType
33 float
34 BMimeSnifferAddon::GuessMimeType(BFile* file, const void* buffer, int32 length,
35 	BMimeType* type)
36 {
37 	return -1;
38 }
39