browser/ui/inc/SplashView.h
changeset 0 c316ab048e9d
equal deleted inserted replaced
-1:000000000000 0:c316ab048e9d
       
     1 /*
       
     2  * Name        : SplashView.h
       
     3  * Description : 
       
     4  * Project     : This file is part of OpenMAR, an Open Mobile Augmented Reality browser
       
     5  * Website     : http://OpenMAR.org
       
     6  *
       
     7  * Copyright (c) 2010 David Caabeiro
       
     8  *
       
     9  * All rights reserved. This program and the accompanying materials are made available 
       
    10  * under the terms of the Eclipse Public License v1.0 which accompanies this 
       
    11  * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
       
    12  *
       
    13  */
       
    14 
       
    15 #ifndef SPLASHVIEW_H_
       
    16 #define SPLASHVIEW_H_
       
    17 
       
    18 #include <AknView.h>
       
    19 
       
    20 #include "ConnectionManager.h"
       
    21 
       
    22 class CSettingManager;
       
    23 class CSplashContainer;
       
    24 
       
    25 class CSplashView : public CAknView,
       
    26         public MConnectionManager
       
    27 {
       
    28 public:
       
    29     static CSplashView* NewL(CSettingManager& aSetting);
       
    30     ~CSplashView();
       
    31 
       
    32 protected:
       
    33     CSplashView(CSettingManager& aSetting);
       
    34     void ConstructL();
       
    35 
       
    36     // From MConnectionManager
       
    37     void ConnectionStartedL(TInt aError);
       
    38 
       
    39 protected:
       
    40     TUid Id() const;
       
    41     void DoActivateL(const TVwsViewId& aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage);
       
    42     void DoDeactivate();
       
    43 
       
    44     void HandleCommandL(TInt aCommand);
       
    45 
       
    46 private:
       
    47     CSettingManager& iSetting;
       
    48     CConnectionManager* iConnection;
       
    49     CSplashContainer* iContainer;
       
    50 };
       
    51 
       
    52 #endif  // SPLASHVIEW_H_