* Copyright 2003-2010 Haiku Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* JΓ©rΓ΄me Duval
*/
#ifndef _PASSWORD_ALERT_H
#define _PASSWORD_ALERT_H
#include <Bitmap.h>
#include <String.h>
#include <TextControl.h>
#include <Window.h>
class PasswordAlert : public BWindow {
public:
PasswordAlert(const char* title,
const char* text);
virtual ~PasswordAlert();
void Go(BString& password);
virtual void MessageReceived(BMessage* message);
private:
BBitmap* InitIcon();
BTextControl* fTextControl;
sem_id fAlertSem;
};
#endif