2 * Copyright 2012, Michael Lotz, mmlr@mlotz.ch. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _APP_ACCESS_REQUEST_WINDOW_H
6 #define _APP_ACCESS_REQUEST_WINDOW_H
13 #include "StripeView.h"
15 class AppAccessRequestView
;
18 class AppAccessRequestWindow
: public BWindow
{
20 AppAccessRequestWindow(
21 const char* keyringName
,
22 const char* signature
,
24 const char* accessString
, bool appIsNew
,
26 virtual ~AppAccessRequestWindow();
28 virtual bool QuitRequested();
29 virtual void MessageReceived(BMessage
* message
);
31 status_t
RequestAppAccess(bool& allowAlways
);
32 BBitmap
GetIcon(int32 iconSize
);
34 AppAccessRequestView
* fRequestView
;
37 BButton
* fDisallowButton
;
39 BButton
* fAlwaysButton
;
40 StripeView
* fStripeView
;
45 #endif // _APP_ACCESS_REQUEST_WINDOW_H