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
chxavaccesspointdb.h
Package: helix.src.0812.rar [view]
Upload User: zhongxx05
Upload Date: 2007-06-06
Package Size: 33641k
Code Size: 2k
Category:
Symbian
Development Platform:
C/C++
- /************************************************************************
- * chxavaccesspointdb.h
- * --------------------
- *
- * Synopsis:
- * Access point utility routines. We use this class to look up mappings
- * between strings and ids.
- *
- *
- * Target:
- * Symbian OS
- *
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- ************************************************************************/
- #ifndef _chxavaccesspointdb_h_
- #define _chxavaccesspointdb_h_
- // Symbian includes...
- #include <coeutils.h>
- #include <aknenv.h>
- #include <commdb.h>
- #include <apengineconsts.h>
- // Helix includes...
- #include "hxslist.h"
- // Include from this project...
- #include "chxavrefptr.h"
- struct AccessPointInfo
- {
- CHXString name;
- TUint32 id;
- TUint32 service;
- TUint32 wapId;
- };
- typedef AccessPointInfo* AccessPointInfoPtr;
- // class CHXAvAccessPointDB...
- class CHXAvAccessPointDB : public CBase
- {
- public:
- // ctor and dtor...
- CHXAvAccessPointDB();
- virtual ~CHXAvAccessPointDB();
- void ConstructL();
- // Methods...
- AccessPointInfoPtr GetAPInfo(TUint32 iapId);
- HBufC* AllocAccessPointNameL(TUint32 iapId);
- TUint32 GetAPIdFromWapIdL(TUint32 wapApId);
- TUint32 GetWapIdFromAPIdL(TUint32 iapId);
- TUint32 GetIapIDFromNameL(const CHXString& name);
- bool SupportsInternetAccessL(TUint32 wapId);
- bool IsValidL(TUint32 iapId);
- refptr<CCommsDatabase> GetDatabase();
- private:
- void GetAllAccessPointsL();
- void ClearAccessPointsList();
- bool OpenDBL();
- void CloseDB();
- // Data...
- refptr<CCommsDatabase> m_spDatabase;
- refptr<CCommsDbTableView> m_spTable;
- CHXSimpleList *m_accessPoints;
- bool m_isOpen;
- };
- inline
- refptr<CCommsDatabase> CHXAvAccessPointDB::GetDatabase()
- {
- return m_spDatabase;
- }
- #endif // _chxavaccesspointdb_h_