HaikuDepot: notify work status from main window
[haiku.git] / src / kits / device / DigitalPort.cpp
blob5c540eb7ecd50de0377a5dc25dd08111c380e004
1 /*
2 * Copyright 2002, Marcus Overhagen. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
6 #include <DigitalPort.h>
8 BDigitalPort::BDigitalPort()
13 BDigitalPort::~BDigitalPort()
18 status_t
19 BDigitalPort::Open(const char *portName)
21 return B_ERROR;
25 void
26 BDigitalPort::Close(void)
31 bool
32 BDigitalPort::IsOpen(void)
34 return false;
38 ssize_t
39 BDigitalPort::Read(uint8 *buf)
41 return 0;
45 ssize_t
46 BDigitalPort::Write(uint8 value)
48 return 0;
52 status_t
53 BDigitalPort::SetAsOutput(void)
55 return B_ERROR;
59 bool
60 BDigitalPort::IsOutput(void)
62 return false;
66 status_t
67 BDigitalPort::SetAsInput(void)
69 return B_ERROR;
73 bool
74 BDigitalPort::IsInput(void)
76 return false;
80 void
81 BDigitalPort::_ReservedDigitalPort1()
86 void
87 BDigitalPort::_ReservedDigitalPort2()
92 void
93 BDigitalPort::_ReservedDigitalPort3()