summaryrefslogtreecommitdiff
path: root/ckitcallnotification/ckitcallprovider.h
blob: 49d83a32f1dffd5dd7d936addc97599bb42d1be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef CKITCALLPROVIDER_H
#define CKITCALLPROVIDER_H

#include <sowatch.h>

class ContextProperty;

namespace sowatch
{

class CKitCallProvider : public NotificationProvider
{
    Q_OBJECT
public:
    explicit CKitCallProvider(QObject *parent = 0);
	~CKitCallProvider();

	int getCount(Notification::Type type);

signals:
	void incomingCall(const QString &displayName);
	void endIncomingCall();

protected:
	bool _inCall;
	ContextProperty *_activeCall;

protected slots:
	void activeCallChanged();
};

}

#endif // CKITCALLPROVIDER_H