1/* 2 * Copyright 2016 Dario Casalinuovo. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 */ 6#ifndef __NETWORK_STREAM_WIN_H 7#define __NETWORK_STREAM_WIN_H 8 9 10#include <Messenger.h> 11#include <TextControl.h> 12#include <Window.h> 13 14 15class NetworkStreamWin : public BWindow 16{ 17public: 18 NetworkStreamWin(BMessenger target); 19 virtual ~NetworkStreamWin(); 20 21 virtual void MessageReceived(BMessage* message); 22 23 virtual void WindowActivated(bool active); 24private: 25 void _LookIntoClipboardForUrl(); 26 27 BMessenger fTarget; 28 BTextControl* fTextControl; 29}; 30 31#endif 32