1 // ClipboardHandler.h 2 3 #ifndef CLIPBOARD_HANDLER_H 4 #define CLIPBOARD_HANDLER_H 5 6 #include <Handler.h> 7 #include <Message.h> 8 9 class Clipboard; 10 11 class ClipboardHandler : public BHandler { 12 public: 13 ClipboardHandler(); 14 virtual ~ClipboardHandler(); 15 16 virtual void MessageReceived(BMessage *message); 17 18 private: 19 Clipboard *_GetClipboard(const char *name); 20 21 struct ClipboardMap; 22 23 ClipboardMap *fClipboards; 24 }; 25 26 #endif // CLIPBOARD_HANDLER_H 27 28