~ubuntu-branches/ubuntu/quantal/evolution-data-server/quantal

« back to all changes in this revision

Viewing changes to calendar/libedata-cal/e-data-cal-enumtypes.c

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-07-03 22:41:23 UTC
  • mfrom: (1.1.100)
  • Revision ID: package-import@ubuntu.com-20120703224123-90dydkyfyvff8s0s
Tags: 3.5.3.1-0ubuntu1
* New upstream release 3.5.3.1.
* debian/control:
  - Drop libgconf2-dev from Build-Depends.
  - Bump versions for glib, goa, and libsoup in Build-Depends.
  - Add a Build-Depends on libgcr-3-dev (>= 3.4)
  - Rename packages following upstream SONAME changes.
  - Add Depends on libgnome-keyring-dev to libedataserver1.2-dev.
* debian/rules:
  - Update mkshlibs arguments for libcamel-1.2-38 instead of -33; as it was
    renamed in control due to the soname change.
  - Strip out -Bsymbolic-functions from LDFLAGS.
* Renamed install files in debian/:
  - libcamel-1.2-33.install => libcamel-1.2-38.install
  - libebackend-1.2-2.install => libebackend-1.2-4.install
  - libebook-1.2-13.install => libebook-1.2-17.install
  - libecal-1.2-11.install => libecal-1.2-15.install
  - libedata-book-1.2-13.install => libedata-book-1.2-15.install
  - libedata-cal-1.2-15.install => libedata-cal-1.2-18.install
  - libedataserver-1.2-16.install => libedataserver-1.2-17.install
  - libedataserverui-3.0-1.install => libedataserverui-3.0-4.install
* debian/patches/google_tests_fpic.patch: build tests with -fPIC; otherwise
  build fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
 
3
 
 
4
 
#include <e-data-cal-types.h>
5
 
#include "e-data-cal-enumtypes.h"
6
 
 
7
 
/* enumerations from "e-data-cal-types.h" */
8
 
GType
9
 
e_data_cal_call_status_get_type (void)
10
 
{
11
 
  static GType etype = 0;
12
 
  if (etype == 0) {
13
 
    static const GEnumValue values[] = {
14
 
      { Success, "Success", "success" },
15
 
      { Busy, "Busy", "busy" },
16
 
      { RepositoryOffline, "RepositoryOffline", "repositoryoffline" },
17
 
      { PermissionDenied, "PermissionDenied", "permissiondenied" },
18
 
      { InvalidRange, "InvalidRange", "invalidrange" },
19
 
      { ObjectNotFound, "ObjectNotFound", "objectnotfound" },
20
 
      { InvalidObject, "InvalidObject", "invalidobject" },
21
 
      { ObjectIdAlreadyExists, "ObjectIdAlreadyExists", "objectidalreadyexists" },
22
 
      { AuthenticationFailed, "AuthenticationFailed", "authenticationfailed" },
23
 
      { AuthenticationRequired, "AuthenticationRequired", "authenticationrequired" },
24
 
      { UnsupportedField, "UnsupportedField", "unsupportedfield" },
25
 
      { UnsupportedMethod, "UnsupportedMethod", "unsupportedmethod" },
26
 
      { UnsupportedAuthenticationMethod, "UnsupportedAuthenticationMethod", "unsupportedauthenticationmethod" },
27
 
      { TLSNotAvailable, "TLSNotAvailable", "tlsnotavailable" },
28
 
      { NoSuchCal, "NoSuchCal", "nosuchcal" },
29
 
      { UnknownUser, "UnknownUser", "unknownuser" },
30
 
      { OfflineUnavailable, "OfflineUnavailable", "offlineunavailable" },
31
 
      { SearchSizeLimitExceeded, "SearchSizeLimitExceeded", "searchsizelimitexceeded" },
32
 
      { SearchTimeLimitExceeded, "SearchTimeLimitExceeded", "searchtimelimitexceeded" },
33
 
      { InvalidQuery, "InvalidQuery", "invalidquery" },
34
 
      { QueryRefused, "QueryRefused", "queryrefused" },
35
 
      { CouldNotCancel, "CouldNotCancel", "couldnotcancel" },
36
 
      { OtherError, "OtherError", "othererror" },
37
 
      { InvalidServerVersion, "InvalidServerVersion", "invalidserverversion" },
38
 
      { InvalidArg, "InvalidArg", "invalidarg" },
39
 
      { NotSupported, "NotSupported", "notsupported" },
40
 
      { NotOpened, "NotOpened", "notopened" },
41
 
      { 0, NULL, NULL }
42
 
    };
43
 
    etype = g_enum_register_static ("EDataCalCallStatus", values);
44
 
  }
45
 
  return etype;
46
 
}
47
 
GType
48
 
e_data_cal_obj_type_get_type (void)
49
 
{
50
 
  static GType etype = 0;
51
 
  if (etype == 0) {
52
 
    static const GFlagsValue values[] = {
53
 
      { Event, "Event", "event" },
54
 
      { Todo, "Todo", "todo" },
55
 
      { Journal, "Journal", "journal" },
56
 
      { AnyType, "AnyType", "anytype" },
57
 
      { 0, NULL, NULL }
58
 
    };
59
 
    etype = g_flags_register_static ("EDataCalObjType", values);
60
 
  }
61
 
  return etype;
62
 
}
63
 
GType
64
 
e_data_cal_obj_mod_type_get_type (void)
65
 
{
66
 
  static GType etype = 0;
67
 
  if (etype == 0) {
68
 
    static const GFlagsValue values[] = {
69
 
      { This, "This", "this" },
70
 
      { ThisAndPrior, "ThisAndPrior", "thisandprior" },
71
 
      { ThisAndFuture, "ThisAndFuture", "thisandfuture" },
72
 
      { All, "All", "all" },
73
 
      { 0, NULL, NULL }
74
 
    };
75
 
    etype = g_flags_register_static ("EDataCalObjModType", values);
76
 
  }
77
 
  return etype;
78
 
}
79
 
 
80
 
 
81