Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / include / devices / clipboard.h
blob62cca2fca22a188b3b735cb4c478618a7df4cd8d
1 #ifndef DEVICES_CLIPBOARD_H
2 #define DEVICES_CLIPBOARD_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Clipboard definitions
9 Lang: english
12 #ifndef EXEC_LISTS_H
13 # include <exec/lists.h>
14 #endif
15 #ifndef EXEC_NODES_H
16 # include <exec/nodes.h>
17 #endif
18 #ifndef EXEC_PORTS_H
19 # include <exec/ports.h>
20 #endif
21 #ifndef EXEC_TYPES_H
22 # include <exec/types.h>
23 #endif
25 struct ClipboardUnitPartial
27 struct Node cu_Node;
28 ULONG cu_UnitNum;
31 #define PRIMARY_CLIP 0
33 #define CBD_POST (CMD_NONSTD + 0)
34 #define CBD_CURRENTREADID (CMD_NONSTD + 1)
35 #define CBD_CURRENTWRITEID (CMD_NONSTD + 2)
36 #define CBD_CHANGEHOOK (CMD_NONSTD + 3)
38 #define CBR_OBSOLETEID 1
40 struct IOClipReq
42 struct Message io_Message;
43 struct Device * io_Device;
44 struct ClipboardUnitPartial * io_Unit;
46 UWORD io_Command;
47 UBYTE io_Flags;
48 BYTE io_Error;
49 ULONG io_Actual;
50 ULONG io_Length;
51 STRPTR io_Data;
52 ULONG io_Offset;
53 LONG io_ClipID;
56 struct SatisfyMsg
58 struct Message sm_Msg;
59 UWORD sm_Unit;
60 LONG sm_ClipID;
63 struct ClipHookMsg
65 ULONG chm_Type;
66 LONG chm_ChangeCmd;
67 LONG chm_ClipID;
70 #endif /* DEVICES_CLIPBOARD_H */