~savilerow-team/savilerow/unity-scope-selfservicebill

« back to all changes in this revision

Viewing changes to src/SelfServiceBillScope.h

  • Committer: Scott Sweeny
  • Date: 2014-02-19 03:31:56 UTC
  • Revision ID: scott.sweeny@canonical.com-20140219033156-0qful0zw6bo7mk4k
Add a simple preview

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#define SELFSERVICEBILLSCOPE_H
22
22
 
23
23
#include <unity/scopes/ScopeBase.h>
 
24
#include <unity/scopes/PreviewReply.h>
 
25
#include <unity/scopes/PreviewWidget.h>
 
26
#include <unity/scopes/VariantBuilder.h>
24
27
#include <unity/scopes/Query.h>
25
28
#include <string>
26
29
#include <QString>
53
56
    //gulong m_disabledScopesSig;
54
57
};
55
58
 
 
59
class SelfServiceBillPreview : public unity::scopes::PreviewQuery
 
60
{
 
61
public:
 
62
    SelfServiceBillPreview(SelfServiceBillScope &scope, unity::scopes::Result const& result);
 
63
    virtual void cancelled() override;
 
64
    virtual void run(unity::scopes::PreviewReplyProxy const& reply) override;
 
65
 
 
66
private:
 
67
    const SelfServiceBillScope &scope;
 
68
    const unity::scopes::Result result;
 
69
};
 
70
 
56
71
#endif