examples/S60CppExamples/ClientServerAsync/client/inc/csasyncdocument.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : csasyncdocument.h
00004 *  Part of     : CSAsync
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2004-2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 
00017 #ifndef __CSASYNCDOCUMENT_H__
00018 #define __CSASYNCDOCUMENT_H__
00019 
00020 // INCLUDE FILES
00021 #include <akndoc.h>
00022 
00023 // FORWARD DECLARATIONS
00024 class CCSAsyncAppUi;
00025 class CEikApplication;
00026 class CCSAsyncRequestHandler;
00027 
00028 // CLASS DECLARATION
00034 class CCSAsyncDocument : public CAknDocument
00035     {
00036     public: // Constructors and destructors
00037 
00047         static CCSAsyncDocument* NewL( CEikApplication& aApp );
00048 
00058         static CCSAsyncDocument* NewLC( CEikApplication& aApp );
00059 
00065         virtual ~CCSAsyncDocument();
00066 
00067     public: // New functions
00068 
00073         void UpdateTime();
00074 
00079         void StopClock();
00080 
00086         TTime Time() const;
00087 
00094         TBool ClockActive() const;
00095 
00096     public: // Functions from base classes
00097 
00103         CEikAppUi* CreateAppUiL();
00104 
00105     private: // Constructors and destructors
00106 
00113         CCSAsyncDocument( CEikApplication& aApp );
00114 
00119         void ConstructL();
00120 
00121     private: // Data
00122 
00127         CCSAsyncRequestHandler* iHandler;
00128     };
00129 
00130 
00131 #endif // __CSASYNCDOCUMENT_H__
00132 
00133 
00134 // End of File

Generated by  doxygen 1.6.2