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
chxavpathselector.h
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++
- /*============================================================================*
- *
- * (c) 1995-2002 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- *============================================================================*/
- #if !defined(AV_PATH_SELECTOR_INCLUDED__)
- #define AV_PATH_SELECTOR_INCLUDED__
- // Helix includes..
- #include "hxstack.h"
- // Includes from this project...
- #include "chxavvector.h"
- #include "chxavrefptr.h"
- #include "chxavfileviewpageinfo.h"
- // class CHXAvPathSelector
- class CHXAvPathSelector
- {
- public:
- // ctor and dtor
- CHXAvPathSelector();
- virtual ~CHXAvPathSelector();
- void InitL(const CHXAvVector<CHXAvMediaFolderInfoPtr>& mediaFolderInfo,
- TInt resIdPrompt, TInt resIdSelectButtonText);
- private:
- // disallow assignment and copy
- CHXAvPathSelector(const CHXAvPathSelector& rhs);
- CHXAvPathSelector& operator=(const CHXAvPathSelector& rhs);
- public:
- // methods
- bool PromptUserSelectPathL();
- const TDesC& GetSelectedPath() const;
- private:
- enum Action
- {
- BACK,
- SELECT,
- ENTER,
- IGNORE
- };
- // implementation
- CHXAvPathSelector::Action DoFolderPromptL();
- CHXAvPathSelector::Action DoRootFolderPromptL();
- void SetPathToParent();
- void SetPathToChild(const TDesC& listText);
- TInt InitMediaRootPathL(const TDesC& fullRootPath);
- bool CurrentFolderHasSubFoldersL();
- TUint GetValidRootCountL();
- void ResetForRootFolderPrompt(TInt idxCurrentItem);
- private:
- // data
- CHXAvVector<CHXAvMediaFolderInfoPtr> m_mediaFolderInfo;
- // full paths
- refptr<TFileName> m_spCurrentPath;
- refptr<HBufC> m_spRootPath;
- CHXStack m_indexes;
- TInt m_idxInitCurrentItem;
- TInt m_resIdPrompt;
- TInt m_resIdSelectButtonText;
- };
- #endif // AV_PATH_SELECTOR_INCLUDED__