~pete-woods/hud/tweak-search-parameters

« back to all changes in this revision

Viewing changes to service/Window.h

  • Committer: Pete Woods
  • Date: 2014-02-18 13:35:12 UTC
  • Revision ID: pete.woods@canonical.com-20140218133512-bnrkd5sbd2jr6fpo
Make legacy queries return no results with an empty search string

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef HUD_SERVICE_WINDOW_H_
20
20
#define HUD_SERVICE_WINDOW_H_
21
21
 
 
22
#include <service/Query.h>
22
23
#include <service/Result.h>
23
24
#include <service/WindowContext.h>
24
25
 
35
36
 
36
37
        virtual ~WindowToken();
37
38
 
38
 
        virtual void search(const QString &query, QList<Result> &results) = 0;
 
39
        virtual void search(const QString &query,
 
40
                        Query::EmptyBehaviour emptyBehaviour, QList<Result> &results) = 0;
39
41
 
40
42
        virtual void execute(unsigned long long commandId) = 0;
41
43