webengine/pagescaler/src/PagescalerMinimap.cpp
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include "minimap.h"
       
    22 
       
    23 // EXTERNAL DATA STRUCTURES
       
    24 
       
    25 // EXTERNAL FUNCTION PROTOTYPES
       
    26 
       
    27 // CONSTANTS
       
    28 
       
    29 // MACROS
       
    30 
       
    31 // LOCAL CONSTANTS AND MACROS
       
    32 
       
    33 // MODULE DATA STRUCTURES
       
    34 
       
    35 // LOCAL FUNCTION PROTOTYPES
       
    36 
       
    37 // FORWARD DECLARATIONS
       
    38 
       
    39 // ============================= LOCAL FUNCTIONS ===============================
       
    40 
       
    41 
       
    42 // ============================ MEMBER FUNCTIONS ===============================
       
    43 
       
    44 // -----------------------------------------------------------------------------
       
    45 // CPageScaler:CPageScaler
       
    46 // C++ default constructor can NOT contain any code, that
       
    47 // might leave.
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 CPageScaler::CPageScaler()
       
    51     {
       
    52     }
       
    53 
       
    54 // -----------------------------------------------------------------------------
       
    55 // CPageScaler::ConstructL
       
    56 // Symbian 2nd phase constructor can leave.
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 void CPageScaler::ConstructL()
       
    60     {
       
    61     }
       
    62 
       
    63 // -----------------------------------------------------------------------------
       
    64 // CPageScaler::NewL
       
    65 // Two-phased constructor.
       
    66 // -----------------------------------------------------------------------------
       
    67 //
       
    68 EXPORT_C
       
    69 CPageScaler* CPageScaler::NewL(MPageScalerCallback& aCallback, TDisplayMode aMode, TBool aLowQuality )
       
    70     {
       
    71     // construct a CMinimap (super class) instead
       
    72     CPageScaler* mmap = CMinimap::NewL(aCallback, aMode, aLowQuality );
       
    73     return mmap;
       
    74     }
       
    75 
       
    76 
       
    77 // Destructor
       
    78 CPageScaler::~CPageScaler()
       
    79     {
       
    80     }
       
    81 
       
    82 // Stubs
       
    83 void CPageScaler::SetRelativePosition(TInt /*aXDist*/, TInt /*aYDist*/, TPosition /*aPos*/)
       
    84     {
       
    85     }
       
    86 
       
    87 void CPageScaler::SetVisibleUntil(TTimeIntervalMicroSeconds32 /*aUntil*/)
       
    88     {
       
    89     }
       
    90 
       
    91 TRect CPageScaler::Rect() const
       
    92     {
       
    93     return TRect();
       
    94     }
       
    95 
       
    96 TRect CPageScaler::IndicatorRect() const
       
    97     {
       
    98     return TRect(0,0,0,0);
       
    99     }
       
   100 
       
   101 void CPageScaler::DocumentStarted()
       
   102     {
       
   103     }
       
   104 
       
   105 void CPageScaler::DocumentChangedL()
       
   106     {
       
   107     }
       
   108 
       
   109 void CPageScaler::DocumentViewportMoved()
       
   110     {
       
   111     }
       
   112 
       
   113 void CPageScaler::DocumentCompleted()
       
   114     {
       
   115     }
       
   116 
       
   117 void CPageScaler::Draw( CWindowGc& /*aGc*/, const TRect& /*aRect*/ ) const
       
   118     {
       
   119     }
       
   120 
       
   121 void CPageScaler::SetTransparency(TInt /*aPercent*/)
       
   122     {
       
   123     }
       
   124 
       
   125 void CPageScaler::SetVisible(TBool /*aVisible*/)
       
   126     {
       
   127     }
       
   128 
       
   129 TBool CPageScaler::Visible() const
       
   130     {
       
   131     return EFalse;
       
   132     }
       
   133 
       
   134 void CPageScaler::SetZoomOutLevel(TInt /*aPercent*/)
       
   135     {
       
   136     }
       
   137 
       
   138 TInt CPageScaler::ZoomOutLevel() const
       
   139     {
       
   140     return 0;
       
   141     }
       
   142 
       
   143 void CPageScaler::SetMaxSize(TSize /*aSize*/)
       
   144     {
       
   145     }
       
   146 
       
   147 TSize CPageScaler::MaxSize() const
       
   148     {
       
   149     return TSize();
       
   150     }
       
   151 
       
   152 TInt CPageScaler::Transparency() const
       
   153     {
       
   154     return 0;
       
   155     }
       
   156 
       
   157 CFbsBitmap* CPageScaler::ScaledPage() const
       
   158     {
       
   159     return NULL;
       
   160     }
       
   161 
       
   162 TRect CPageScaler::ContainerRect() const
       
   163    {
       
   164    return TRect();
       
   165    }
       
   166 
       
   167 
       
   168 void CPageScaler::SetContainerRect(const TRect& )
       
   169    {
       
   170    }
       
   171 
       
   172 
       
   173 TBool CPageScaler::FullScreenMode() const
       
   174    {
       
   175    return EFalse;
       
   176    }
       
   177 
       
   178 
       
   179 void CPageScaler::SetFullScreenMode(TBool)
       
   180    {
       
   181    }
       
   182 
       
   183 EXPORT_C TBool CPageScaler::HasOverlaySupport()
       
   184     {
       
   185     return ETrue;
       
   186     }
       
   187 
       
   188 
       
   189 //  End of File