Classes | Functions

datatypes/orientation.h File Reference

QObject based datatype for OrientationData. More...

#include <QDBusArgument>
#include <datatypes/orientationdata.h>

Go to the source code of this file.

Classes

class  Orientation
 QObject facade for OrientationData. More...

Functions

QDBusArgument & operator<< (QDBusArgument &argument, const Orientation &orientation)
 Marshall the Orientation data into a D-Bus argument.
const QDBusArgument & operator>> (const QDBusArgument &argument, Orientation &orientation)
 Unmarshall Orientation data from the D-Bus argument.

Detailed Description

QObject based datatype for OrientationData.

Copyright (C) 2009-2010 Nokia Corporation

Author:
Joep van Gassel <joep.van.gassel@nokia.com>
Timo Rongas <ext-timo.2.rongas@nokia.com>

This file is part of Sensord.

Sensord is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.

Sensord is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Sensord. If not, see <http://www.gnu.org/licenses/>.

Definition in file orientation.h.


Function Documentation

QDBusArgument& operator<< ( QDBusArgument &  argument,
const Orientation orientation 
) [inline]

Marshall the Orientation data into a D-Bus argument.

Parameters:
argument dbus argument.
orientation data to marshall.
Returns:
dbus argument.

Definition at line 133 of file orientation.h.

const QDBusArgument& operator>> ( const QDBusArgument &  argument,
Orientation orientation 
) [inline]

Unmarshall Orientation data from the D-Bus argument.

Parameters:
argument dbus argument.
orientation unmarshalled data.
Returns:
dbus argument.

Definition at line 148 of file orientation.h.