Exemplo n.º 1
0
		public TagSetterAdapter (TagSetterImplementor implementor)
		{
			if (implementor == null)
				throw new ArgumentNullException ("implementor");
			else if (!(implementor is Gst.GLib.Object))
				throw new ArgumentException ("implementor must be a subclass of Gst.GLib.Object");
			this.implementor = implementor as Gst.GLib.Object;
		}
Exemplo n.º 2
0
		protected SignalCallback (Gst.GLib.Object obj, Delegate eh, System.Type argstype)
		{
			_key = _NextKey++;
			_obj = obj;
			_handler = eh;
			_argstype = argstype;
			_Instances [_key] = this;
		}
Exemplo n.º 3
0
		public PropertyProbeAdapter (IntPtr handle)
		{
			if (!_gtype.IsInstance (handle))
				throw new ArgumentException ("The gobject doesn't implement the GInterface of this adapter", "handle");
			implementor = Gst.GLib.Object.GetObject (handle);
		}
Exemplo n.º 4
0
		public ClosureInvokedArgs (Gst.GLib.Object obj, EventArgs args)
		{
			this.obj = obj;
			this.args = args;
		}
Exemplo n.º 5
0
		protected virtual void Dispose (bool disposing)
		{
			if (disposing) {
				_obj = null;
				_handler = null;
				_argstype = null;
			}
		}