store the pre-alphacomposit hook and allow it to be queried.
[AROS.git] / workbench / devs / printtotool / printtotool_intern.h
blob8b64846e04d232b123dcc8ee9ec9d83f78345107
1 /*
2 * Copyright (C) 2012, The AROS Development Team. All rights reserved.
3 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
5 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
6 */
8 #ifndef PRINTTOTOOL_INTERN_H
9 #define PRINTTOTOOL_INTERN_H
11 #include <exec/devices.h>
12 #include <libraries/asl.h>
14 #define PRINTTOTOOL_UNITS 10 /* Same as the max # of printers */
16 struct PrintToToolBase {
17 struct Device pt_Device;
19 struct PrintToToolUnit {
20 struct SignalSemaphore pu_Lock;
21 struct FileRequester *pu_FileReq;
22 BPTR pu_File;
23 } pt_Unit[PRINTTOTOOL_UNITS];
25 struct Library *pt_AslBase;
26 struct Library *pt_DOSBase;
29 #define AslBase PrintToToolBase->pt_AslBase
30 #define DOSBase PrintToToolBase->pt_DOSBase
32 #endif /* PRINTTOTOOL_INTERN_H */