1/* 2 * Copyright 2017 Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Brian Hill 7 */ 8#ifndef ADD_REPO_WINDOW_H 9#define ADD_REPO_WINDOW_H 10 11 12#include <Button.h> 13#include <TextControl.h> 14#include <View.h> 15#include <Window.h> 16 17 18class AddRepoWindow : public BWindow { 19public: 20 AddRepoWindow(BRect size, 21 const BMessenger& messenger); 22 virtual void MessageReceived(BMessage*); 23 virtual void Quit(); 24 virtual void FrameResized(float newWidth, float newHeight); 25 26private: 27 status_t _GetClipboardData(); 28 29 BTextControl* fText; 30 BButton* fAddButton; 31 BButton* fCancelButton; 32 BMessenger fReplyMessenger; 33}; 34 35 36#endif 37