summaryrefslogtreecommitdiffstats
path: root/Mac/Wastemods/WETabs.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-02-15 22:56:41 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-02-15 22:56:41 (GMT)
commitc982ef2df6af4c89151ba4d8f624a479f7ff0775 (patch)
treea2dbb3b48a84a9cbc8d392e14a1d54e23a85881b /Mac/Wastemods/WETabs.h
parent0de65807e6bdc5254f5a7e99b2f39adeea6b883b (diff)
downloadcpython-c982ef2df6af4c89151ba4d8f624a479f7ff0775.zip
cpython-c982ef2df6af4c89151ba4d8f624a479f7ff0775.tar.gz
cpython-c982ef2df6af4c89151ba4d8f624a479f7ff0775.tar.bz2
Waste 1.3 extra's modified for waste 2.0 (and missing from MW's distribution of 2.0).
Diffstat (limited to 'Mac/Wastemods/WETabs.h')
-rw-r--r--Mac/Wastemods/WETabs.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/Mac/Wastemods/WETabs.h b/Mac/Wastemods/WETabs.h
new file mode 100644
index 0000000..4a91d7c
--- /dev/null
+++ b/Mac/Wastemods/WETabs.h
@@ -0,0 +1,37 @@
+/*
+ * WETabs.h
+ *
+ * WASTE TABS PACKAGE
+ * Public C/C++ interface
+ *
+ * version 1.3.2 (August 1996)
+ *
+ * Copyright (c) 1993-1998 Marco Piovanelli
+ * All Rights Reserved
+ *
+ */
+
+
+#ifndef _WASTE_
+#include "WASTE.h"
+#endif
+
+enum {
+ kMinTabSize = 1, // must be greater than zero
+ kDefaultTabSize = 32,
+ kMaxTabSize = 1024 // arbitrary value
+};
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+pascal OSErr WEInstallTabHooks(WEReference we);
+pascal OSErr WERemoveTabHooks(WEReference we);
+pascal Boolean WEIsTabHooks(WEReference we);
+pascal SInt16 WEGetTabSize(WEReference we);
+pascal OSErr WESetTabSize(SInt16 tabWidth, WEReference we);
+
+#ifdef __cplusplus
+}
+#endif