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
chxavurlinfo.cpp
Package: 142_61_thumb_advanced.rar [view]
Upload User: dangjiwu
Upload Date: 2013-07-19
Package Size: 42019k
Code Size: 1k
Category:
Symbian
Development Platform:
Visual C++
- /****************************************************************************
- * chxavurlinfo.cpp
- * ----------------
- *
- * Synopsis:
- * Contains the implementations of the CHXAvURLInfo class. It's basically
- * a neat way to keep track of a url and it's corresponding title.
- *
- *
- * Target:
- * Symbian OS
- *
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- *****************************************************************************/
- // Includes from this project...
- #include "chxavurlinfo.h"
- #include "chxavstringutils.h"
- CHXAvURLInfo::CHXAvURLInfo(const CHXString& url, const CHXString& title)
- {
- m_url = CHXAvStringUtils::StringToHBuf(url);
- m_title = CHXAvStringUtils::StringToHBuf(title);
- }
- CHXAvURLInfo::CHXAvURLInfo(const TDesC& url, const TDesC& title)
- {
- m_url = url.Alloc();
- m_title = title.Alloc();
- }
- CHXAvURLInfo::~CHXAvURLInfo()
- {
- delete m_url;
- delete m_title;
- }
- const TDesC&
- CHXAvURLInfo::URL() const
- {
- if (m_url && m_url->Length() > 0)
- return *m_url;
- else
- return KNullDesC;
- }
- const TDesC&
- CHXAvURLInfo::Title() const
- {
- if (m_title && m_title->Length() > 0)
- return *m_title;
- else
- return KNullDesC;
- }