aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppJingleIq.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2015-08-31 14:33:25 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2015-08-31 14:33:25 +0200
commit596e81b331da8d24ca3d9f2604752f692e1ad3fe (patch)
tree251067c067a3e9c2995b2a7b15c3ed42e6315268 /src/base/QXmppJingleIq.h
parentaa131bd436b528a68bdcea4fab180b551f2a0d81 (diff)
downloadqxmpp-596e81b331da8d24ca3d9f2604752f692e1ad3fe.tar.gz
allow QXmppJingleIq to have multiple contents
Diffstat (limited to 'src/base/QXmppJingleIq.h')
-rw-r--r--src/base/QXmppJingleIq.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/base/QXmppJingleIq.h b/src/base/QXmppJingleIq.h
index 5156646d..7e21b054 100644
--- a/src/base/QXmppJingleIq.h
+++ b/src/base/QXmppJingleIq.h
@@ -213,6 +213,7 @@ public:
void addTransportCandidate(const QXmppJingleCandidate &candidate);
QList<QXmppJingleCandidate> transportCandidates() const;
+ void setTransportCandidates(const QList<QXmppJingleCandidate> &candidates);
QString transportUser() const;
void setTransportUser(const QString &user);
@@ -296,8 +297,9 @@ public:
Action action() const;
void setAction(Action action);
- Content& content();
- const Content& content() const;
+ void addContent(const Content &content);
+ QList<Content> contents() const;
+ void setContents(const QList<Content> &contents);
QString initiator() const;
void setInitiator(const QString &initiator);