0
|
1 |
/*
|
|
2 |
* Copyright (c) 2006 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 |
|
|
19 |
#ifndef __JAVA_DEBUG_AGENT_SETTINGS_ACCESS_POINT_ITEM_H_
|
|
20 |
#define __JAVA_DEBUG_AGENT_SETTINGS_ACCESS_POINT_ITEM_H_
|
|
21 |
|
|
22 |
#include <commdb.h>
|
|
23 |
#include <cdblen.h>
|
|
24 |
#include <AknSettingItemList.h>
|
|
25 |
|
|
26 |
class CJavaDebugAgentSettingsApItem : public CAknSettingItem
|
|
27 |
{
|
|
28 |
private:
|
|
29 |
TInt* iApId;
|
|
30 |
HBufC* iAlwaysAskText;
|
|
31 |
HBufC* iUserDefinedText;
|
|
32 |
CCommsDatabase* iCommsDb;
|
|
33 |
TBuf<KCommsDbSvrMaxFieldLength> iApName;
|
|
34 |
TBool iApNameValid;
|
|
35 |
|
|
36 |
public:
|
|
37 |
CJavaDebugAgentSettingsApItem(TInt aId, TInt* aApId);
|
|
38 |
~CJavaDebugAgentSettingsApItem();
|
|
39 |
virtual void EditItemL(TBool aCalledFromMenu);
|
|
40 |
virtual const TDesC& SettingTextL();
|
|
41 |
|
|
42 |
private:
|
|
43 |
TBool AlwaysAskOrSelectApL(TInt* aUserDefined);
|
|
44 |
TInt UpdateApName();
|
|
45 |
void UpdateApNameL();
|
|
46 |
CCommsDatabase* CommsDbL();
|
|
47 |
const TDesC* AlwaysAskTextL();
|
|
48 |
const TDesC* UserDefinedTextL();
|
|
49 |
};
|
|
50 |
|
|
51 |
#endif // __JAVA_DEBUG_AGENT_SETTINGS_ACCESS_POINT_ITEM_H_
|
|
52 |
|
|
53 |
/**
|
|
54 |
* Local Variables:
|
|
55 |
* mode: c++
|
|
56 |
* c-basic-offset: 4
|
|
57 |
* indent-tabs-mode: nil
|
|
58 |
* End:
|
|
59 |
*/
|