File: MessageReceivedHandler.cs

package info (click to toggle)
f-spot 0.8.2-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 26,376 kB
  • sloc: cs: 138,718; sh: 16,964; makefile: 2,321; xml: 783; ansic: 721
file content (37 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (2)
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
// MessageReceivedHandler.cs
//
// Author(s):
//	Stephane Delcroix  <stephane@delcroix.org>
//
// Copyright (c) 2009 Stephane Delcroix
//
// This is open source software. See COPYING for details.
//

namespace Unique {

	using System;

	public delegate void MessageReceivedHandler(object o, MessageReceivedArgs args);

	public class MessageReceivedArgs : GLib.SignalArgs {
		public int Command{
			get {
				return (int) Args[0];
			}
		}

		public Unique.MessageData MessageData{
			get {
				return (Unique.MessageData) Args[1];
			}
		}

		public uint Time{
			get {
				return (uint) Args[2];
			}
		}

	}
}