1/*
2 * Copyright 2003-2010 Haiku Inc.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		J��r��me Duval
7 */
8#ifndef _PASSWORD_ALERT_H
9#define _PASSWORD_ALERT_H
10
11
12#include <Bitmap.h>
13#include <String.h>
14#include <TextControl.h>
15#include <Window.h>
16
17
18class PasswordAlert : public BWindow {
19public:
20								PasswordAlert(const char* title,
21									const char* text);
22	virtual						~PasswordAlert();
23
24			void				Go(BString& password);
25	virtual void				MessageReceived(BMessage* message);
26
27private:
28			BBitmap*			InitIcon();
29			BTextControl*		fTextControl;
30			sem_id				fAlertSem;
31};
32
33
34#endif	// _PASSWORD_ALERT_H
35