Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

ClipboardTypes.h

00001 /*
00002  * synergy -- mouse and keyboard sharing utility
00003  * Copyright (C) 2002 Chris Schoeneman
00004  * 
00005  * This package is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * found in the file COPYING that should have accompanied this file.
00008  * 
00009  * This package is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  */
00014 
00015 #ifndef CLIPBOARDTYPES_H
00016 #define CLIPBOARDTYPES_H
00017 
00018 #include "BasicTypes.h"
00019 
00021 
00024 typedef UInt8           ClipboardID;
00025 
00027 
00028 // clipboard identifiers.  kClipboardClipboard is what is normally
00029 // considered the clipboard (e.g. the cut/copy/paste menu items
00030 // affect it).  kClipboardSelection is the selection on those
00031 // platforms that can treat the selection as a clipboard (e.g. X
00032 // windows).  clipboard identifiers must be sequential starting
00033 // at zero.
00034 static const ClipboardID    kClipboardClipboard = 0;
00035 static const ClipboardID    kClipboardSelection = 1;
00036 
00037 // the number of clipboards (i.e. one greater than the last clipboard id)
00038 static const ClipboardID    kClipboardEnd       = 2;
00040 
00041 #endif

Generated on Fri Nov 6 00:21:14 2009 for synergy-plus by  doxygen 1.3.9.1