epoc32/include/mw/akndoc.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/akndoc.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/akndoc.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,59 @@
     1.4 -akndoc.h
     1.5 +/*
     1.6 +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description: 
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +#ifndef __AKNDOC_H__
    1.23 +#define __AKNDOC_H__
    1.24 +
    1.25 +// INCLUDES
    1.26 +
    1.27 +#include <eikdoc.h>
    1.28 +
    1.29 +// CLASS DECLARATION
    1.30 +
    1.31 +/**
    1.32 +*  Base class for a Series 60 application document.
    1.33 +*
    1.34 +*  @since Series 60 0.9
    1.35 +*/
    1.36 +class CAknDocument : public CEikDocument
    1.37 +	{
    1.38 +public:	// from CEikDocument
    1.39 +	
    1.40 +	/**
    1.41 +    * From @c CEikDocument. Opens a file.
    1.42 +    * @param aDoOpen Open an existing file if @c ETrue, 
    1.43 +    * otherwise create a new file. Not used.
    1.44 +    * @param aFilename The file to open or create. Not used.
    1.45 +    * @param aFs File server session to use. Not used.
    1.46 +    * @return Pointer to file store object.
    1.47 +    */
    1.48 +	IMPORT_C CFileStore* OpenFileL(TBool aDoOpen,
    1.49 +	                               const TDesC& aFilename,
    1.50 +	                               RFs& aFs);
    1.51 +	IMPORT_C void OpenFileL(CFileStore*& aFileStore, RFile& aFile);
    1.52 +protected:
    1.53 +	
    1.54 +	/**
    1.55 +    * C++ default constructor.
    1.56 +    * @param aApp The application instance with which the new document is
    1.57 +    * associated.
    1.58 +    */
    1.59 +	IMPORT_C CAknDocument(CEikApplication& aApp);
    1.60 +	};
    1.61 +
    1.62 +#endif
    1.63 +