added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / classes / zune / betterstring / mcc / BetterString_mcc.h
blobf0f7d72bb9a8162ca821ca6f102eb4197892103e
1 /***************************************************************************
3 BetterString.mcc - A better String gadget MUI Custom Class
4 Copyright (C) 1997-2000 Allan Odgaard
5 Copyright (C) 2005 by BetterString.mcc Open Source Team
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
17 BetterString class Support Site: http://www.sf.net/projects/bstring-mcc/
19 $Id$
21 ***************************************************************************/
23 #ifndef BETTERSTRING_MCC_H
24 #define BETTERSTRING_MCC_H
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
30 #ifdef __GNUC__
31 #ifdef __PPC__
32 #pragma pack(2)
33 #endif
34 #elif defined(__VBCC__)
35 #pragma amiga-align
36 #endif
38 #ifndef EXEC_TYPES_H
39 #include <exec/types.h>
40 #endif
42 #define MUIC_BetterString "BetterString.mcc"
43 #define BetterStringObject MUI_NewObject(MUIC_BetterString
45 #define MUIA_BetterString_Columns 0xad001005
46 #define MUIA_BetterString_NoInput 0xad001007
47 #define MUIA_BetterString_SelectSize 0xad001001
48 #define MUIA_BetterString_StayActive 0xad001003
49 #define MUIA_BetterString_KeyUpFocus 0xad001008
50 #define MUIA_BetterString_KeyDownFocus 0xad001009
52 #define MUIM_BetterString_ClearSelected 0xad001004
53 #define MUIM_BetterString_FileNameStart 0xad001006
54 #define MUIM_BetterString_Insert 0xad001002
56 #define MUIV_BetterString_Insert_StartOfString 0x00000000
57 #define MUIV_BetterString_Insert_EndOfString 0xfffffffe
58 #define MUIV_BetterString_Insert_BufferPos 0xffffffff
60 #define MUIV_BetterString_BufferPos_End 0xffffffff
62 #define MUIR_BetterString_FileNameStart_Volume -1
64 struct MUIP_BetterString_ClearSelected {STACKED ULONG MethodID; };
65 struct MUIP_BetterString_FileNameStart {STACKED ULONG MethodID; STACKED STRPTR buffer; STACKED LONG pos; };
66 struct MUIP_BetterString_Insert {STACKED ULONG MethodID; STACKED STRPTR text; STACKED LONG pos; };
68 #ifdef __GNUC__
69 #ifdef __PPC__
70 #pragma pack()
71 #endif
72 #elif defined(__VBCC__)
73 #pragma default-align
74 #endif
76 #ifdef __cplusplus
78 #endif
80 #endif /* BETTERSTRING_MCC_H */