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

« back to all changes in this revision

Viewing changes to extensions/Exporters/FlickrExport/FlickrNet/Blogs.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="Blog"/> items for the user.
 
8
        /// </summary>
 
9
        /// <remarks>
 
10
        /// <see cref="Blogs.BlogCollection"/> may be null if no blogs are specified.
 
11
        /// </remarks>
 
12
        [System.Serializable]
 
13
        public class Blogs
 
14
        {
 
15
                /// <summary>
 
16
                /// An array of <see cref="Blog"/> items for the user.
 
17
                /// </summary>
 
18
                [XmlElement("blog", Form=XmlSchemaForm.Unqualified)]
 
19
                public Blog[] BlogCollection;
 
20
        }
 
21
 
 
22
        /// <summary>
 
23
        /// Provides details of a specific blog, as configured by the user.
 
24
        /// </summary>
 
25
        [System.Serializable]
 
26
        public class Blog
 
27
        {
 
28
                /// <summary>
 
29
                /// The ID Flickr has assigned to the blog. Use this to post to the blog using
 
30
        /// <see cref="Flickr.BlogPostPhoto(string, string, string, string)"/> or
 
31
        /// <see cref="Flickr.BlogPostPhoto(string, string, string, string, string)"/>.
 
32
                /// </summary>
 
33
                [XmlAttribute("id", Form=XmlSchemaForm.Unqualified)]
 
34
                public string BlogId;
 
35
 
 
36
                /// <summary>
 
37
                /// The name you have assigned to the blog in Flickr.
 
38
                /// </summary>
 
39
                [XmlAttribute("name", Form=XmlSchemaForm.Unqualified)]
 
40
                public string BlogName;
 
41
 
 
42
                /// <summary>
 
43
                /// The URL of the blog website.
 
44
                /// </summary>
 
45
                [XmlAttribute("url", Form=XmlSchemaForm.Unqualified)]
 
46
                public string BlogUrl;
 
47
 
 
48
                /// <summary>
 
49
                /// If Flickr stores the password for this then this will be 0, meaning you do not need to pass in the
 
50
                /// password when posting.
 
51
                /// </summary>
 
52
                [XmlAttribute("needspassword")]
 
53
                public int NeedsPassword;
 
54
        }
 
55
}
 
 
b'\\ No newline at end of file'