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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane
  • Date: 2010-05-24 10:35:57 UTC
  • mfrom: (2.4.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20100524103557-1j0i8f66caybci2n
* New upstream release 0.7.0
 + First release of the unstable 0.7 development series. Massive changes.
 + Reparenting and detaching support (Anton Keks) (Closes: #559745)
 + A new Mallard-based documentation (Harold Schreckengost)
 + No longer embeds flickrnet, uses distribution copy (Iain Lane)
 + Adoption of a large amount of Hyena functionality (Paul Lange, Peter
   Goetz)
 + No longer embeds gnome-keyring-sharp
 + Completely rewritten import, much faster and less memory hungry (Ruben
   Vermeersch) (Closes: #559080, #492658, #341790, #357811, #426017) (LP:
   #412091)
 + No longer use gphoto2-sharp, now uses gvfs which is less crash-pron
   (Ruben Vermeersch)
 + Fix Facebook support (Ruben Vermeersch)
 + Modernized unit tests
 + Revamped build (Mike Gemünde)
 + Much improved duplicate detection (much faster too) (Ruben Vermeersch)
 + Mouse selection in Iconview (Vincent Pomey)
 + Image panning support using middle mouse button (Wojciech Dzierżanowski)
 + Timeline slider now restricted to the size of the window (Iain Churcher)
 + Over 100 bugs closed (http://bit.ly/cyVjnD)
   - No more warnings about schema defaults (Closes: #584215) (LP: #586132)
* debian/control: Clean up build deps to match configure checks
* debian/rules: Don't run dh_makeshilbs as we don't ship any shared
  libraries. There are some private ones though, which get picked up and
  result in a useless postinst/postrm call to ldconfig. Thanks, lintian.
* debian/patches/debian_fix-distclean.patch,
  debian/patches/debian_fix_f-spot.exe.config.patch,
  debian/patches/debian_link-system-flickrnet.patch,
  debian/patches/debian_link-system-gnome-keyring.patch,
  debian/patches/debian_disable-unit-tests,
  debian/patches/git_transition_duration.patch,
  debian/patches/ubuntu_fix_folder_export_hang.patch:
  Clean up obsolete patches which are no longer necessary 
* debian/patches/*: Temporarily disable patches which originated from Ubuntu
  and no longer apply cleanly. We will get these back in a future upstream
  development release.
* debian/patches/*: Refresh to apply cleanly 
* debian/rules: Add new include dir to autoreconf call to pick up f-spot
  macros 

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
 
        /// Collection of <see cref="Size"/> items for a given photograph.
8
 
        /// </summary>
9
 
        [System.Serializable]
10
 
        public class Sizes
11
 
        {
12
 
                private Size[] _sizeCollection = new Size[0];
13
 
 
14
 
                /// <summary>
15
 
                /// The size collection contains an array of <see cref="Size"/> items.
16
 
                /// </summary>
17
 
                [XmlElement("size", Form=XmlSchemaForm.Unqualified)]
18
 
                public Size[] SizeCollection
19
 
                {
20
 
                        get { return _sizeCollection; }
21
 
                        set { _sizeCollection = value; }
22
 
                }
23
 
        }
24
 
 
25
 
        /// <summary>
26
 
        /// Contains details about all the sizes available for a given photograph.
27
 
        /// </summary>
28
 
        [System.Serializable]
29
 
        public class Size
30
 
        {
31
 
                private string _label;
32
 
                private int _width;
33
 
                private int _height;
34
 
                private string _source;
35
 
                private string _url;
36
 
 
37
 
                /// <summary>
38
 
                /// The label for the size, such as "Thumbnail", "Small", "Medium", "Large" and "Original".
39
 
                /// </summary>
40
 
                [XmlAttribute("label", Form=XmlSchemaForm.Unqualified)]
41
 
                public string Label
42
 
                {
43
 
                        get { return _label; }
44
 
                        set { _label = value; }
45
 
                }
46
 
 
47
 
        /// <summary>
48
 
        /// The width of the resulting image, in pixels
49
 
        /// </summary>
50
 
                [XmlAttribute("width", Form=XmlSchemaForm.Unqualified)]
51
 
                public int Width
52
 
                {
53
 
                        get { return _width; }
54
 
                        set { _width = value; }
55
 
                }
56
 
 
57
 
                /// <summary>
58
 
                /// The height of the resulting image, in pixels
59
 
                /// </summary>
60
 
                [XmlAttribute("height", Form=XmlSchemaForm.Unqualified)]
61
 
                public int Height
62
 
                {
63
 
                        get { return _height; }
64
 
                        set { _height = value; }
65
 
                }
66
 
 
67
 
                /// <summary>
68
 
                /// The source url of the image.
69
 
                /// </summary>
70
 
                [XmlAttribute("source", Form=XmlSchemaForm.Unqualified)]
71
 
                public string Source
72
 
                {
73
 
                        get { return _source; }
74
 
                        set { _source = value; }
75
 
                }
76
 
 
77
 
                /// <summary>
78
 
                /// The url to the photographs web page for this particular size.
79
 
                /// </summary>
80
 
                [XmlAttribute("url", Form=XmlSchemaForm.Unqualified)]
81
 
                public string Url
82
 
                {
83
 
                        get { return _url; }
84
 
                        set { _url = value; }
85
 
                }
86
 
        }
87
 
}
 
 
b'\\ No newline at end of file'