85
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Private implementation of Baget.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef BAGET_P_H
|
|
19 |
#define BAGET_P_H
|
|
20 |
|
|
21 |
#include "baget.h"
|
|
22 |
|
|
23 |
class BagetPrivate
|
|
24 |
{
|
|
25 |
|
|
26 |
public:
|
|
27 |
|
|
28 |
BagetPrivate(Baget * const bagetPublic);
|
|
29 |
~BagetPrivate();
|
|
30 |
|
|
31 |
void start();
|
|
32 |
void stop();
|
|
33 |
void resume();
|
|
34 |
void suspend();
|
|
35 |
|
|
36 |
BagetState currentState();
|
|
37 |
|
|
38 |
private:
|
|
39 |
|
|
40 |
Q_DISABLE_COPY(BagetPrivate)
|
|
41 |
|
|
42 |
private:
|
|
43 |
|
|
44 |
Baget *m_q;
|
|
45 |
BagetState mState;
|
|
46 |
|
|
47 |
};
|
|
48 |
|
|
49 |
#endif // BAGET_P_H
|