~ubuntu-branches/ubuntu/karmic/kdepim/karmic-backports

« back to all changes in this revision

Viewing changes to akonadi/resources/kolabproxy/journalhandler.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi, Alessandro Ghersi, Harald Sitter
  • Date: 2009-06-27 04:40:05 UTC
  • mfrom: (1.1.39 upstream)
  • Revision ID: james.westby@ubuntu.com-20090627044005-4y2vm9xz7rvmzi4p
Tags: 4:4.2.95svn20090701-0ubuntu1
[ Alessandro Ghersi ]
* New upstream release
  - Bump build-deps
* Remove akonadi-kde and libmaildir4 packages
  - remove akonadi-kde.install and libmaildir4.install
  - remove libmaildir4 from debian/rules
  - remove akonadi-kde and libmaildir4 from depends
  - remove akonadi-kde and libmaildir4 from installgen
* Update kdepim-dev.install
* Update kpilot.install
* Add akonadi-kde and libmaildir4 transitional packages

[ Harald Sitter ]
* KAddressbook replaces Kontact << 4.2.85 (LP: #378373)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (C) 2009 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.net
 
3
    Copyright (c) 2009 Andras Mantia <andras@kdab.net>
 
4
 
 
5
    This library is free software; you can redistribute it and/or modify it
 
6
    under the terms of the GNU Library General Public License as published by
 
7
    the Free Software Foundation; either version 2 of the License, or (at your
 
8
    option) any later version.
 
9
 
 
10
    This library is distributed in the hope that it will be useful, but WITHOUT
 
11
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
12
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
 
13
    License for more details.
 
14
 
 
15
    You should have received a copy of the GNU Library General Public License
 
16
    along with this library; see the file COPYING.LIB.  If not, write to the
 
17
    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
18
    02110-1301, USA.
 
19
*/
 
20
 
 
21
#ifndef JOURNALHANDLER_H
 
22
#define JOURNALHANDLER_H
 
23
 
 
24
#include "incidencehandler.h"
 
25
#include <kcal/journal.h>
 
26
#include <boost/shared_ptr.hpp>
 
27
typedef boost::shared_ptr<KCal::Journal> JournalPtr;
 
28
 
 
29
/**
 
30
        @author Andras Mantia <amantia@kde.org>
 
31
*/
 
32
class JournalHandler : public IncidenceHandler {
 
33
public:
 
34
  JournalHandler();
 
35
  virtual ~JournalHandler();
 
36
 
 
37
  virtual QStringList contentMimeTypes();
 
38
 
 
39
private:
 
40
  virtual QByteArray incidenceToXml(KCal::Incidence *incidence);
 
41
  virtual KCal::Incidence* incidenceFromKolab(MessagePtr data);
 
42
  KCal::Journal *journalFromKolab(MessagePtr data);
 
43
};
 
44
 
 
45
#endif