~savilerow-team/savilerow/unity-scope-selfserviceplan

« back to all changes in this revision

Viewing changes to src/SelfServicePlanQuery.h

  • Committer: Scott Sweeny
  • Date: 2014-06-27 19:34:30 UTC
  • mfrom: (16.1.1 api050)
  • Revision ID: scott.sweeny@canonical.com-20140627193430-4smeqvg5vhxg7c0x
Update for Scopes API version 0.5.0  

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2013 Canonical, Ltd.
 
2
 * Copyright (C) 2014 Canonical, Ltd.
3
3
 *
4
4
 * This program is free software: you can redistribute it and/or modify it
5
5
 * under the terms of the GNU General Public License version 3, as published
13
13
 * You should have received a copy of the GNU General Public License along
14
14
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
15
15
 *
16
 
 * Author: Pawel Stolowski <pawel.stolowski@canonical.com>
 
16
 * Author: Scott Sweeny <scott.sweeny@canonical.com>
17
17
 */
18
18
 
19
19
#ifndef SELFSERVICEPLANQUERY_H
28
28
class SelfServicePlanQuery: public unity::scopes::SearchQueryBase
29
29
{
30
30
public:
31
 
    SelfServicePlanQuery(unity::scopes::CannedQuery const& query, QStringList const& scopes, QString const& locale);
 
31
    SelfServicePlanQuery(unity::scopes::CannedQuery const& query, unity::scopes::SearchMetadata const& metadata);
32
32
    
33
33
    virtual void run(unity::scopes::SearchReplyProxy const& reply) override;
34
34
    virtual void cancelled() override;
35
35
 
36
36
private:
37
37
    unity::scopes::CannedQuery query_;
38
 
    QStringList scopes_;
39
38
};
40
39
 
41
40
#endif