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

« back to all changes in this revision

Viewing changes to src/NotificationManagerFactory.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) 2011 Intel Corporation
 
3
 *
 
4
 * This library is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU Lesser General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2.1 of the License, or (at your option) version 3.
 
8
 *
 
9
 * This library is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * Lesser General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public
 
15
 * License along with this library; if not, write to the Free Software
 
16
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
17
 * 02110-1301  USA
 
18
 */
 
19
 
 
20
#ifndef __NOTIFICATION_MANAGER_FACTORY_H
 
21
#define __NOTIFICATION_MANAGER_FACTORY_H
 
22
 
 
23
#include "syncevo/declarations.h"
 
24
#include "NotificationManager.h"
 
25
 
 
26
#include <boost/shared_ptr.hpp>
 
27
 
 
28
SE_BEGIN_CXX
 
29
 
 
30
class NotificationBackendBase;
 
31
 
 
32
class NotificationManagerFactory {
 
33
    public:
 
34
        /** Creates the appropriate NotificationManager for the current
 
35
         * platform.
 
36
         * Note: NotificationManagerFactory does not take ownership of
 
37
         * the returned pointer: the user must delete it when done.
 
38
         */
 
39
        static boost::shared_ptr<NotificationManagerBase> createManager();
 
40
};
 
41
 
 
42
SE_END_CXX
 
43
 
 
44
#endif
 
45