1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
9 #ifdef MOZ_ENABLE_QMSYSTEM2
10 #include "qmdevicemode.h"
11 #include "qmdisplaystate.h"
12 #include "qmactivity.h"
14 #include "nsNativeAppSupportBase.h"
17 class nsNativeAppSupportQt
: public QObject
, public nsNativeAppSupportBase
21 NS_IMETHOD
Start(bool* aRetVal
);
22 NS_IMETHOD
Stop(bool* aResult
);
24 #ifdef MOZ_ENABLE_QMSYSTEM2
26 void activityChanged(MeeGo::QmActivity::Activity activity
);
27 void deviceModeChanged(MeeGo::QmDeviceMode::DeviceMode mode
);
28 void displayStateChanged(MeeGo::QmDisplayState::DisplayState state
);
32 MeeGo::QmDeviceMode mDeviceMode
;
33 MeeGo::QmDisplayState mDisplayState
;
34 MeeGo::QmActivity mActivity
;