14
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 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:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
/*
|
|
18 |
* CEngSettingsObserver.h
|
|
19 |
*
|
|
20 |
* Created on: Jun 17, 2010
|
|
21 |
* Author: lachamar
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef CENGSETTINGSOBSERVER_H_
|
|
25 |
#define CENGSETTINGSOBSERVER_H_
|
|
26 |
|
|
27 |
|
|
28 |
#endif /* CENGSETTINGSOBSERVER_H_ */
|
|
29 |
|
|
30 |
#include <e32base.h>
|
|
31 |
#include <btserversdkcrkeys.h>
|
|
32 |
#include <btengsettings.h>
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
class CEngSettingsObserver : public CBase,public MBTEngSettingsObserver
|
|
37 |
{
|
|
38 |
|
|
39 |
public:
|
|
40 |
|
|
41 |
void PowerStateChanged( TBTPowerStateValue aState );
|
|
42 |
|
|
43 |
void VisibilityModeChanged( TBTVisibilityMode aState );
|
|
44 |
|
|
45 |
public:
|
|
46 |
|
|
47 |
static CEngSettingsObserver* NewLC();
|
|
48 |
|
|
49 |
~CEngSettingsObserver();
|
|
50 |
|
|
51 |
private:
|
|
52 |
|
|
53 |
CEngSettingsObserver();
|
|
54 |
void ConstructL();
|
|
55 |
|
|
56 |
private:
|
|
57 |
|
|
58 |
};
|