1 #ifndef CLIPBOARD_INTERN_H
2 #define CLIPBOARD_INTERN_H
5 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
10 #include <exec/devices.h>
11 #include <exec/semaphores.h>
12 #include <dos/dosextens.h>
13 #include <devices/clipboard.h>
20 struct Device cb_device
;
21 struct Library
*cb_DosBase
;
22 struct Library
*cb_UtilityBase
;
24 struct SignalSemaphore cb_SignalSemaphore
;
25 struct MinList cb_UnitList
;
27 struct MinList cb_HookList
; /* List of hooks called when data
28 on the clipboard has changed */
30 STRPTR cb_ClipDir
; /* CLIPS: or Devs:Clipboards/ */
34 #define CBUN_FILENAMELEN 28
38 struct MinNode pr_Link
;
39 struct Task
*pr_Waiter
;
44 struct ClipboardUnitPartial cu_Head
; /* MUST be first! */
51 UBYTE cu_clipFilename
[CBUN_FILENAMELEN
]; /* CLIPS:un or Devs:Clipboards/un
52 where un is the unit number. */
55 struct SatisfyMsg cu_Satisfy
;
56 struct MsgPort
*cu_PostPort
; /* Port to post message to when a
57 POST needs to be satisfied */
58 struct MinList cu_PostRequesters
;
59 struct SignalSemaphore cu_UnitLock
;
66 #define DOSBase CBBase->cb_DosBase
71 #define UtilityBase CBBase->cb_UtilityBase
73 #endif /* CLIPBOARD_INTERN_H */