2 * This file is part of QMAFW
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). All rights
7 * Contact: Visa Smolander <visa.smolander@nokia.com>
9 * This software, including documentation, is protected by copyright controlled
10 * by Nokia Corporation. All rights are reserved. Copying, including
11 * reproducing, storing, adapting or translating, any or all of this material
12 * requires the prior written consent of Nokia Corporation. This material also
13 * contains confidential information which may not be disclosed to others
14 * without the prior written consent of Nokia.
18 #ifndef MAFW_MMC_MONITOR_H
19 #define MAFW_MMC_MONITOR_H
26 * Helper class for MMC state.
28 class MafwMmcMonitor : public QObject
33 static const QString MMC_URI_PREFIX;
35 MafwMmcMonitor(QObject* parent);
43 static void unmountEvent(GVolumeMonitor* mon,
46 static void mountEvent(GVolumeMonitor* mon,
49 static bool isMyDocs(GMount* mount);
52 void preUnmountEvent(const QString &state);
55 GVolumeMonitor* m_gVolMonitor;
59 #endif // MAFW_MMC_MONITOR_H