videditor/ManualVideoEditor/inc/VeiDocument.h
author Mikael Laine <mikael.laine@ixonos.com>
Fri, 29 Jan 2010 14:08:33 +0200
changeset 0 951a5db380a0
permissions -rw-r--r--
Committing the Video Editor package under the Eclipse Public License

/*
* Copyright (c) 2010 Ixonos Plc.
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - Initial contribution
*
* Contributors:
* Ixonos Plc
*
* Description:  
*
*/


#ifndef VEDDOCUMENT_H
#define VEDDOCUMENT_H

// INCLUDES
#include <genericparamconsumer.h>

// CONSTANTS

// FORWARD DECLARATIONS
class CEikAppUi;

// CLASS DECLARATION

/**
 *  CVeiDocument application class.
 */
class CVeiDocument: public CAiwGenericParamConsumer
{
public:
    // Constructors and destructor
    /**
     * Two-phased constructor.
     */
    static CVeiDocument* NewL( CEikApplication& aApp );

    //CFileStore* OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs);
    //void OpenFileL(TBool aDoOpen , RFile& aFile);
    void OpenFileL( CFileStore* & aFileStore, RFile& aFile );

    /**
     * Destructor.
     */
    virtual ~CVeiDocument();
    //		virtual void RestoreL(const CStreamStore& aStore, const CStreamDictionary& aStreamDic);

private:

    /**
     * Default constructor.
     */
    CVeiDocument( CEikApplication& aApp );
    void ConstructL();

private:

    /**
     * From CEikDocument, create CVeiAppUi "App UI" object.
     */
    CEikAppUi* CreateAppUiL();
};

#endif 

// End of File