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