~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/monomac/src/scriptingbridge.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
                [Export ("get")]
47
47
                NSObject Get { get; }
48
48
 
 
49
                // part of SBObject.h include file, not in the official documentation
49
50
                [Export ("lastError")]
50
51
                NSError LastError { get; }
51
52
 
74
75
//      }
75
76
        
76
77
        [BaseType (typeof (SBObject),Delegates=new string [] { "WeakDelegate" }, Events=new Type [] { typeof (SBApplicationDelegate)})]
 
78
        [DisableDefaultCtor] // An uncaught exception was raised: *** -[SBApplication init]: should never be used.
77
79
        interface SBApplication {
78
80
                [Export ("initWithURL:")]
79
81
                IntPtr Constructor (NSUrl url);
80
82
 
81
83
                [Export ("initWithProcessIdentifier:")]
82
84
                IntPtr Constructor (int pid);
83
 
                
 
85
 
 
86
                [Export ("initWithBundleIdentifier:")]
 
87
                IntPtr Constructor (string ident);
 
88
 
84
89
                [Static]
85
90
                [Export ("applicationWithBundleIdentifier:")]
86
91
                SBApplication FromBundleIdentifier (string ident );
87
92
 
88
93
                [Static]
89
 
                [Export ("applicationWithURL:url")]
 
94
                [Export ("applicationWithURL:")]
90
95
                SBApplication FromURL (NSUrl url );
91
96
 
92
97
                [Static]
93
 
                [Export ("applicationWithProcessIdentifier")]
 
98
                [Export ("applicationWithProcessIdentifier:")]
94
99
                SBApplication FromProcessIdentifier (int pid );
95
100
 
96
 
                [Export ("classForScriptingClass")]
 
101
                [Export ("classForScriptingClass:")]
97
102
                Class ClassForScripting (string className );
98
103
 
99
104
                [Export ("isRunning")]
115
120
                AESendMode SendMode { get; set; }
116
121
 
117
122
                [Export ("timeout")]
118
 
                long Timeout { get; set; }
119
 
 
 
123
                int Timeout { get; set; }
120
124
        }
121
125
 
122
126
        [BaseType (typeof (NSObject))]