1 /* 2 * Copyright 2008-2010, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Copyright 2004-2009, Axel Dörfler, axeld@pinc-software.de. 4 * Distributed under the terms of the MIT License. 5 */ 6 7 8 #include "IOCallback.h" 9 10 11 IOCallback::~IOCallback() 12 { 13 } 14 15 16 status_t 17 IOCallback::DoIO(IOOperation* operation) 18 { 19 return B_ERROR; 20 } 21 22 23 /*static*/ status_t 24 IOCallback::WrapperFunction(void* data, io_operation* operation) 25 { 26 return ((IOCallback*)data)->DoIO(operation); 27 } 28