webengine/wmlengine/src/MVC/include/EmbeddedDocExitObserver.h
changeset 74 91031d3aab7d
parent 68 92a765b5b3e7
child 85 e358f2276d3f
equal deleted inserted replaced
68:92a765b5b3e7 74:91031d3aab7d
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Observer for exit notification from Document Handler
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef EMBEDDED_DOC_EXIT_OBSERVER_H
       
    19 #define EMBEDDED_DOC_EXIT_OBSERVER_H
       
    20 
       
    21 #include <apparc.h>
       
    22 
       
    23 class RFs;
       
    24 
       
    25 NONSHARABLE_CLASS(CEmbeddedDocExitObserver): public MApaEmbeddedDocObserver 
       
    26     {
       
    27     public:
       
    28         static CEmbeddedDocExitObserver* NewL(RFs& aRfs);
       
    29 
       
    30         void NotifyExit(TExitMode aMode);
       
    31 
       
    32         void SetTempFile(TFileName aFileName);
       
    33 
       
    34     private:
       
    35         CEmbeddedDocExitObserver(RFs& aRfs);
       
    36         CEmbeddedDocExitObserver() {};
       
    37         TFileName iFileName;
       
    38         RFs iRfs;
       
    39     };
       
    40 
       
    41 
       
    42 #endif  /* EMBEDDED_DOC_EXIT_OBSERVER_H */