Jack Jansen | c982ef2 | 2001-02-15 22:56:41 +0000 | [diff] [blame] | 1 | /* |
| 2 | * WETabs.h |
| 3 | * |
| 4 | * WASTE TABS PACKAGE |
| 5 | * Public C/C++ interface |
| 6 | * |
| 7 | * version 1.3.2 (August 1996) |
| 8 | * |
| 9 | * Copyright (c) 1993-1998 Marco Piovanelli |
| 10 | * All Rights Reserved |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | |
Jack Jansen | edeea04 | 2001-12-09 23:08:54 +0000 | [diff] [blame] | 15 | #ifndef WITHOUT_FRAMEWORKS |
| 16 | #include <Carbon/Carbon.h> |
| 17 | #endif |
Jack Jansen | c982ef2 | 2001-02-15 22:56:41 +0000 | [diff] [blame] | 18 | #ifndef _WASTE_ |
| 19 | #include "WASTE.h" |
| 20 | #endif |
| 21 | |
| 22 | enum { |
| 23 | kMinTabSize = 1, // must be greater than zero |
| 24 | kDefaultTabSize = 32, |
| 25 | kMaxTabSize = 1024 // arbitrary value |
| 26 | }; |
| 27 | |
| 28 | #ifdef __cplusplus |
| 29 | extern "C" { |
| 30 | #endif |
| 31 | |
| 32 | pascal OSErr WEInstallTabHooks(WEReference we); |
| 33 | pascal OSErr WERemoveTabHooks(WEReference we); |
| 34 | pascal Boolean WEIsTabHooks(WEReference we); |
| 35 | pascal SInt16 WEGetTabSize(WEReference we); |
| 36 | pascal OSErr WESetTabSize(SInt16 tabWidth, WEReference we); |
| 37 | |
| 38 | #ifdef __cplusplus |
| 39 | } |
| 40 | #endif |