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 #include "MafwMmcMonitor.h"
21 bool stubMmcMounted = true;
22 MafwMmcMonitor* stubMmcMonitor;
24 const QString MafwMmcMonitor::MMC_URI_PREFIX="file:///home/user/MyDocs";
26 MafwMmcMonitor::MafwMmcMonitor(QObject* parent) : QObject(parent), m_mounted(false)
28 stubMmcMonitor = this;
31 MafwMmcMonitor::~MafwMmcMonitor()
36 bool MafwMmcMonitor::isMounted()
38 return stubMmcMounted;
41 void MafwMmcMonitor::preUnmountEvent(const QString &/*state*/)
43 Q_EMIT stubMmcMonitor->preUnmount();