2
* This file is part of buteo-sync-plugins-contacts package
4
* Copyright (C) 2013 Jolla Ltd. and/or its subsidiary(-ies).
7
* Contributors: Sateesh Kavuri <sateesh.kavuri@gmail.com>
8
* Mani Chandrasekar <maninc@gmail.com>
9
* Renato Araujo Oliveira Filho <renato.filho@canonical.com>
11
* This library is free software; you can redistribute it and/or
12
* modify it under the terms of the GNU Lesser General Public License
13
* version 2.1 as published by the Free Software Foundation.
15
* This library is distributed in the hope that it will be useful, but
16
* WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* Lesser General Public License for more details.
20
* You should have received a copy of the GNU Lesser General Public
21
* License along with this library; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
29
const int GConfig::MAX_RESULTS = 30;
30
const QString GConfig::SCOPE_URL = "https://www.google.com/m8/feeds/";
31
const QString GConfig::GCONTACT_URL = SCOPE_URL + "/contacts/default/";
33
const QString GConfig::GDATA_VERSION_TAG = "GData-Version";
34
const QString GConfig::GDATA_VERSION = "3.0";
35
const QString GConfig::G_DELETE_OVERRIDE_HEADER = "X-HTTP-Method-Override: DELETE";
36
const QString GConfig::G_ETAG_HEADER = "If-Match";
37
const QString GConfig::G_AUTH_HEADER = "Authorization";
39
/* Query parameters */
40
const QString GConfig::QUERY_TAG = "q";
41
const QString GConfig::MAX_RESULTS_TAG = "max-results";
42
const QString GConfig::START_INDEX_TAG = "start-index";
43
const QString GConfig::UPDATED_MIN_TAG = "updated-min";
44
const QString GConfig::ORDERBY_TAG = "orderby";
45
const QString GConfig::SHOW_DELETED_TAG = "showdeleted";
46
const QString GConfig::REQUIRE_ALL_DELETED = "requirealldeleted";
47
const QString GConfig::SORTORDER_TAG = "sortorder";
48
const QString GConfig::GROUP_MY_CONTACTS_ID = "6";
50
const QString GConfig::PHOTO_TAG = "photos";
51
const QString GConfig::MEDIA_TAG = "media";
52
const QString GConfig::BATCH_TAG = "batch";