24
|
1 |
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
#ifndef __SIMTSYMODE_H_
|
|
17 |
#define __SIMTSYMODE_H_
|
|
18 |
|
|
19 |
/**
|
|
20 |
* @file
|
|
21 |
*
|
|
22 |
* contains the class definitions to determine the TSY mode to run in (ie CDMA or GSM)
|
|
23 |
*
|
|
24 |
* @internalAll
|
|
25 |
*/
|
|
26 |
|
|
27 |
#include "e32def.h"
|
|
28 |
#include "SimConstants.h"
|
|
29 |
#include "testconfigfileparser.h"
|
|
30 |
#include "CSimPhone.h"
|
|
31 |
|
|
32 |
class CSimTsyMode : public CBase
|
|
33 |
{
|
|
34 |
public:
|
|
35 |
enum TTsyMode
|
|
36 |
{
|
|
37 |
/** No CDMA mode */
|
|
38 |
ENoCdma=0,
|
|
39 |
/** CDMA V1 mode */
|
|
40 |
ECdmaV1=1
|
|
41 |
};
|
|
42 |
|
|
43 |
static TTsyMode GetMode();
|
|
44 |
static void FreeMode();
|
|
45 |
static TInt InitL(CSimPhone *aPhone);
|
|
46 |
};
|
|
47 |
|
|
48 |
#endif // __SIMTSYMODE_H_
|