vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / shortcuts / EditWindow.h
blob99e88f3c663f66e0ab6aaa47fa877b6fca83b961
1 /*
2 * Copyright 2015 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Josef Gajdusek
7 */
9 #ifndef EDITWINDOW_H
10 #define EDITWINDOW_H
12 #include <Window.h>
14 class BTextControl;
16 class EditWindow : public BWindow {
17 public:
18 EditWindow(const char* placeholder, uint32 flags);
20 void MessageReceived(BMessage* message);
21 BString Go();
23 private:
24 sem_id fSem;
25 BTextControl* fTextControl;
28 #endif // EDITWINDOW_H