RemoteDrawingEngine: Reduce RP_READ_BITMAP result timeout.
[haiku.git] / src / preferences / repositories / AddRepoWindow.h
blob6c128f32c6615f43ae2f15b9ff9b0ecb05a01639
1 /*
2 * Copyright 2017 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Brian Hill
7 */
8 #ifndef ADD_REPO_WINDOW_H
9 #define ADD_REPO_WINDOW_H
12 #include <Button.h>
13 #include <TextControl.h>
14 #include <View.h>
15 #include <Window.h>
18 class AddRepoWindow : public BWindow {
19 public:
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);
26 private:
27 status_t _GetClipboardData();
29 BTextControl* fText;
30 BButton* fAddButton;
31 BButton* fCancelButton;
32 BMessenger fReplyMessenger;
36 #endif