1/* 2 * Copyright 2015 Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Josef Gajdusek 7 */ 8 9#ifndef EDITWINDOW_H 10#define EDITWINDOW_H 11 12#include <Window.h> 13 14class BTextControl; 15 16class EditWindow : public BWindow { 17public: 18 EditWindow(const char* placeholder, uint32 flags); 19 20 void MessageReceived(BMessage* message); 21 BString Go(); 22 23private: 24 sem_id fSem; 25 BTextControl* fTextControl; 26}; 27 28#endif // EDITWINDOW_H 29