source: trunk/src/kernel32/conbuffervio.h@ 7029

Last change on this file since 7029 was 4502, checked in by sandervl, 25 years ago

basic support for VIO console command line apps added + FormatMessage addition

File size: 2.2 KB
Line 
1/* $Id: conbuffervio.h,v 1.1 2000-10-20 11:46:45 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
58};
59
60#endif /* _CONSOLE_BUFFERVIO_H_ */
61
Note: See TracBrowser for help on using the repository browser.