Restore the "GPL licensing not permitted" in GLUT license headers.
[haiku.git] / headers / os / device / D2A.h
blob03c4d25118d501b8de3baf6d6495ec728bb28625
1 /*
2 * Copyright 2009, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _D2A_H
6 #define _D2A_H
8 #include <BeBuild.h>
9 #include <SupportDefs.h>
11 #include <stddef.h>
13 class BD2A {
14 public:
15 BD2A();
16 virtual ~BD2A();
18 status_t Open(const char* portName);
19 void Close();
20 bool IsOpen();
22 ssize_t Read(uint8* buf);
23 ssize_t Write(uint8 value);
25 private:
26 virtual void _ReservedD2A1();
27 virtual void _ReservedD2A2();
28 virtual void _ReservedD2A3();
30 int fFd;
31 uint32 _fReserved[3];
34 #endif //_D2A_H