~mardy/unity-scopes-api/clientid-1554040

« back to all changes in this revision

Viewing changes to include/unity/scopes/internal/QueryCtrlImpl.h

  • Committer: CI bot
  • Author(s): Tarmac
  • Date: 2014-03-12 16:58:32 UTC
  • mfrom: (163.45.63 devel)
  • Revision ID: ps-jenkins@lists.canonical.com-20140312165832-ngmnoud825y533pk
Sync with devel branch - updated scopes API to 0.4.0. See RELEASE_NOTES for list of all changes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <unity/scopes/internal/MWQueryCtrlProxyFwd.h>
23
23
#include <unity/scopes/internal/MWReplyProxyFwd.h>
24
 
#include <unity/scopes/internal/ObjectProxyImpl.h>
25
 
#include <unity/scopes/QueryCtrlProxyFwd.h>
 
24
#include <unity/scopes/internal/ObjectImpl.h>
 
25
#include <unity/scopes/QueryCtrl.h>
26
26
 
27
27
namespace unity
28
28
{
39
39
// Calls to push() after finished() was called are ignored.
40
40
// If the proxy goes out of scope before finished was called, it implicitly calls finished().
41
41
 
42
 
class QueryCtrlImpl : public virtual ObjectProxyImpl
 
42
class QueryCtrlImpl : public virtual unity::scopes::QueryCtrl, public virtual ObjectImpl
43
43
{
44
44
public:
45
45
    QueryCtrlImpl(MWQueryCtrlProxy const& ctrl_proxy, MWReplyProxy const& reply_proxy);
46
46
    virtual ~QueryCtrlImpl();
47
47
 
48
 
    void cancel();
49
 
 
50
 
    static QueryCtrlProxy create(MWQueryCtrlProxy const& ctrl_proxy, MWReplyProxy const& reply_proxy);
 
48
    virtual void cancel() override;
51
49
 
52
50
private:
53
51
    MWQueryCtrlProxy fwd() const;