summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/utils.h
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-09-16 17:08:58 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-09-23 12:36:29 (GMT)
commit6700a53676265787ab46106602234448e0174e55 (patch)
tree245cf82b5a5152b6f34a505434f4ed6249fffb1f /src/3rdparty/phonon/mmf/utils.h
parent61161589376a3bb2dffaf898ca50449774b48565 (diff)
downloadQt-6700a53676265787ab46106602234448e0174e55.zip
Qt-6700a53676265787ab46106602234448e0174e55.tar.gz
Qt-6700a53676265787ab46106602234448e0174e55.tar.bz2
Added a utility function for reading color of individual pixels from the screen
Diffstat (limited to 'src/3rdparty/phonon/mmf/utils.h')
-rw-r--r--src/3rdparty/phonon/mmf/utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/utils.h b/src/3rdparty/phonon/mmf/utils.h
index 5a26018..7db7831 100644
--- a/src/3rdparty/phonon/mmf/utils.h
+++ b/src/3rdparty/phonon/mmf/utils.h
@@ -22,6 +22,8 @@ along with this library. If not, see <http://www.gnu.org/licenses/>.
#include <private/qcore_symbian_p.h>
#include <e32debug.h> // for RDebug
+#include <QColor>
+
#include "defs.h"
QT_BEGIN_NAMESPACE
@@ -51,6 +53,13 @@ void panic(PanicCode code);
* type. If it is neither, the function returns MediaTypeUnknown.
*/
MediaType mimeTypeToMediaType(const TDesC& mimeType);
+
+#ifdef _DEBUG
+/**
+ * Retrieve color of specified pixel from the screen.
+ */
+QColor getScreenPixel(const QPoint& pos);
+#endif
}
/**