Advertisement
baulig

NSUserNotificationCenterDelegate.g.cs

Nov 21st, 2012
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. //
  2. // Auto-generated from generator.cs, do not edit
  3. //
  4. // We keep references to objects, so warning 414 is expected
  5.  
  6. #pragma warning disable 414
  7.  
  8. using System;
  9. using System.Drawing;
  10. using System.Runtime.CompilerServices;
  11. using System.Runtime.InteropServices;
  12. using System.Diagnostics;
  13. using System.ComponentModel;
  14. using MonoMac.CoreFoundation;
  15. using MonoMac.Foundation;
  16. using MonoMac.ObjCRuntime;
  17. using MonoMac.CoreGraphics;
  18. using MonoMac.CoreAnimation;
  19. using MonoMac.CoreLocation;
  20. using MonoMac.QTKit;
  21. using MonoMac.CoreVideo;
  22. using MonoMac.CoreMedia;
  23. using MonoMac.OpenGL;
  24.  
  25. namespace MonoMac.Foundation {
  26. [Register("NSUserNotificationCenterDelegate", true)]
  27. [Model]
  28. public unsafe partial class NSUserNotificationCenterDelegate : NSObject {
  29.  
  30. [CompilerGenerated]
  31. static readonly IntPtr class_ptr = Class.GetHandle ("NSObject");
  32.  
  33. [EditorBrowsable (EditorBrowsableState.Advanced)]
  34.  
  35. [Export ("init")]
  36. public NSUserNotificationCenterDelegate () : base (NSObjectFlag.Empty)
  37. {
  38. if (IsDirectBinding) {
  39. Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.Init);
  40. } else {
  41. Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.Init);
  42. }
  43. }
  44.  
  45. [EditorBrowsable (EditorBrowsableState.Advanced)]
  46.  
  47. [Export ("initWithCoder:")]
  48. public NSUserNotificationCenterDelegate (NSCoder coder) : base (NSObjectFlag.Empty)
  49. {
  50. if (IsDirectBinding) {
  51. Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle);
  52. } else {
  53. Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle);
  54. }
  55. }
  56.  
  57. [EditorBrowsable (EditorBrowsableState.Advanced)]
  58.  
  59. public NSUserNotificationCenterDelegate (NSObjectFlag t) : base (t) {}
  60.  
  61. [EditorBrowsable (EditorBrowsableState.Advanced)]
  62.  
  63. public NSUserNotificationCenterDelegate (IntPtr handle) : base (handle) {}
  64.  
  65. [Export ("userNotificationCenter:didDeliverNotification:")]
  66. public virtual void DidDeliverNotification (NSUserNotificationCenter center, NSUserNotification notification)
  67. {
  68. throw new You_Should_Not_Call_base_In_This_Method ();
  69. }
  70.  
  71. [Export ("userNotificationCenter:didActivateNotification:")]
  72. public virtual void DidActivateNotification (NSUserNotificationCenter center, NSUserNotification notification)
  73. {
  74. throw new You_Should_Not_Call_base_In_This_Method ();
  75. }
  76.  
  77. [Export ("userNotificationCenter:shouldPresentNotification:")]
  78. public virtual bool ShouldPresentNotification (NSUserNotificationCenter center, NSUserNotification notification)
  79. {
  80. throw new You_Should_Not_Call_base_In_This_Method ();
  81. }
  82.  
  83. } /* class NSUserNotificationCenterDelegate */
  84. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement