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
chxavfilesystemwatcher.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++
- /************************************************************************
- * chxavfilesystemwatcher.h
- * -------------------------
- *
- * Synopsis:
- * Encapsulates active object file system monitoring; watches a directory and
- * its children and executes an event handler when an event under that path
- * occurs
- *
- * Intended to be used by a single class client (multiple client support should
- * be implemented by the event handler)
- *
- * Target:
- * Symbian OS
- *
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- ************************************************************************/
- #ifndef _chxavfilesystemwatcher_h_
- #define _chxavfilesystemwatcher_h_
- // Include from this project...
- #include "chxavactivewatcher.h"
- #include "chxavrefptr.h"
- // class CHXAvFileSystemWatcher
- class CHXAvFileSystemWatcher
- : public CHXAvActiveWatcher
- {
- public:
- CHXAvFileSystemWatcher(RFs& fs = CCoeEnv::Static()->FsSession());
- ~CHXAvFileSystemWatcher();
- void ConstructL();
- void SetWatchPathL(const TDesC& path);
- void SetNotifyType(TNotifyType type);
- protected:
- // epActiveWatcher implementation
- void DoIssueRequest(const CHXAvActiveCmplPtr& spActive);
- void DoCancelRequest(const CHXAvActiveCmplPtr& spActive);
- private:
- refptr<HBufC> m_spWatchPath;
- RFs& m_fs;
- TNotifyType m_notifyType;
- };
- ////////////////////////////////////////////////////////
- // see f32file.h
- //
- // ENotifyEntry, ENotifyAll, ENotifyFile, ENotifyDir, ENotifyAttributes, ENotifyWrite, ENotifyDisk
- //
- // not sure if we can OR these; ENotifyWrite, ENotifyAttributes may only work if file is given as path
- //
- inline
- void CHXAvFileSystemWatcher::SetNotifyType(TNotifyType type)
- {
- m_notifyType = type;
- }
- #endif // _chxavfilesystemwatcher_h_