examples/sfexamples/oandx/inc/oandxdocument.h

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 #ifndef OANDX_DOCUMENT_H
00018 #define OANDX_DOCUMENT_H
00019 
00020 
00021 #include <eikapp.h>
00022 #include <akndoc.h>
00023 
00024 class COandXAppUi;
00025 
00026 
00027 class COandXDocument : public CAknDocument
00032         {
00033 public:
00034         static COandXDocument* NewL(CEikApplication& aApp);
00035         virtual ~COandXDocument();
00036 
00037         // From CEikDocument
00038         virtual CEikAppUi* CreateAppUiL();
00039         virtual void StoreL(CStreamStore& aStore,CStreamDictionary& aStreamDic) const;
00040         virtual void RestoreL(const CStreamStore& aStore,const CStreamDictionary& aStreamDic);
00041         virtual CFileStore* OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs);
00042 
00043 private:
00044         COandXDocument(CEikApplication& aApp);
00045 
00046 private:
00047         COandXAppUi* iAppUi;
00048         };
00049 
00050 #endif // OANDX_DOCUMENT_H

Generated by  doxygen 1.6.2