~mterry/content-hub/ual-parse

« back to all changes in this revision

Viewing changes to src/com/ubuntu/content/detail/transfer.h

  • Committer: Bileto Bot
  • Author(s): Ken VanDine
  • Date: 2017-02-11 00:14:36 UTC
  • mfrom: (316.1.15 ual_cpp_multi_instance)
  • Revision ID: ci-train-bot@canonical.com-20170211001436-ydw4ogxoylfcyzrc
* Ported to UAL's C++ API
* Keep references to HelperInstance, SourceInstance and DestinationInstance on the Transfer

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <QtDBus/QDBusMessage>
26
26
#include <QtDBus/QDBusContext>
27
27
#include <ubuntu/download_manager/error.h>
 
28
#include <ubuntu-app-launch/application.h>
 
29
#include <ubuntu-app-launch/helper.h>
 
30
 
 
31
namespace ual = ubuntu::app_launch;
28
32
 
29
33
namespace com
30
34
{
91
95
    void DownloadError(Ubuntu::DownloadManager::Error* error);
92
96
    QString ContentType();
93
97
    void AddItemsFromDir(QDir dir);
94
 
    QString InstanceId();
95
 
    void SetInstanceId(QString id);
 
98
    std::shared_ptr<ual::Helper::Instance> HelperInstance();
 
99
    void SetHelperInstance(std::shared_ptr<ual::Helper::Instance> instance);
 
100
    std::shared_ptr<ual::Application::Instance> SourceInstance();
 
101
    void SetSourceInstance(std::shared_ptr<ual::Application::Instance> instance);
 
102
    std::shared_ptr<ual::Application::Instance> DestinationInstance();
 
103
    void SetDestinationInstance(std::shared_ptr<ual::Application::Instance> instance);
96
104
 
97
105
  private:
98
106
    struct Private;