~webapps/unity-js-scopes/trunk

« back to all changes in this revision

Viewing changes to src/bindings/src/online-account-client.h

  • Committer: Marcus Tomlinson
  • Date: 2016-02-25 13:54:31 UTC
  • mfrom: (134.1.2 oa)
  • Revision ID: marcus.tomlinson@canonical.com-20160225135431-hm1wi21gv3v4xw24
Fix OAClient object creation failure

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2015 Canonical Ltd.
 
2
 * Copyright 2015, 2016 Canonical Ltd.
3
3
 *
4
4
 * This file is part of unity-js-scopes.
5
5
 *
123
123
 
124
124
 private:
125
125
 
 
126
  void setupServiceUpdateCallback();
 
127
 
126
128
  static void service_update_callback(std::shared_ptr<OnlineAccountClient> self,
127
129
                                      unity::scopes::OnlineAccountClient::ServiceStatus const&);
128
130
 
130
132
 
131
133
  std::unique_ptr<unity::scopes::OnlineAccountClient> oa_client_;
132
134
 
 
135
  bool service_update_callback_set_;
133
136
  v8::Isolate* isolate_;
134
137
};
135
138