forked from mono/monotouch-bindings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ApiDefinition.cs
66 lines (48 loc) · 1.78 KB
/
ApiDefinition.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
using System;
using System.Drawing;
using MonoTouch.ObjCRuntime;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace TSMiniWebBrowser
{
[Model]
[Protocol]
[BaseType (typeof (NSObject), Name = "TSMiniWebBrowserDelegate")]
interface MiniWebBrowserDelegate {
[Export ("tsMiniWebBrowserDidDismiss")]
void DidDismiss ();
}
[BaseType (typeof (UIViewController), Name = "TSMiniWebBrowser")]
interface MiniWebBrowser {
[Wrap ("WeakDelegate")][NullAllowed]
MiniWebBrowserDelegate Delegate { get; set; }
[Export ("delegate", ArgumentSemantic.Assign)][NullAllowed]
NSObject WeakDelegate { get; set; }
[Export ("mode", ArgumentSemantic.Assign)]
MiniWebBrowserMode Mode { get; set; }
[Export ("showURLStringOnActionSheetTitle", ArgumentSemantic.Assign)]
bool ShowUrlstringOnActionSheetTitle { get; set; }
[Export ("showPageTitleOnTitleBar", ArgumentSemantic.Assign)]
bool ShowPageTitleOnTitleBar { get; set; }
[Export ("showReloadButton", ArgumentSemantic.Assign)]
bool ShowReloadButton { get; set; }
[Export ("showActionButton", ArgumentSemantic.Assign)]
bool ShowActionButton { get; set; }
[Export ("barStyle", ArgumentSemantic.Assign)]
UIBarStyle BarStyle { get; set; }
[Export ("barTintColor", ArgumentSemantic.Retain)]
UIColor BarTintColor { get; set; }
[Export ("modalDismissButtonTitle", ArgumentSemantic.Retain)]
string ModalDismissButtonTitle { get; set; }
[Export ("domainLockList", ArgumentSemantic.Retain)]
string DomainLockList { get; set; }
[Export ("currentURL", ArgumentSemantic.Retain)]
string CurrentURL { get; set; }
[Export ("initWithUrl:")]
IntPtr Constructor (NSUrl url);
[Export ("setFixedTitleBarText:")]
void SetFixedTitleBarText (string newTitleBarText);
[Export ("loadURL:")]
void LoadUrl (NSUrl url);
}
}