Imported Upstream version 17.22.1
[platform/upstream/libzypp.git] / zypp / zyppng / base / private / abstracteventsource_p.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 ----------------------------------------------------------------------/
9 *
10 * This file contains private API, this might break at any time between releases.
11 * You have been warned!
12 *
13 */
14 #ifndef ZYPPNG_BASE_PRIVATE_ABSTRACTEVENTSOURCE_P_H_INCLUDED
15 #define ZYPPNG_BASE_PRIVATE_ABSTRACTEVENTSOURCE_P_H_INCLUDED
16
17 #include "base_p.h"
18 #include <zypp/zyppng/base/eventdispatcher.h>
19
20 namespace zyppng {
21
22 class AbstractEventSourcePrivate : public BasePrivate
23 {
24   ZYPP_DECLARE_PUBLIC(AbstractEventSource)
25
26 public:
27   AbstractEventSourcePrivate();
28   std::weak_ptr<EventDispatcher> _ev;
29 };
30
31 }
32
33
34 #endif