58b5124e46
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
28 lines
436 B
C++
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
|
|
|