~ubuntu-branches/ubuntu/trusty/syncevolution/trusty-proposed

« back to all changes in this revision

Viewing changes to src/backends/akonadi/todossyncsource.h

  • Committer: Bazaar Package Importer
  • Author(s): Tino Keitel
  • Date: 2011-07-20 16:02:02 UTC
  • mfrom: (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110720160202-e8uf7ogw4vh0q0f3
Tags: 1.1.99.5a-1
* New upstream version 1.1.99.5a, first release candiate for 1.2
* Added python-openssl dependency, the HTTP server needs it for HTTPS support
* Added versioned dependency on libsynthesis0 to get required features
* Fixed .orig.tar.gz generation in get-orig-source target
* Added myself to Uploaders:, thanks to David for sponsoring
* Use updated upstream tag for source package generation
* Removed 0001-Replace-with-in-call-to-PKG_CHECK_MODULES.patch, fixed upstream
* Renamed NEWS.Debian to NEWS so that it is actually used
* Updated NEWS for 1.1.99.5a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (c) 2009 Sascha Peilicke <sasch.pe@gmx.de>
 
3
 
 
4
    This application is free software; you can redistribute it and/or modify it
 
5
    under the terms of the GNU Library General Public License as published by
 
6
    the Free Software Foundation; either version 2 of the License, or (at your
 
7
    option) any later version.
 
8
 
 
9
    This application is distributed in the hope that it will be useful, but WITHOUT
 
10
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
11
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
 
12
    License for more details.
 
13
 
 
14
    You should have received a copy of the GNU Library General Public License
 
15
    along with this application; see the file COPYING.LIB.  If not, write to the
 
16
    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
17
    02110-1301, USA.
 
18
*/
 
19
 
 
20
#ifndef TODOSSYNCSOURCE_H
 
21
#define TODOSSYNCSOURCE_H
 
22
 
 
23
#include "akonadisyncsource.h"
 
24
 
 
25
/**
 
26
 *
 
27
 */
 
28
class TodosSyncSourceConfig : public AkonadiSyncSourceConfig
 
29
{
 
30
    Q_OBJECT
 
31
 
 
32
public:
 
33
    TodosSyncSourceConfig()
 
34
        : AkonadiSyncSourceConfig(Settings::self()->todosLastSyncTime().toTime_t(),
 
35
                                  Settings::self()->todosRemoteDatabaseName().toLatin1())
 
36
    {
 
37
        setName(Settings::self()->todosCollectionName().toLatin1());
 
38
        setType("text/x-vcalendar");
 
39
        setSupportedTypes("text/x-vcard:,text/vcard");
 
40
    }
 
41
};
 
42
 
 
43
/**
 
44
 *
 
45
 */
 
46
class TodosSyncSource : public AkonadiSyncSource
 
47
{
 
48
    Q_OBJECT
 
49
 
 
50
public:
 
51
    TodosSyncSource(TimeTrackingObserver *observer,
 
52
                    TodosSyncSourceConfig *config,
 
53
                    SyncManagerConfig *managerConfig);
 
54
};
 
55
 
 
56
#endif