Created
March 3, 2010 17:10
-
-
Save migueldeicaza/320765 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in enums.cs: | |
public enum AccountType { | |
ALE = 0x736970 | |
} | |
in iface.cs: | |
[BaseType (typeof (NSObject))] | |
interface AccountSettings { | |
} | |
[BaseType (typeof (NSObject))] | |
interface Account { | |
[Static, Export ("createAccountType:withSettings:")] | |
Account Create (AccountType type, AccountSettings settings); | |
[Export ("getSettings")] | |
AccountSettings Settings {get;} | |
} | |
[BaseType (typeof (NSObject)), Model] | |
interface AleAccountListener { | |
} | |
[BaseType (typeof (NSObject))] | |
interface AleAccount { | |
[Export ("setAccountListener:")] | |
void SetListener (AleAccountListener sil); | |
[Export ("connect:")] | |
void Connect (uint expires); | |
[Export ("disconnect")] | |
void Disconnect (); | |
[Export ("disconnectAll")] | |
void DisconnectAll (); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment