Jabber Guest iOS SDK
CJGuestAlertView.h
1 //
2 // CJGuestAlertView.h
3 // JabberGuestSDK
4 //
5 // Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
6 //
7 
8 #import <UIKit/UIKit.h>
9 
10 @class CJGuestAlertView;
11 
12 @protocol CJGuestAlertViewDelegate <NSObject>
13 @optional
14 //will execute before dismissing the view.
15 - (void)cjguestAlertView:(CJGuestAlertView *)alertView
16  clickedButtonAtIndex:(NSInteger)buttonIndex;
17 
18 @end
19 
20 @interface CJGuestAlertView : UIView
21 {
22  UIView *alertView;
23 }
24 @property (readonly) BOOL isVisible;
25 @property id <CJGuestAlertViewDelegate> alertviewDelegate;
26 
27 //The other Button parameters is being ignore for now.
28 //It is not used, we will added it when necessary.
29 - (id)initWithTitle:(NSString *)title
30  message:(NSString *)message
31  delegate:(id)delegate
32  cancelButtonTitle:(NSString *)cancelButtonTitle
33  otherButtonTitles:(NSString *)otherButtonTitles, ... ;
34 - (void)showInView:(UIView *)containerView;
35 
36 @end
37 
38 
39