vfs: check userland buffers before reading them.
[haiku.git] / src / kits / media / WriterPlugin.cpp
blobbf4777ecefb3165c4140120f612dd4db40d65638
1 /*
2 * Copyright 2009, Stephan Aßmus <superstippi@gmx.de>. All rights reserved.
3 * Copyright 2004, Marcus Overhagen. All rights reserved.
4 * Distributed under the terms of the MIT License.
5 */
7 #include "WriterPlugin.h"
9 #include <stdio.h>
12 Writer::Writer()
14 fTarget(NULL),
15 fMediaPlugin(NULL)
20 Writer::~Writer()
25 BDataIO*
26 Writer::Target() const
28 return fTarget;
32 void
33 Writer::Setup(BDataIO* target)
35 fTarget = target;
39 status_t
40 Writer::Perform(perform_code code, void* data)
42 return B_OK;
45 void Writer::_ReservedWriter1() {}
46 void Writer::_ReservedWriter2() {}
47 void Writer::_ReservedWriter3() {}
48 void Writer::_ReservedWriter4() {}
49 void Writer::_ReservedWriter5() {}