~stolowski/unity-scope-click/update-for-api-0.5.0

« back to all changes in this revision

Viewing changes to scope/clickstore/store-scope.cpp

  • Committer: Pawel Stolowski
  • Date: 2014-06-18 16:23:50 UTC
  • Revision ID: pawel.stolowski@canonical.com-20140618162350-c9p597gvi2gsuqlu
More updates for new API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    return scopes::PreviewQueryBase::UPtr{new click::Preview(result, metadata, client, nam)};
90
90
}
91
91
 
92
 
unity::scopes::ActivationQueryBase::UPtr click::Scope::perform_action(unity::scopes::Result const& /* result */, unity::scopes::ActionMetadata const& metadata, std::string const& /* widget_id */, std::string const& action_id)
 
92
unity::scopes::ActivationQueryBase::UPtr click::Scope::perform_action(unity::scopes::Result const& result, unity::scopes::ActionMetadata const& metadata, std::string const& /* widget_id */, std::string const& action_id)
93
93
{
94
 
    auto activation = new ScopeActivation();
 
94
    auto activation = new ScopeActivation(result, metadata);
95
95
    qDebug() << "perform_action called with action_id" << QString().fromStdString(action_id);
96
96
 
97
97
    // note: OPEN_CLICK and OPEN_ACCOUNTS actions are handled directly by the Dash