Restore the "GPL licensing not permitted" in GLUT license headers.
[haiku.git] / headers / os / device / A2D.h
blobbf7f3050b0889b5c47179f3ce450b95e8418f0cd
1 /*
2 * Copyright 2009, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _A2D_H
6 #define _A2D_H
8 #include <BeBuild.h>
9 #include <SupportDefs.h>
11 #include <stddef.h>
13 class BA2D {
14 public:
15 BA2D();
16 virtual ~BA2D();
18 status_t Open(const char* portName);
19 void Close();
20 bool IsOpen();
22 ssize_t Read(ushort* buf);
24 private:
25 virtual void _ReservedA2D1();
26 virtual void _ReservedA2D2();
27 virtual void _ReservedA2D3();
29 int fFd;
30 uint32 _fReserved[3];
33 #endif // _A2D_H