examples/SDKExamples/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 and/or its subsidiary(-ies).
00010 *  All rights reserved.
00011 *  This component and the accompanying materials are made available
00012 *  under the terms of "Eclipse Public License v1.0"
00013 *  which accompanies this distribution, and is available
00014 *  at the URL "http://www.eclipse.org/legal/epl-v10.html".
00015 * ==============================================================================
00016 */
00017 
00018 
00019 #ifndef __CSASYNCDOCUMENT_H__
00020 #define __CSASYNCDOCUMENT_H__
00021 
00022 // INCLUDE FILES
00023 #include <akndoc.h>
00024 
00025 // FORWARD DECLARATIONS
00026 class CCSAsyncAppUi;
00027 class CEikApplication;
00028 class CCSAsyncRequestHandler;
00029 
00030 // CLASS DECLARATION
00036 class CCSAsyncDocument : public CAknDocument
00037     {
00038     public: // Constructors and destructors
00039 
00049         static CCSAsyncDocument* NewL( CEikApplication& aApp );
00050 
00060         static CCSAsyncDocument* NewLC( CEikApplication& aApp );
00061 
00067         virtual ~CCSAsyncDocument();
00068 
00069     public: // New functions
00070 
00075         void UpdateTime();
00076 
00081         void StopClock();
00082 
00088         TTime Time() const;
00089 
00096         TBool ClockActive() const;
00097 
00098     public: // Functions from base classes
00099 
00105         CEikAppUi* CreateAppUiL();
00106 
00107     private: // Constructors and destructors
00108 
00115         CCSAsyncDocument( CEikApplication& aApp );
00116 
00121         void ConstructL();
00122 
00123     private: // Data
00124 
00129         CCSAsyncRequestHandler* iHandler;
00130     };
00131 
00132 
00133 #endif // __CSASYNCDOCUMENT_H__
00134 
00135 
00136 // End of File

Generated by  doxygen 1.6.2