Added qmafw-gst-subtitles-renderer-0.0.55 for Meego Harmattan 1.2
[mafwsubrenderer] / qmafw-gst-subtitles-renderer / unittests / ut_MafwGstRenderer / QmSystemStub.cpp
1 /*
2  * This file is part of QMAFW
3  *
4  * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). All rights
5  * reserved.
6  *
7  * Contact: Visa Smolander <visa.smolander@nokia.com>
8  *
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.
15  *
16  */
17
18 #include <qmdisplaystate.h>
19 #include <QDebug>
20
21 int global_qmsystemstub_setBlankingPauseCalled;
22
23 namespace MeeGo {
24     QmDisplayState::QmDisplayState(QObject* parent) : QObject(parent)
25     {
26     }
27
28     QmDisplayState::~QmDisplayState(){}
29
30     bool QmDisplayState::setBlankingPause(void)
31     {
32         global_qmsystemstub_setBlankingPauseCalled++;
33         return true;
34     }
35     bool QmDisplayState::cancelBlankingPause(void)
36     {
37         return true;
38     }
39 }