memspyui/include/MemSpyDocument.h
changeset 0 d6fe6244b863
equal deleted inserted replaced
-1:000000000000 0:d6fe6244b863
       
     1 /*
       
     2 * Copyright (c) 2009 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 "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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MEMSPYDOCUMENT_H
       
    19 #define MEMSPYDOCUMENT_H
       
    20 
       
    21 // System includes
       
    22 #include <AknDoc.h>
       
    23    
       
    24 // Classes referenced
       
    25 class CMemSpyEngine;
       
    26 class CEikAppUi;
       
    27 class CMemSpySettings;
       
    28 
       
    29 
       
    30 class CMemSpyDocument : public CAknDocument
       
    31     {
       
    32 public: // Constructors and destructor
       
    33     static CMemSpyDocument* NewL(CEikApplication& aApp);
       
    34     ~CMemSpyDocument();
       
    35 
       
    36 private:
       
    37     CMemSpyDocument(CEikApplication& aApp);
       
    38     void ConstructL();
       
    39 
       
    40 public:
       
    41     CMemSpyEngine& Engine();
       
    42     const CMemSpyEngine& Engine() const;
       
    43     CMemSpySettings& Settings();
       
    44     const CMemSpySettings& Settings() const;
       
    45 
       
    46 private: // Framework
       
    47     CEikAppUi* CreateAppUiL();
       
    48 
       
    49 private: // Data members
       
    50     CMemSpyEngine* iEngine;
       
    51     CMemSpySettings* iSettings;
       
    52     };
       
    53 
       
    54 
       
    55 #endif