Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
chxavsettingslist.cpp
Package: 142_61_thumb_advanced.rar [view]
Upload User: dangjiwu
Upload Date: 2013-07-19
Package Size: 42019k
Code Size: 2k
Category:
Symbian
Development Platform:
Visual C++
- /************************************************************************
- * chxavsettingslist.cpp
- * ---------------------
- *
- * Synopsis:
- * Initializes settings list items with proper data values.
- *
- * Target:
- * Symbian OS
- *
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- ************************************************************************/
- // Symbian includes...
- #include <akntextsettingpage.h>
- // Includes from this project...
- #include "chxavmisc.h"
- #include "chxavsettingsview.h"
- #include "chxavsettingslist.h"
- /////////////////////////////////////////////////////
- //
- CHXAvSettingsList::CHXAvSettingsList(const CHXAvSettingsDataPtr& pData)
- : m_spData(pData)
- {
- }
- ////////////////////////////////////////////////////
- //
- CHXAvSettingsList::~CHXAvSettingsList()
- {
- }
- ////////////////////////////////////////////////////////////
- // called after all settings items created and constructed;
- // now we can change items without having changes overwritten
- void CHXAvSettingsList::OnPostConstructL()
- {
- #if(0)
- if( m_pNetBWItem && !m_spData->IsMaxDelivBWConsistent() )
- {
- // show indication that max delivery bw as shown is approximate
- _LIT(KMismatchIndicationText, "*");
- m_pItem->SetCompulsoryIndTextL(KMismatchIndicationText);
- HandleChangeInItemArrayOrVisibilityL();
- }
- #endif
- }
- ///////////////////////////////////////////////////////////
- // called when user wants to edit a setting item
- void CHXAvSettingsList::EditItemL(TInt aIndex, TBool aCalledFromMenu)
- {
- CAknSettingItemArray* pArray = SettingItemArray();
- CAknSettingItem* pItem = pArray->At(aIndex);
- m_spData->EditItemL(pItem);
- CAknSettingItemList::EditItemL(aIndex, aCalledFromMenu);
- }
- ////////////////////////////////////////////////////
- // called when constructing from resource
- CAknSettingItem* CHXAvSettingsList::CreateSettingItemL(TInt id)
- {
- CAknSettingItem* pItem = m_spData->CreateSettingItemL(id);
- return pItem;
- }
- ////////////////////////////////////////////////////
- //
- TKeyResponse CHXAvSettingsList::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
- {
- return CAknSettingItemList::OfferKeyEventL(aKeyEvent, aType);
- }