~ci-train-bot/hud/hud-ubuntu-yakkety-landing-022

« back to all changes in this revision

Viewing changes to service/VoiceImpl.h

  • Committer: CI Train Bot
  • Author(s): Pete Woods
  • Date: 2015-08-20 13:45:56 UTC
  • mfrom: (398.1.21 14.10)
  • Revision ID: ci-train-bot@canonical.com-20150820134556-j0jje7kanocxo7dl
Remove unity-voice Fixes: #1483210

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef HUD_SERVICE_VOICEIMPL_H_
20
20
#define HUD_SERVICE_VOICEIMPL_H_
21
21
 
22
 
#include <libunityvoice/VoiceInterface.h>
23
22
#include <service/Voice.h>
24
23
 
25
24
namespace hud {
29
28
Q_OBJECT
30
29
 
31
30
public:
32
 
        explicit VoiceImpl(
33
 
                        QSharedPointer<ComCanonicalUnityVoiceInterface> voiceInterface);
 
31
        explicit VoiceImpl();
34
32
 
35
33
        virtual ~VoiceImpl();
36
34
 
37
35
        QString listen(const QList<QStringList>& commands) override;
38
36
 
39
 
private Q_SLOTS:
40
 
        void listenFinished(QDBusPendingCallWatcher *call);
41
 
 
42
37
private:
43
 
        QSharedPointer<ComCanonicalUnityVoiceInterface> m_voiceInterface;
44
 
        QString m_query;
45
 
        QEventLoop m_listenWait;
46
 
        bool m_isListening = false;
47
38
};
48
39
 
49
40
} // namespace service