photosgallery/slideshow/engine/tsrc/stubs/stub_tglxlayoutsplitter.cpp
branchRCL_3
changeset 75 01504893d9cb
parent 0 4e91876724a2
equal deleted inserted replaced
68:5b238bc8ffb6 75:01504893d9cb
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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:   Stub file for image transaction in slideshow
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #include "stub_tglxlayoutsplitter.h"
       
    22 
       
    23 extern TBool gSplitterAddLayoutLCalled = EFalse;
       
    24 extern TBool gSplitterRemoveLayoutLCalled = EFalse;
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 // Stub for TGlxLayout -->
       
    28 // -----------------------------------------------------------------------------
       
    29 TGlxLayout::TGlxLayout()
       
    30     {
       
    31     }
       
    32 TGlxLayout::~TGlxLayout()
       
    33     {
       
    34     }
       
    35 void TGlxLayout::SetNext( MGlxLayout* /*aLayout*/ )
       
    36 	{
       
    37 	}
       
    38 MGlxLayout* TGlxLayout::Next() const
       
    39 	{
       
    40 	return NULL;
       
    41 	}
       
    42 void TGlxLayout::Insert(MGlxLayout* /*aLayout*/)
       
    43     {
       
    44     }
       
    45 void TGlxLayout::Remove(MGlxLayout* /*aLayout*/)
       
    46     {
       
    47     }
       
    48 void TGlxLayout::SetLayoutValues( TGlxLayoutInfo& /*aInfo*/ )
       
    49 	{
       
    50 	}
       
    51 TBool TGlxLayout::Changed() const
       
    52 	{
       
    53 	return ETrue;
       
    54 	}
       
    55 void TGlxLayout::ClearChanged()
       
    56 	{
       
    57 	}
       
    58 void TGlxLayout::DoSetLayoutValues( TGlxLayoutInfo& /*aInfo*/ )
       
    59 	{
       
    60 	}
       
    61 TBool TGlxLayout::DoChanged() const
       
    62 	{
       
    63 	return ETrue;
       
    64 	}
       
    65 void TGlxLayout::DoClearChanged()
       
    66 	{
       
    67 	}
       
    68 // -----------------------------------------------------------------------------
       
    69 // <-- Stub for TGlxLayout
       
    70 // -----------------------------------------------------------------------------
       
    71 
       
    72 // -----------------------------------------------------------------------------
       
    73 // Stub for layout splitter -->
       
    74 // -----------------------------------------------------------------------------
       
    75 TGlxLayoutSplitter::TGlxLayoutSplitter()
       
    76 	{
       
    77 	gSplitterAddLayoutLCalled = EFalse;
       
    78 	gSplitterRemoveLayoutLCalled = EFalse;
       
    79 	}
       
    80 TGlxLayoutSplitter::~TGlxLayoutSplitter()
       
    81 	{
       
    82 	}
       
    83 void TGlxLayoutSplitter::SetVisualListL(MGlxVisualList* /*aVisualList*/)
       
    84 	{
       
    85 	}
       
    86 
       
    87 void TGlxLayoutSplitter::AddLayoutL(MGlxLayout* /*aLayout*/, const CHuiVisual* /*aVisual*/)
       
    88 	{
       
    89 	gSplitterAddLayoutLCalled = ETrue;
       
    90 	}
       
    91 
       
    92 void TGlxLayoutSplitter::RemoveLayout(const CHuiVisual* /*aVisual*/)
       
    93 	{
       
    94 	gSplitterRemoveLayoutLCalled = ETrue;
       
    95 	}
       
    96 void TGlxLayoutSplitter::SetDefaultLayout(MGlxLayout* /*aLayout*/)
       
    97 	{
       
    98 	}
       
    99 
       
   100 void TGlxLayoutSplitter::HandleFocusChangedL(
       
   101 	TInt /*aFocusIndex*/, TReal32 /*aItemsPerSecond*/, MGlxVisualList* /*aList*/,
       
   102 	NGlxListDefs::TFocusChangeType /*aType*/ )
       
   103 	{
       
   104 	
       
   105 	}
       
   106 void TGlxLayoutSplitter::HandleSizeChanged( const TSize& /*aSize*/, MGlxVisualList* /*aList*/ )
       
   107 	{
       
   108 	
       
   109 	}
       
   110 void TGlxLayoutSplitter::HandleVisualRemoved(
       
   111 	const CHuiVisual* /*aVisual*/, MGlxVisualList* /*aList*/ )
       
   112 	{
       
   113 	
       
   114 	}
       
   115 void TGlxLayoutSplitter::HandleVisualAddedL(
       
   116 	CHuiVisual* /*aVisual*/, TInt /*aIndex*/, MGlxVisualList* /*aList*/ )
       
   117 	{
       
   118 	
       
   119 	}
       
   120 void TGlxLayoutSplitter::DoSetLayoutValues( TGlxLayoutInfo& /*aInfo*/ )
       
   121 	{
       
   122 	
       
   123 	}
       
   124 TBool TGlxLayoutSplitter::DoChanged() const
       
   125 	{
       
   126 	return ETrue;	
       
   127 	}
       
   128 void TGlxLayoutSplitter::DoClearChanged()
       
   129 	{
       
   130 	
       
   131 	}
       
   132 // -----------------------------------------------------------------------------
       
   133 // <-- Stub for layout splitter
       
   134 // -----------------------------------------------------------------------------