mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-18 08:22:06 +03:00
22 lines
712 B
C
22 lines
712 B
C
|
#ifndef CLIPBOARDTYPES_H
|
||
|
#define CLIPBOARDTYPES_H
|
||
|
|
||
|
#include "BasicTypes.h"
|
||
|
|
||
|
// type to hold a clipboard identifier
|
||
|
typedef UInt8 ClipboardID;
|
||
|
|
||
|
// clipboard identifiers. kClipboardClipboard is what is normally
|
||
|
// considered the clipboard (e.g. the cut/copy/paste menu items
|
||
|
// affect it). kClipboardSelection is the selection on those
|
||
|
// platforms that can treat the selection as a clipboard (e.g. X
|
||
|
// windows). clipboard identifiers must be sequential starting
|
||
|
// at zero.
|
||
|
static const ClipboardID kClipboardClipboard = 0;
|
||
|
static const ClipboardID kClipboardSelection = 1;
|
||
|
|
||
|
// the number of clipboards (i.e. one greater than the last clipboard id)
|
||
|
static const ClipboardID kClipboardEnd = 2;
|
||
|
|
||
|
#endif
|