60
|
1 |
/*
|
|
2 |
*
|
|
3 |
* Copyright (c) <2010> Comarch S.A. and/or its subsidiary(-ies).
|
|
4 |
* All rights reserved.
|
|
5 |
* This component and the accompanying materials are made available
|
|
6 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
7 |
* which accompanies this distribution, and is available
|
|
8 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
9 |
*
|
|
10 |
* Original Contributors:
|
|
11 |
* Comarch S.A. - original contribution.
|
|
12 |
*
|
|
13 |
* Contributors:
|
|
14 |
*
|
|
15 |
* Description:
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef HSPCOD_H_
|
|
20 |
#define HSPCOD_H_
|
|
21 |
|
|
22 |
#include <hscodpluginbase.h>
|
|
23 |
|
|
24 |
/** HSP Class of Device */
|
|
25 |
const TUint32 KHsHSPDeviceClass = 0x200404;
|
|
26 |
|
|
27 |
/**
|
|
28 |
* @brief Manages Class of Device.
|
|
29 |
*/
|
|
30 |
class CHsHSPCoD : public CHsCoDBase
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
/**
|
|
34 |
* Two-phase constructor
|
|
35 |
*
|
|
36 |
* @return instance of class
|
|
37 |
*/
|
|
38 |
static CHsHSPCoD* NewL();
|
|
39 |
|
|
40 |
/**
|
|
41 |
* Two-phase constructor
|
|
42 |
*
|
|
43 |
* @return instance of class
|
|
44 |
*/
|
|
45 |
static CHsHSPCoD* NewLC();
|
|
46 |
|
|
47 |
/**
|
|
48 |
* Destructor
|
|
49 |
*/
|
|
50 |
~CHsHSPCoD();
|
|
51 |
|
|
52 |
public:
|
|
53 |
|
|
54 |
/**
|
|
55 |
* Sets new Class of Device
|
|
56 |
*/
|
|
57 |
void SetNewCodL();
|
|
58 |
|
|
59 |
private:
|
|
60 |
/**
|
|
61 |
* Constructor for performing 2nd stage construction
|
|
62 |
*/
|
|
63 |
void ConstructL();
|
|
64 |
};
|
|
65 |
|
|
66 |
#endif /* HSPCOD_H_ */
|