Initial import of Scalos. To decrease size I have
[AROS-Contrib.git] / scalos / Modules / Find.MUI / Find.h
blobc157fbd7bbb2fb3f306e3c7fb7756b29ab4445c3
1 // Find.h
2 // $Date$
3 // $Revision$
5 #ifndef FIND_MODULE_H
6 #define FIND_MODULE_H
8 //----------------------------------------------------------------------------
10 #define VERSION_MAJOR 40
11 #define VERSION_MINOR 3
13 #define VERS_MAJOR STR(VERSION_MAJOR)
14 #define VERS_MINOR STR(VERSION_MINOR)
16 //----------------------------------------------------------------------------
18 #define OBJID_NLIST_NAME 4913001
19 #define OBJID_NLIST_TEXT 4913002
21 struct FileTypesEntry
23 STRPTR fte_AllocatedName; // allocated space for tn_Name
24 struct TypeNode fte_TypeNode;
26 struct List fte_MagicList; // List of FileTypesActionListEntry
29 struct FileTypesPrefsInst
31 BPTR fpb_DefIconsSegList;
32 struct TypeNode *fpb_RootType;
33 BOOL fpb_DefIconsInit;
36 //----------------------------------------------------------------------------
38 extern Object *ListtreeFileTypes;
40 //----------------------------------------------------------------------------
42 // Functions in DefIcons.c
43 LONG InitDefIcons(void);
44 void CleanupDefIcons(void);
45 struct TypeNode *DefIconsIdentify(BPTR dirLock, CONST_STRPTR Name);
47 //----------------------------------------------------------------------------
49 #if defined(__SASC)
50 int snprintf(char *, size_t, const char *, /*args*/ ...);
51 int vsnprintf(char *, size_t, const char *, va_list ap);
52 #endif /* __SASC */
54 //----------------------------------------------------------------------------
56 struct Find_LocaleInfo
58 APTR li_LocaleBase;
59 APTR li_Catalog;
60 struct LocaleIFace *li_ILocale;
63 //----------------------------------------------------------------------------
65 #endif /* FIND_MODULE_H */