source: branches/gcc-kmk/src/kernel32/conbuffervio.h@ 21787

Last change on this file since 21787 was 21704, checked in by dmik, 14 years ago

Don't use class name suffix in declaration.

This is superfluous and fatal for GCC.

File size: 2.9 KB
Line 
1/* $Id: conbuffervio.h,v 1.3 2003-04-11 12:08:36 sandervl Exp $ */
2
3/*
4 * Project Odin Software License can be found in LICENSE.TXT
5 * Win32 Console Subsystem for OS/2
6 * 1998/02/11 PH Patrick Haller (haller@zebra.fh-weingarten.de)
7 */
8
9#ifndef _CONSOLE_BUFFERVIO_H_
10#define _CONSOLE_BUFFERVIO_H_
11
12
13/*****************************************************************************
14 * Remark *
15 *****************************************************************************
16
17 */
18
19
20/*****************************************************************************
21 * Resources *
22 *****************************************************************************/
23
24
25/*****************************************************************************
26 * Includes *
27 *****************************************************************************/
28
29//#include <win32type.h>
30#include "handlemanager.h"
31#include "HMDevice.h"
32#include "console2.h"
33#include "conbuffer.h"
34
35
36/*****************************************************************************
37 * ConsoleBuffer - does all the writing to an internal line buffer array *
38 * if this buffer is the active one, also does a screen updt *
39 *****************************************************************************/
40
41class HMDeviceConsoleVioBufferClass : public HMDeviceConsoleBufferClass
42{
43 public:
44 HMDeviceConsoleVioBufferClass(LPCSTR lpDeviceName,
45 PICONSOLEINPUT piConsoleInput,
46 PICONSOLEGLOBALS piConsoleGlobals)
47 : HMDeviceConsoleBufferClass(lpDeviceName, piConsoleInput, piConsoleGlobals)
48 {
49 };
50
51 /* this is a handler method for calls to WriteFile() */
52 virtual BOOL WriteFile (PHMHANDLEDATA pHMHandleData,
53 LPCVOID lpBuffer,
54 DWORD nNumberOfBytesToWrite,
55 LPDWORD lpNumberOfBytesWritten,
56 LPOVERLAPPED lpOverlapped,
57 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
58
59 virtual DWORD FillConsoleOutputAttribute(PHMHANDLEDATA pHMHandleData,
60 WORD wAttribute,
61 DWORD nLength,
62 COORD dwWriteCoord,
63 LPDWORD lpNumberOfAttrsWritten);
64
65 DWORD FillConsoleOutputCharacterA(PHMHANDLEDATA pHMHandleData,
66 UCHAR ucCharacter,
67 DWORD nLength,
68 COORD dwWriteCoord,
69 LPDWORD lpNumberOfCharsWritten);
70
71};
72
73#endif /* _CONSOLE_BUFFERVIO_H_ */
74
Note: See TracBrowser for help on using the repository browser.