~ubuntu-branches/ubuntu/jaunty/gnome-do-plugins/jaunty-proposed

« back to all changes in this revision

Viewing changes to BundledLibraries/libgoogle-data-mono-1.4.0.2/src/gphotos/gextphotos.cs

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane, Daniel T Chen, Iain Lane
  • Date: 2009-03-18 00:40:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090318004051-ujn1ja3kiu3ky7ru
Tags: 0.8.1.3+dfsg-0ubuntu1
[ Daniel T Chen ]
* New upstream release (LP: #344578)
  + Banshee plugin goes crazy if banshee isn't loaded first
    (LP: #289802)
  + gnome-do gCalculate plugin fails to display "times" symbol
    (LP: #274252)
  + Banshee-1 fails to build in Mono 2.0 (LP: #309188)
  + Pidgin 2.5.4 has incompatible dbus interface. s/uint/int/
    (LP: #314927)
  + Pidgin plugin hangs opening a chat if pidgin is unresponsive
    (LP: #315565)
  + twitter plugin still reports friend updates even when
    deactivated (LP: #317674)
  + Misspelling in microblogging plugin confirmation message
    (LP: #319433)
  + make install uses mdtool, but configure doesn't check for it
    (LP: #322951)
  + Virtualbox Icon in 2.10 are broken because of a new
    specification (LP: #323902)
  + Google Maps Plugin shouldn't always use route (LP: #324271)
  + Fix for Google Maps when using newlines and other special
    characters (LP: #324667)
  + VirtualBox failed to load icon (LP: #325712)
  + 'Read Man Pages' plugin makes Gnome-Do unresponsive
    (LP: #325935)
  + Search returns broken URLs (LP: #327855)
  + Default action for SSH hosts is "open" (LP: #328236)
  + Files and Folders Configuration doesn't use standard buttons
    (LP: #328236)
  + Window manager maximize action should focus if window is not
    currently focused (LP: #258893)
  + Locate plugin has no error message (LP: #262360)
  + Wishlist: Let user specify files and folders to ignore
    (LP: #263177)
  + ts-client plugin doesn't index subdirectories (LP: #322352)
  + Max 3000 items in Files and Folders plugin (LP: #324105)
  + putty cannot find host when running from gnome do
    (LP: #324282)
  + locate plugin with globbing (LP: #334798)
  + Twitter plugin encountered an error in UpdateFriends
    (LP: #317575)
  + gnome-terminal profiles no longer work (LP: #321977)
  + Creating a task using Remember the Milk plugin can fail if
    no task list is specified (LP: #324066)
  + bundled libraries makefile needs destdir (LP: #324704)
  + Typographical error in del.icio.us plugin (LP: #330525)
  + ImageShack fails to upload (LP: #337324)
* debian/copyright
  + Refresh for new upstream version; new plugins added.
* debian/patches/00_dfsg_autofoo.dpatch
  + Update for new upstream version
  + Don't build the YouTube plugin due to removal of shipped
    exes and dlls causing FTBFS
* debian/patches/02_ssh_respect_exec_arg.dpatch
  debian/patches/03_buildsystem_respect_mcs.dpatch
  debian/patches/04_fix_pidgin_dbus_ints.dpatch
  + Drop; fixed upstream

[ Iain Lane ]
* debian/rules: Update repackaging to not delete *.dll; upstream now ships
  source copies of google-gdata meaning we can now enable the Google and
  Youtube plugins.
* debian/patches/00_dfsg_autofoo: Drop, fixed by including and building
  these libs now. 
* debian/copyright: Update with information for google-gdata. 
* debian/patches/04_fix_pidgin_dbus_ints.dpatch: Add left out piece of patch
* debian/control: Bump gnome-do build-dep to require current version. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (c) 2006 Google Inc.
 
2
 *
 
3
 * Licensed under the Apache License, Version 2.0 (the "License");
 
4
 * you may not use this file except in compliance with the License.
 
5
 * You may obtain a copy of the License at
 
6
 *
 
7
 *     http://www.apache.org/licenses/LICENSE-2.0
 
8
 *
 
9
 * Unless required by applicable law or agreed to in writing, software
 
10
 * distributed under the License is distributed on an "AS IS" BASIS,
 
11
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
12
 * See the License for the specific language governing permissions and
 
13
 * limitations under the License.
 
14
*/
 
15
 
 
16
using System;
 
17
using System.Xml;
 
18
//using System.Collections;
 
19
//using System.Text;
 
20
using Google.GData.Client;
 
21
using Google.GData.Extensions;
 
22
 
 
23
namespace Google.GData.Photos {
 
24
 
 
25
    /// <summary>
 
26
    /// helper to instantiate all factories defined in here and attach 
 
27
    /// them to a base object
 
28
    /// </summary> 
 
29
    public static class GPhotoExtensions 
 
30
    {
 
31
        /// <summary>
 
32
        /// helper to add all picasa photo extensions to the base object
 
33
        /// </summary>
 
34
        /// <param name="baseObject"></param>
 
35
        public static void AddExtension(AtomBase baseObject) 
 
36
        {
 
37
            baseObject.AddExtension(new GPhotoAlbumId());
 
38
            baseObject.AddExtension(new GPhotoCommentCount());
 
39
            baseObject.AddExtension(new GPhotoCommentingEnabled());
 
40
            baseObject.AddExtension(new GPhotoId());
 
41
            baseObject.AddExtension(new GPhotoMaxPhotosPerAlbum());
 
42
            baseObject.AddExtension(new GPhotoNickName());
 
43
            baseObject.AddExtension(new GPhotoQuotaCurrent());
 
44
            baseObject.AddExtension(new GPhotoQuotaLimit());
 
45
            baseObject.AddExtension(new GPhotoThumbnail());
 
46
            baseObject.AddExtension(new GPhotoUser());
 
47
            baseObject.AddExtension(new GPhotoAccess());
 
48
            baseObject.AddExtension(new GPhotoBytesUsed());
 
49
            baseObject.AddExtension(new GPhotoLocation());
 
50
            baseObject.AddExtension(new GPhotoNumPhotos());
 
51
            baseObject.AddExtension(new GPhotoNumPhotosRemaining());
 
52
            baseObject.AddExtension(new GPhotoChecksum());
 
53
            baseObject.AddExtension(new GPhotoClient());
 
54
            baseObject.AddExtension(new GPhotoHeight());
 
55
            baseObject.AddExtension(new GPhotoPosition());
 
56
            baseObject.AddExtension(new GPhotoRotation());
 
57
            baseObject.AddExtension(new GPhotoSize());
 
58
            baseObject.AddExtension(new GPhotoTimestamp());
 
59
            baseObject.AddExtension(new GPhotoVersion());
 
60
            baseObject.AddExtension(new GPhotoWidth());
 
61
            baseObject.AddExtension(new GPhotoPhotoId());
 
62
            baseObject.AddExtension(new GPhotoWeight());
 
63
            baseObject.AddExtension(new GPhotoName());
 
64
        }
 
65
    }
 
66
 
 
67
    /// <summary>
 
68
    /// short table to hold the namespace and the prefix
 
69
    /// </summary>
 
70
    public static class GPhotoNameTable 
 
71
    {
 
72
        /// <summary>static string to specify the GeoRSS namespace supported</summary>
 
73
        public const string NSGPhotos = "http://schemas.google.com/photos/2007"; 
 
74
        /// <summary>static string to specify the Google Picasa prefix used</summary>
 
75
        public const string gPhotoPrefix = "gphoto"; 
 
76
 
 
77
        /// <summary>
 
78
        /// Comment Kind definition
 
79
        /// this is the term value for a category
 
80
        /// </summary>
 
81
        public const string CommentKind = NSGPhotos + "#comment";
 
82
        /// <summary>
 
83
        /// Photo Kind definition
 
84
        /// this is the term value for a category
 
85
        /// </summary>
 
86
        public const string PhotoKind = NSGPhotos + "#photo";
 
87
        /// <summary>
 
88
        /// Album Kind definition
 
89
        /// this is the term value for a category
 
90
        /// </summary>
 
91
        public const string AlbumKind = NSGPhotos + "#album";
 
92
        /// <summary>
 
93
        /// Tag Kind definition
 
94
        /// this is the term value for a category
 
95
        /// </summary>
 
96
        public const string TagKind = NSGPhotos + "#tag";
 
97
 
 
98
        /// <summary>
 
99
        /// id element string
 
100
        /// </summary>
 
101
        public const string Id = "id";
 
102
 
 
103
        /// <summary>
 
104
        /// album id element string
 
105
        /// </summary>
 
106
        public const string AlbumId = "albumid";
 
107
 
 
108
        /// <summary>
 
109
        /// comment count element string
 
110
        /// </summary>
 
111
        public const string CommentCount = "commentCount";
 
112
 
 
113
        /// <summary>
 
114
        /// commenting enabled element string
 
115
        /// </summary>
 
116
        public const string CommentingEnabled = "commentingEnabled";
 
117
 
 
118
        /// <summary>
 
119
        /// maximal photos per album element string
 
120
        /// </summary>
 
121
        public const string MaxPhotosPerAlbum = "maxPhotosPerAlbum";
 
122
 
 
123
        /// <summary>
 
124
        /// nickname element string
 
125
        /// </summary>
 
126
        public const string Nickname = "nickname";
 
127
 
 
128
        /// <summary>
 
129
        /// current Quota element string
 
130
        /// </summary>
 
131
        public const string QuotaCurrent = "quotacurrent";
 
132
 
 
133
        /// <summary>
 
134
        ///  Quota Limit element string
 
135
        /// </summary>
 
136
        public const string QuotaLimit = "quotalimit";
 
137
 
 
138
        /// <summary>
 
139
        /// Thumbnail element string
 
140
        /// </summary>
 
141
        public const string Thumbnail = "thumbnail";
 
142
 
 
143
        /// <summary>
 
144
        /// User element string
 
145
        /// </summary>
 
146
        public const string User = "user";
 
147
 
 
148
        /// <summary>
 
149
        /// access element string
 
150
        /// </summary>
 
151
        public const string Access = "access";
 
152
 
 
153
        /// <summary>
 
154
        /// bytesUsed element string
 
155
        /// </summary>
 
156
        public const string BytesUsed = "bytesUsed";
 
157
 
 
158
        /// <summary>
 
159
        /// location element string
 
160
        /// </summary>
 
161
        public const string Location = "location";
 
162
 
 
163
        /// <summary>
 
164
        /// name element string
 
165
        /// </summary>
 
166
        public const string Name = "name";
 
167
 
 
168
        /// <summary>
 
169
        /// numphotos element string
 
170
        /// </summary>
 
171
        public const string NumPhotos = "numphotos";
 
172
 
 
173
        /// <summary>
 
174
        /// numphotosremaining element string
 
175
        /// </summary>
 
176
        public const string NumPhotosRemaining = "numphotosremaining";
 
177
 
 
178
        /// <summary>
 
179
        /// numphotos element string
 
180
        /// </summary>
 
181
        public const string Checksum = "checksum";
 
182
 
 
183
        /// <summary>
 
184
        /// client element string
 
185
        /// </summary>
 
186
        public const string Client = "client";
 
187
 
 
188
        /// <summary>
 
189
        /// height element string
 
190
        /// </summary>
 
191
        public const string Height = "height";
 
192
 
 
193
        /// <summary>
 
194
        /// position element string
 
195
        /// </summary>
 
196
        public const string Position = "position";
 
197
 
 
198
        /// <summary>
 
199
        /// rotation element string
 
200
        /// </summary>
 
201
        public const string Rotation = "rotation";
 
202
 
 
203
        /// <summary>
 
204
        /// size element string
 
205
        /// </summary>
 
206
        public const string Size = "size";
 
207
 
 
208
        /// <summary>
 
209
        /// timestamp element string
 
210
        /// </summary>
 
211
        public const string Timestamp = "timestamp";
 
212
 
 
213
        /// <summary>
 
214
        /// version element string
 
215
        /// </summary>
 
216
        public const string Version = "version";
 
217
 
 
218
        /// <summary>
 
219
        /// photoid element string
 
220
        /// </summary>
 
221
        public const string Photoid = "photoid";
 
222
 
 
223
        /// <summary>
 
224
        /// width element string
 
225
        /// </summary>
 
226
        public const string Width = "width";
 
227
 
 
228
        /// <summary>
 
229
        /// weight element string
 
230
        /// </summary>
 
231
        public const string Weight = "weight";
 
232
 
 
233
    }
 
234
 
 
235
 
 
236
    /// <summary>
 
237
    /// id schema extension describing an ID.
 
238
    /// </summary>
 
239
    public class GPhotoId : SimpleElement
 
240
    {
 
241
        /// <summary>
 
242
        /// default constructor 
 
243
        /// </summary>
 
244
        public GPhotoId()
 
245
        : base(GPhotoNameTable.Id, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
246
        {}
 
247
 
 
248
        /// <summary>
 
249
        /// default constructor with an initial value as a string 
 
250
        /// </summary>
 
251
        public GPhotoId(string initValue)
 
252
        : base(GPhotoNameTable.Id, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
253
        {}
 
254
    }
 
255
 
 
256
    /// <summary>
 
257
    /// GPhotoAlbumId schema extension describing an albumid
 
258
    /// </summary>
 
259
    public class GPhotoAlbumId : SimpleElement
 
260
    {
 
261
        /// <summary>
 
262
        /// default constructor 
 
263
        /// </summary>
 
264
        public GPhotoAlbumId()
 
265
        : base(GPhotoNameTable.AlbumId, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
266
         {}
 
267
        /// <summary>
 
268
        /// default constructor with an initial value as a string 
 
269
        /// </summary>
 
270
        public GPhotoAlbumId(string initValue)
 
271
        : base(GPhotoNameTable.AlbumId, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
272
        {}
 
273
    }
 
274
 
 
275
    /// <summary>
 
276
    /// GPhotoCommentCount schema extension describing an commentCount
 
277
    /// </summary>
 
278
    public class GPhotoCommentCount : SimpleElement
 
279
    {
 
280
        /// <summary>
 
281
        /// default constructor 
 
282
        /// </summary>
 
283
        public GPhotoCommentCount()
 
284
        : base(GPhotoNameTable.CommentCount, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
285
         {}
 
286
        /// <summary>
 
287
        /// default constructor with an initial value as a string 
 
288
        /// </summary>
 
289
        public GPhotoCommentCount(string initValue)
 
290
        : base(GPhotoNameTable.CommentCount, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
291
        {}
 
292
    }
 
293
 
 
294
    /// <summary>
 
295
    /// GPhotoCommentingEnabled schema extension describing an commentingEnabled
 
296
    /// </summary>
 
297
    public class GPhotoCommentingEnabled : SimpleElement
 
298
    {
 
299
        /// <summary>
 
300
        /// default constructor 
 
301
        /// </summary>
 
302
        public GPhotoCommentingEnabled()
 
303
        : base(GPhotoNameTable.CommentingEnabled, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
304
         {}
 
305
        /// <summary>
 
306
        /// default constructor with an initial value as a string 
 
307
        /// </summary>
 
308
        public GPhotoCommentingEnabled(string initValue)
 
309
        : base(GPhotoNameTable.CommentingEnabled, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
310
        {}
 
311
    }
 
312
 
 
313
    /// <summary>
 
314
    /// GPhotoMaxPhotosPerAlbum schema extension describing an maxPhotosPerAlbum
 
315
    /// </summary>
 
316
    public class GPhotoMaxPhotosPerAlbum : SimpleElement
 
317
    {
 
318
        /// <summary>
 
319
        /// default constructor 
 
320
        /// </summary>
 
321
        public GPhotoMaxPhotosPerAlbum()
 
322
        : base(GPhotoNameTable.MaxPhotosPerAlbum, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
323
         {}
 
324
        /// <summary>
 
325
        /// default constructor with an initial value as a string 
 
326
        /// </summary>
 
327
        public GPhotoMaxPhotosPerAlbum(string initValue)
 
328
        : base(GPhotoNameTable.MaxPhotosPerAlbum, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
329
        {}
 
330
    }
 
331
 
 
332
    /// <summary>
 
333
    /// GPhotoNickName schema extension describing an nickname
 
334
    /// </summary>
 
335
    public class GPhotoNickName : SimpleElement
 
336
    {
 
337
        /// <summary>
 
338
        /// default constructor 
 
339
        /// </summary>
 
340
        public GPhotoNickName()
 
341
        : base(GPhotoNameTable.Nickname, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
342
         {}
 
343
        /// <summary>
 
344
        /// default constructor with an initial value as a string 
 
345
        /// </summary>
 
346
        public GPhotoNickName(string initValue)
 
347
        : base(GPhotoNameTable.Nickname, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
348
        {}
 
349
    }
 
350
 
 
351
    /// <summary>
 
352
    /// GPhotoQuotaCurrent schema extension describing an quotacurrent
 
353
    /// </summary>
 
354
    public class GPhotoQuotaCurrent : SimpleElement
 
355
    {
 
356
        /// <summary>
 
357
        /// default constructor 
 
358
        /// </summary>
 
359
        public GPhotoQuotaCurrent()
 
360
        : base(GPhotoNameTable.QuotaCurrent, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
361
         {}
 
362
        /// <summary>
 
363
        /// default constructor with an initial value as a string 
 
364
        /// </summary>
 
365
        public GPhotoQuotaCurrent(string initValue)
 
366
        : base(GPhotoNameTable.QuotaCurrent, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
367
        {}
 
368
    }
 
369
 
 
370
    /// <summary>
 
371
    /// GPhotoQuotaLimit schema extension describing an quotalimit
 
372
    /// </summary>
 
373
    public class GPhotoQuotaLimit : SimpleElement
 
374
    {
 
375
        /// <summary>
 
376
        /// default constructor 
 
377
        /// </summary>
 
378
        public GPhotoQuotaLimit()
 
379
        : base(GPhotoNameTable.QuotaLimit, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
380
         {}
 
381
        /// <summary>
 
382
        /// default constructor with an initial value as a string 
 
383
        /// </summary>
 
384
        public GPhotoQuotaLimit(string initValue)
 
385
        : base(GPhotoNameTable.QuotaLimit, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
386
        {}
 
387
    }
 
388
 
 
389
    /// <summary>
 
390
    /// GPhotoThumbnail schema extension describing an thumbnail
 
391
    /// </summary>
 
392
    public class GPhotoThumbnail : SimpleElement
 
393
    {
 
394
        /// <summary>
 
395
        /// default constructor 
 
396
        /// </summary>
 
397
        public GPhotoThumbnail()
 
398
        : base(GPhotoNameTable.Thumbnail, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
399
         {}
 
400
        /// <summary>
 
401
        /// default constructor with an initial value as a string 
 
402
        /// </summary>
 
403
        public GPhotoThumbnail(string initValue)
 
404
        : base(GPhotoNameTable.Thumbnail, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
405
        {}
 
406
    }
 
407
 
 
408
    /// <summary>
 
409
    /// GPhotoUser schema extension describing an user
 
410
    /// </summary>
 
411
    public class GPhotoUser : SimpleElement
 
412
    {
 
413
        /// <summary>
 
414
        /// default constructor 
 
415
        /// </summary>
 
416
        public GPhotoUser()
 
417
        : base(GPhotoNameTable.User, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
418
         {}
 
419
        /// <summary>
 
420
        /// default constructor with an initial value as a string 
 
421
        /// </summary>
 
422
        public GPhotoUser(string initValue)
 
423
        : base(GPhotoNameTable.User, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
424
        {}
 
425
    }
 
426
 
 
427
    /// <summary>
 
428
    /// GPhotoAccess schema extension describing an access
 
429
    /// </summary>
 
430
    public class GPhotoAccess : SimpleElement
 
431
    {
 
432
        /// <summary>
 
433
        /// default constructor 
 
434
        /// </summary>
 
435
        public GPhotoAccess()
 
436
        : base(GPhotoNameTable.Access, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
437
         {}
 
438
        /// <summary>
 
439
        /// default constructor with an initial value as a string 
 
440
        /// </summary>
 
441
        public GPhotoAccess(string initValue)
 
442
        : base(GPhotoNameTable.Access, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
443
        {}
 
444
    }
 
445
 
 
446
    /// <summary>
 
447
    /// GPhotoBytesUsed schema extension describing an bytesUsed
 
448
    /// </summary>
 
449
    public class GPhotoBytesUsed : SimpleElement
 
450
    {
 
451
        /// <summary>
 
452
        /// default constructor 
 
453
        /// </summary>
 
454
        public GPhotoBytesUsed()
 
455
        : base(GPhotoNameTable.BytesUsed, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
456
         {}
 
457
        /// <summary>
 
458
        /// default constructor with an initial value as a string 
 
459
        /// </summary>
 
460
        public GPhotoBytesUsed(string initValue)
 
461
        : base(GPhotoNameTable.BytesUsed, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
462
        {}
 
463
    }
 
464
 
 
465
    /// <summary>
 
466
    /// GPhotoLocation schema extension describing an location
 
467
    /// </summary>
 
468
    public class GPhotoLocation : SimpleElement
 
469
    {
 
470
        /// <summary>
 
471
        /// default constructor 
 
472
        /// </summary>
 
473
        public GPhotoLocation()
 
474
        : base(GPhotoNameTable.Location, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
475
         {}
 
476
        /// <summary>
 
477
        /// default constructor with an initial value as a string 
 
478
        /// </summary>
 
479
        public GPhotoLocation(string initValue)
 
480
        : base(GPhotoNameTable.Location, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
481
        {}
 
482
    }
 
483
 
 
484
    /// <summary>
 
485
    /// GPhotoName schema extension describing an name
 
486
    /// </summary>
 
487
    public class GPhotoName : SimpleElement
 
488
    {
 
489
        /// <summary>
 
490
        /// default constructor 
 
491
        /// </summary>
 
492
        public GPhotoName()
 
493
        : base(GPhotoNameTable.Name, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
494
         {}
 
495
        /// <summary>
 
496
        /// default constructor with an initial value as a string 
 
497
        /// </summary>
 
498
        public GPhotoName(string initValue)
 
499
        : base(GPhotoNameTable.Name, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
500
        {}
 
501
    }
 
502
 
 
503
    /// <summary>
 
504
    /// GPhotoNumPhotos schema extension describing an numphotos
 
505
    /// </summary>
 
506
    public class GPhotoNumPhotos : SimpleElement
 
507
    {
 
508
        /// <summary>
 
509
        /// default constructor 
 
510
        /// </summary>
 
511
        public GPhotoNumPhotos()
 
512
        : base(GPhotoNameTable.NumPhotos, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
513
         {}
 
514
        /// <summary>
 
515
        /// default constructor with an initial value as a string 
 
516
        /// </summary>
 
517
        public GPhotoNumPhotos(string initValue)
 
518
        : base(GPhotoNameTable.NumPhotos, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
519
        {}
 
520
    }
 
521
 
 
522
    /// <summary>
 
523
    /// GPhotoNumPhotosRemaining schema extension describing an numphotosremaining
 
524
    /// </summary>
 
525
    public class GPhotoNumPhotosRemaining : SimpleElement
 
526
    {
 
527
        /// <summary>
 
528
        /// default constructor 
 
529
        /// </summary>
 
530
        public GPhotoNumPhotosRemaining()
 
531
        : base(GPhotoNameTable.NumPhotosRemaining, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
532
         {}
 
533
        /// <summary>
 
534
        /// default constructor with an initial value as a string 
 
535
        /// </summary>
 
536
        public GPhotoNumPhotosRemaining(string initValue)
 
537
        : base(GPhotoNameTable.NumPhotosRemaining, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
538
        {}
 
539
    }
 
540
 
 
541
    /// <summary>
 
542
    /// GPhotoChecksum schema extension describing an checksum
 
543
    /// </summary>
 
544
    public class GPhotoChecksum : SimpleElement
 
545
    {
 
546
        /// <summary>
 
547
        /// default constructor 
 
548
        /// </summary>
 
549
        public GPhotoChecksum()
 
550
        : base(GPhotoNameTable.Checksum, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
551
         {}
 
552
        /// <summary>
 
553
        /// default constructor with an initial value as a string 
 
554
        /// </summary>
 
555
        public GPhotoChecksum(string initValue)
 
556
        : base(GPhotoNameTable.Checksum, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
557
        {}
 
558
    }
 
559
 
 
560
    /// <summary>
 
561
    /// GPhotoClient schema extension describing an client
 
562
    /// </summary>
 
563
    public class GPhotoClient : SimpleElement
 
564
    {
 
565
        /// <summary>
 
566
        /// default constructor 
 
567
        /// </summary>
 
568
        public GPhotoClient()
 
569
        : base(GPhotoNameTable.Client, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
570
         {}
 
571
        /// <summary>
 
572
        /// default constructor with an initial value as a string 
 
573
        /// </summary>
 
574
        public GPhotoClient(string initValue)
 
575
        : base(GPhotoNameTable.Client, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
576
        {}
 
577
    }
 
578
 
 
579
    /// <summary>
 
580
    /// GPhotoHeight schema extension describing an height
 
581
    /// </summary>
 
582
    public class GPhotoHeight : SimpleElement
 
583
    {
 
584
        /// <summary>
 
585
        /// default constructor 
 
586
        /// </summary>
 
587
        public GPhotoHeight()
 
588
        : base(GPhotoNameTable.Height, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
589
         {}
 
590
        /// <summary>
 
591
        /// default constructor with an initial value as a string 
 
592
        /// </summary>
 
593
        public GPhotoHeight(string initValue)
 
594
        : base(GPhotoNameTable.Height, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
595
        {}
 
596
    }
 
597
 
 
598
    /// <summary>
 
599
    /// GPhotoPosition schema extension describing an position
 
600
    /// </summary>
 
601
    public class GPhotoPosition : SimpleElement
 
602
    {
 
603
        /// <summary>
 
604
        /// default constructor 
 
605
        /// </summary>
 
606
        public GPhotoPosition()
 
607
        : base(GPhotoNameTable.Position, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
608
         {}
 
609
        /// <summary>
 
610
        /// default constructor with an initial value as a string 
 
611
        /// </summary>
 
612
        public GPhotoPosition(string initValue)
 
613
        : base(GPhotoNameTable.Position, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
614
        {}
 
615
    }
 
616
 
 
617
    /// <summary>
 
618
    /// GPhotoRotation schema extension describing an rotation
 
619
    /// </summary>
 
620
    public class GPhotoRotation : SimpleElement
 
621
    {
 
622
        /// <summary>
 
623
        /// default constructor 
 
624
        /// </summary>
 
625
        public GPhotoRotation()
 
626
        : base(GPhotoNameTable.Rotation, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
627
         {}
 
628
        /// <summary>
 
629
        /// default constructor with an initial value as a string 
 
630
        /// </summary>
 
631
        public GPhotoRotation(string initValue)
 
632
        : base(GPhotoNameTable.Rotation, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
633
        {}
 
634
    }
 
635
 
 
636
    /// <summary>
 
637
    /// GPhotoSize schema extension describing an size
 
638
    /// </summary>
 
639
    public class GPhotoSize : SimpleElement
 
640
    {
 
641
        /// <summary>
 
642
        /// default constructor 
 
643
        /// </summary>
 
644
        public GPhotoSize()
 
645
        : base(GPhotoNameTable.Size, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
646
         {}
 
647
        /// <summary>
 
648
        /// default constructor with an initial value as a string 
 
649
        /// </summary>
 
650
        public GPhotoSize(string initValue)
 
651
        : base(GPhotoNameTable.Size, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
652
        {}
 
653
    }
 
654
 
 
655
    /// <summary>
 
656
    /// GPhotoTimestamp schema extension describing an timestamp
 
657
    /// </summary>
 
658
    public class GPhotoTimestamp : SimpleElement
 
659
    {
 
660
        /// <summary>
 
661
        /// default constructor 
 
662
        /// </summary>
 
663
        public GPhotoTimestamp()
 
664
        : base(GPhotoNameTable.Timestamp, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
665
         {}
 
666
        /// <summary>
 
667
        /// default constructor with an initial value as a string 
 
668
        /// </summary>
 
669
        public GPhotoTimestamp(string initValue)
 
670
        : base(GPhotoNameTable.Timestamp, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
671
        {}
 
672
    }
 
673
 
 
674
 
 
675
    /// <summary>
 
676
    /// GPhotoVersion schema extension describing an version
 
677
    /// </summary>
 
678
    public class GPhotoVersion : SimpleElement
 
679
    {
 
680
        /// <summary>
 
681
        /// default constructor 
 
682
        /// </summary>
 
683
        public GPhotoVersion()
 
684
        : base(GPhotoNameTable.Version, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
685
         {}
 
686
        /// <summary>
 
687
        /// default constructor with an initial value as a string 
 
688
        /// </summary>
 
689
        public GPhotoVersion(string initValue)
 
690
        : base(GPhotoNameTable.Version, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
691
        {}
 
692
    }
 
693
 
 
694
    /// <summary>
 
695
    /// GPhotoPhotoId schema extension describing an photoid
 
696
    /// </summary>
 
697
    public class GPhotoPhotoId : SimpleElement
 
698
    {
 
699
        /// <summary>
 
700
        /// default constructor 
 
701
        /// </summary>
 
702
        public GPhotoPhotoId()
 
703
        : base(GPhotoNameTable.Photoid, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
704
         {}
 
705
        /// <summary>
 
706
        /// default constructor with an initial value as a string 
 
707
        /// </summary>
 
708
        public GPhotoPhotoId(string initValue)
 
709
        : base(GPhotoNameTable.Photoid, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
710
        {}
 
711
    }
 
712
 
 
713
    /// <summary>
 
714
    /// GPhotoWidth schema extension describing an width
 
715
    /// </summary>
 
716
    public class GPhotoWidth : SimpleElement
 
717
    {
 
718
        /// <summary>
 
719
        /// default constructor 
 
720
        /// </summary>
 
721
        public GPhotoWidth()
 
722
        : base(GPhotoNameTable.Width, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
723
         {}
 
724
        /// <summary>
 
725
        /// default constructor with an initial value as a string 
 
726
        /// </summary>
 
727
        public GPhotoWidth(string initValue)
 
728
        : base(GPhotoNameTable.Width, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
729
        {}
 
730
    }
 
731
 
 
732
    /// <summary>
 
733
    /// GPhotoWeight schema extension describing an weight
 
734
    /// </summary>
 
735
    public class GPhotoWeight : SimpleElement
 
736
    {
 
737
        /// <summary>
 
738
        /// default constructor 
 
739
        /// </summary>
 
740
        public GPhotoWeight()
 
741
        : base(GPhotoNameTable.Weight, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos)
 
742
         {}
 
743
        /// <summary>
 
744
        /// default constructor with an initial value as a string 
 
745
        /// </summary>
 
746
        public GPhotoWeight(string initValue)
 
747
        : base(GPhotoNameTable.Weight, GPhotoNameTable.gPhotoPrefix, GPhotoNameTable.NSGPhotos, initValue)
 
748
        {}
 
749
    }
 
750
}