~ci-train-bot/content-hub/content-hub-ubuntu-zesty-2179

« back to all changes in this revision

Viewing changes to include/com/ubuntu/content/hub.h

New upstream version to reflect addition of the out of process
peer picker

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    Q_INVOKABLE virtual Transfer* create_share_to_peer_for_type(Peer peer, Type type);
71
71
    Q_INVOKABLE virtual bool has_pending(QString peer_id);
72
72
    Q_INVOKABLE virtual Peer peer_for_app_id(QString app_id);
 
73
    Q_INVOKABLE virtual void requestPeerForType(Type type, QString handler_id);
 
74
    Q_INVOKABLE virtual void selectPeerForAppId(QString app_id, QString peer_id);
 
75
    Q_INVOKABLE virtual void selectPeerForAppIdCancelled(QString app_id);
73
76
 
74
77
    ///
75
78
    // Copy & Paste
90
93
  Q_SIGNALS:
91
94
    void pasteFormatsChanged();
92
95
    void pasteboardChanged();
 
96
    void peerSelected(QString);
 
97
    void peerSelectionCancelled();
93
98
 
94
99
  private Q_SLOTS:
95
100
    void onPasteFormatsChanged(const QStringList &);
 
101
    void onPeerSelected(const QString &, const QString &);
 
102
    void onPeerSelectionCancelled(const QString &);
96
103
  protected:
97
104
    Hub(QObject* = nullptr);
98
105