| 1 | /* $Id: conprop.h,v 1.1 1999-09-15 23:32:50 sandervl Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * Win32 Console Subsystem for OS/2 | 
|---|
| 5 | * | 
|---|
| 6 | * 1998/03/06 PH Patrick Haller (haller@zebra.fh-weingarten.de) | 
|---|
| 7 | * | 
|---|
| 8 | * @(#) ConProp.Cpp 1.0.0 1998/03/06 PH start | 
|---|
| 9 | */ | 
|---|
| 10 |  | 
|---|
| 11 | #ifndef _CONSOLEPROPERTY_H_ | 
|---|
| 12 | #define _CONSOLEPROPERTY_H_ | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 | /***************************************************************************** | 
|---|
| 16 | * Remark                                                                    * | 
|---|
| 17 | ***************************************************************************** | 
|---|
| 18 | */ | 
|---|
| 19 |  | 
|---|
| 20 | /***************************************************************************** | 
|---|
| 21 | * Includes                                                                  * | 
|---|
| 22 | *****************************************************************************/ | 
|---|
| 23 |  | 
|---|
| 24 | #include "handlemanager.h" | 
|---|
| 25 | #include "console2.h" | 
|---|
| 26 | #include "consolerc.h" | 
|---|
| 27 |  | 
|---|
| 28 |  | 
|---|
| 29 | /***************************************************************************** | 
|---|
| 30 | * Defines & Macros                                                          * | 
|---|
| 31 | *****************************************************************************/ | 
|---|
| 32 |  | 
|---|
| 33 | /* this is sent after properties have been read properly from disk */ | 
|---|
| 34 | #define UM_PROPERTY_APPLY   WM_USER + 0x10 | 
|---|
| 35 | #define UM_PROPERTY_UNDO    WM_USER + 0x11 | 
|---|
| 36 |  | 
|---|
| 37 |  | 
|---|
| 38 | /***************************************************************************** | 
|---|
| 39 | * Structures                                                                * | 
|---|
| 40 | *****************************************************************************/ | 
|---|
| 41 |  | 
|---|
| 42 |  | 
|---|
| 43 | /***************************************************************************** | 
|---|
| 44 | * Prototypes                                                                * | 
|---|
| 45 | *****************************************************************************/ | 
|---|
| 46 |  | 
|---|
| 47 | #ifdef __cplusplus | 
|---|
| 48 | extern "C" { | 
|---|
| 49 | #endif | 
|---|
| 50 |  | 
|---|
| 51 |  | 
|---|
| 52 | MRESULT EXPENTRY ConsolePropertyDlgProc(HWND   hwnd, | 
|---|
| 53 | ULONG  ulMessage, | 
|---|
| 54 | MPARAM mp1, | 
|---|
| 55 | MPARAM mp2); | 
|---|
| 56 |  | 
|---|
| 57 |  | 
|---|
| 58 | /* read console properties */ | 
|---|
| 59 | APIRET EXPENTRY ConsolePropertyLoad(PICONSOLEOPTIONS pConsoleOptions); | 
|---|
| 60 |  | 
|---|
| 61 | /* write console properties */ | 
|---|
| 62 | APIRET EXPENTRY ConsolePropertySave(PICONSOLEOPTIONS pConsoleOptions); | 
|---|
| 63 |  | 
|---|
| 64 | /* apply console properties */ | 
|---|
| 65 | APIRET EXPENTRY ConsolePropertyApply(PICONSOLEOPTIONS pConsoleOptions); | 
|---|
| 66 |  | 
|---|
| 67 | #ifdef __cplusplus | 
|---|
| 68 | } | 
|---|
| 69 | #endif | 
|---|
| 70 |  | 
|---|
| 71 |  | 
|---|
| 72 | #endif /* _CONSOLEPROPERTY_H_ */ | 
|---|