haiku/src/servers/registrar/ClipboardHandler.h
Ingo Weinhold 58b5124e46 Replace ClipboardTree by Clipboard, a class just representing a clipboard.
The clipboards are managed in a simple string->Clipboard map.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 00:45:55 +00:00

28 lines
436 B
C++

// ClipboardHandler.h
#ifndef CLIPBOARD_HANDLER_H
#define CLIPBOARD_HANDLER_H
#include <Handler.h>
#include <Message.h>
class Clipboard;
class ClipboardHandler : public BHandler {
public:
ClipboardHandler();
virtual ~ClipboardHandler();
virtual void MessageReceived(BMessage *message);
private:
Clipboard *_GetClipboard(const char *name);
struct ClipboardMap;
ClipboardMap *fClipboards;
};
#endif // CLIPBOARD_HANDLER_H