Commit [a37af3] Maximize Restore History

move rotatehelper to accelerometer library

Radek Polak Radek Polak 2012-12-14

changed src/applications/mediaplayer/playerwidget.h
changed src/applications/mediaplayer/qbuild.pro
changed src/libraries/accelerometer/qbuild.pro
copied src/applications/mediaplayer/rotate.cpp -> src/libraries/accelerometer/rotatehelper.cpp
copied src/applications/mediaplayer/rotate.h -> src/libraries/accelerometer/rotatehelper.h
src/applications/mediaplayer/playerwidget.h Diff Switch to side-by-side view
Loading...
src/applications/mediaplayer/qbuild.pro Diff Switch to side-by-side view
Loading...
src/libraries/accelerometer/qbuild.pro Diff Switch to side-by-side view
Loading...
src/applications/mediaplayer/rotate.cpp to src/libraries/accelerometer/rotatehelper.cpp
--- a/src/applications/mediaplayer/rotate.cpp
+++ b/src/libraries/accelerometer/rotatehelper.cpp
@@ -1,4 +1,4 @@
-#include "rotate.h"
+#include "rotatehelper.h"
 
 #include <QtopiaServiceRequest>
 #include <QValueSpaceItem>
src/applications/mediaplayer/rotate.h to src/libraries/accelerometer/rotatehelper.h
--- a/src/applications/mediaplayer/rotate.h
+++ b/src/libraries/accelerometer/rotatehelper.h
@@ -1,5 +1,5 @@
-#ifndef __ROTATE_H
-#define __ROTATE_H
+#ifndef __ROTATE_HELPER_H
+#define __ROTATE_HELPER_H
 
 #include <QObject>
 
@@ -8,6 +8,7 @@
 #include <errno.h>
 #include <string.h>
 #include <linux/input.h>
+#include <qtopiaglobal.h>
 
 #include <QTimer>
 
@@ -17,7 +18,7 @@
  * in the direction indicated by the orientation
  */
 
-class RotateHelper : public QObject
+class QTOPIA_EXPORT RotateHelper : public QObject
 {
     Q_OBJECT