~ubuntu-branches/ubuntu/utopic/autopilot-qt/utopic

« back to all changes in this revision

Viewing changes to driver/dbus_adaptor.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Thomi Richards, Ubuntu daily release
  • Date: 2013-11-06 10:03:49 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20131106100349-9zlkhmhns3fsxup6
Tags: 1.4+14.04.20131106.1-0ubuntu1
[ Thomi Richards ]
* Update packaging details so upgrading from 1.3 -> 1.4 is seamless.
* Make Qt backend report wire protocol version when it starts. (LP:
  #1248293)

[ Ubuntu daily release ]
* Automatic snapshot from revision 74

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#include <QDebug>
19
19
 
 
20
QString AutopilotAdaptor::WIRE_PROTO_VERSION("1.4");
20
21
/*
21
22
 * Implementation of adaptor class AutopilotAdaptor
22
23
 */
51
52
void AutopilotAdaptor::GetVersion(const QDBusMessage &message)
52
53
{
53
54
    QDBusMessage reply =  message.createReply();
54
 
    reply << QVariant(QString("1.3"));
 
55
    reply << QVariant(AutopilotAdaptor::WIRE_PROTO_VERSION);
55
56
    QDBusConnection::sessionBus().send(reply);
56
57
}
57
58