~ubuntu-branches/debian/squeeze/f-spot/squeeze

« back to all changes in this revision

Viewing changes to extensions/Exporters/FlickrExport/FlickrNet/Contacts.cs

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane, Mirco Bauer, Iain Lane
  • Date: 2009-02-07 20:23:32 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20090207202332-oc93rfjo1st0571s
Tags: 0.5.0.3-2
[ Mirco Bauer]
* Upload to unstable.
* debian/control:
  + Lowered GNOME# build-deps to 2.0 ABI as that transition didn't happen
    yet in unstable.

[ Iain Lane ]
* debian/patches/svn-r4545_locales-import.dpatch: Patch backported from SVN
  trunk revision 4545 - initialize the translation catalog earlier (LP: #293305)
  (Closes: #514457). Thanks to Florian Heinle for finding the patch and to
  Chris Coulson for preparing the update.
* debian/control: Build-depend on libmono-dev (>= 1.2.4) to match configure
  checks.
* debian/rules: Pass CSC=/usr/bin/csc to configure for gio-sharp to fix FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System.Xml.Serialization;
 
2
using System.Xml.Schema;
 
3
 
 
4
namespace FlickrNet
 
5
{
 
6
        /// <summary>
 
7
        /// Contains a list of <see cref="Contact"/> items for a given user.
 
8
        /// </summary>
 
9
        [System.Serializable]
 
10
        public class Contacts
 
11
        {
 
12
                /// <summary>
 
13
                /// An array of <see cref="Contact"/> items for the user.
 
14
                /// </summary>
 
15
                [XmlElement("contact", Form=XmlSchemaForm.Unqualified)]
 
16
                public Contact[] ContactCollection = new Contact[0];
 
17
        }
 
18
 
 
19
        /// <summary>
 
20
        /// Contains details of a contact for a particular user.
 
21
        /// </summary>
 
22
        [System.Serializable]
 
23
        public class Contact
 
24
        {
 
25
                /// <summary>
 
26
                /// The user id of the contact.
 
27
                /// </summary>
 
28
                [XmlAttribute("nsid", Form=XmlSchemaForm.Unqualified)]
 
29
                public string UserId;
 
30
 
 
31
                /// <summary>
 
32
                /// The username (or screen name) of the contact.
 
33
                /// </summary>
 
34
                [XmlAttribute("username", Form=XmlSchemaForm.Unqualified)]
 
35
                public string UserName;
 
36
 
 
37
                /// <summary>
 
38
                /// Is this contact marked as a friend contact?
 
39
                /// </summary>
 
40
                [XmlAttribute("friend", Form=XmlSchemaForm.Unqualified)]
 
41
                public int IsFriend;
 
42
 
 
43
                /// <summary>
 
44
                /// Is this user marked a family contact?
 
45
                /// </summary>
 
46
                [XmlAttribute("family", Form=XmlSchemaForm.Unqualified)]
 
47
                public int IsFamily;
 
48
 
 
49
                /// <summary>
 
50
                /// Unsure how to even set this!
 
51
                /// </summary>
 
52
                [XmlAttribute("ignored", Form=XmlSchemaForm.Unqualified)]
 
53
                public int IsIgnored;
 
54
 
 
55
                /// <summary>
 
56
                /// Is the user online at the moment (FlickrLive)
 
57
                /// </summary>
 
58
                [XmlAttribute("online", Form=XmlSchemaForm.Unqualified)]
 
59
                public int IsOnline;
 
60
 
 
61
                /// <summary>
 
62
                /// If the user is online, but marked as away, then this will contains their away message.
 
63
                /// </summary>
 
64
                [XmlText()]
 
65
                public string AwayDescription;
 
66
        }
 
67
}
 
 
b'\\ No newline at end of file'