diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-06 11:14:30 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-10 10:44:55 (GMT) |
commit | 34c08ff7048419713464b28679ac15a250bd7dd1 (patch) | |
tree | b85e861a45ddd88e0dc0547f4b763fc46c67450e /tools/qmeegographicssystemhelper/mlivepixmap_p.h | |
parent | 06159e2dbe169e05d9fd3f450d2993208e6dd21d (diff) | |
download | Qt-34c08ff7048419713464b28679ac15a250bd7dd1.zip Qt-34c08ff7048419713464b28679ac15a250bd7dd1.tar.gz Qt-34c08ff7048419713464b28679ac15a250bd7dd1.tar.bz2 |
Imported meego graphics system helper sources.
From http://www.gitorious.com/meego-graphics/meego-graphics
Diffstat (limited to 'tools/qmeegographicssystemhelper/mlivepixmap_p.h')
-rw-r--r-- | tools/qmeegographicssystemhelper/mlivepixmap_p.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tools/qmeegographicssystemhelper/mlivepixmap_p.h b/tools/qmeegographicssystemhelper/mlivepixmap_p.h new file mode 100644 index 0000000..4ff64de --- /dev/null +++ b/tools/qmeegographicssystemhelper/mlivepixmap_p.h @@ -0,0 +1,39 @@ +/*************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation +** +** This library 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 +** and appearing in the file LICENSE.LGPL included in the packaging +** of this file. +** +****************************************************************************/ + +#include "mlivepixmap.h" + +#ifndef MLIVEPIXMAP_P_H +#define MLIVEPIXMAP_P_H + +class MLivePixmapPrivate +{ +public: + Q_DECLARE_PUBLIC(MLivePixmap); + MLivePixmapPrivate(); + void copyBackFrom(const void *raw); + virtual ~MLivePixmapPrivate(); + + QSharedMemory *shm; + int shmSerial; + bool owns; + MLiveImage *parentImage; + + MLivePixmap *q_ptr; + + friend class MLiveImage; + friend class MLiveImagePrivate; +}; + +#endif
\ No newline at end of file |