2 AHI - The AHI preferences program
3 Copyright (C) 1996-2005 Martin Blom <martin@blom.org>
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 #include <exec/types.h>
24 #include <exec/lists.h>
25 #include <devices/ahi.h>
27 #define min(a,b) (((a)<(b))?(a):(b))
28 #define max(a,b) (((a)>(b))?(a):(b))
30 extern struct AHIGlobalPrefs globalprefs
;
32 BOOL
Initialize(void);
35 struct List
* GetUnits(char * );
36 struct List
* GetModes(struct AHIUnitPrefs
* );
37 char ** List2Array(struct List
* );
38 char ** GetInputs(ULONG
);
39 char ** GetOutputs(ULONG
);
40 BOOL
SaveSettings(char * , struct List
* );
41 BOOL
WriteIcon(char * );
42 void FreeList(struct List
* );
43 struct Node
* GetNode(int , struct List
* );
45 BOOL
PlaySound(struct AHIUnitPrefs
*);
47 #endif /* _SUPPORT_H_ */