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
chxavwaitnote.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++
- /************************************************************************
- * chxavwaitnote.h
- * ---------------
- *
- * Synopsis:
- * Description:
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- ************************************************************************/
- #ifndef _chxavwaitnote_h_
- #define _chxavwaitnote_h_
- // Symbian includes...
- #include <aknprogressdialog.h>
- // Includes from this project...
- #include "chxavutil.h"
- #include "chxavcommand.h"
- #include "chxbody.h"
- #include "chxavrefptr.h"
- #include "chxsmartptr.h"
- // foward decl
- class CAknWaitDialog;
- // class CHXAvWaitNote
- class CHXAvWaitNote
- : public MProgressDialogCallback
- , public CHXBody
- {
- public:
- // softkey text for cancel command
- enum CancelText
- {
- ctCancel,
- ctExit,
- ctClose
- };
- // ctor and dtor
- CHXAvWaitNote();
- virtual ~CHXAvWaitNote();
- private:
- // disallow assignment and copy
- CHXAvWaitNote(const CHXAvWaitNote& rhs);
- CHXAvWaitNote& operator=(const CHXAvWaitNote& rhs);
- public:
- // MProgressDialogCallback
- void DialogDismissedL(TInt bid);
- // methods
- void SetTextL(const TDesC& text);
- void SetCancelCommandL(const CHXAvCommand& userCancelCmd, TInt idSoftkey = R_AVKON_SOFTKEYS_CANCEL);
- void ClearCancelCommand();
- void StartL(bool bDelayVisibility = false);
- void EndL();
- void StartAndKickL();
- bool IsShowing() const;
- private:
- // data
- CHXAvCommandPtr m_spUserCancelCmd;
- refptr<HBufC> m_spText;
- CAknWaitDialog* m_wpWaitNote;
- TInt m_idSoftkey;
- bool m_bDismissPending;
- };
- typedef CHXSmartPtr<CHXAvWaitNote> CHXAvWaitNotePtr;
- inline
- bool CHXAvWaitNote::IsShowing() const
- {
- return m_bDismissPending;
- }
- ////////////////////////////////////////
- //
- inline
- void CHXAvWaitNote::SetTextL(const TDesC& text)
- {
- m_spText = text.AllocL();
- }
- #endif // _chxavwaitnote_h_