uiaccelerator_plat/alf_visual_api/tsrc/src/testplatalfvisualblocksmesh.cpp
branchRCL_3
changeset 17 3ac8bf5c5014
parent 0 15bf7259bb7c
equal deleted inserted replaced
11:46927d61fef3 17:3ac8bf5c5014
    38     _LIT( KTestAlfMeshSetAndGetL, "TestAlfMeshSetAndGetL" );
    38     _LIT( KTestAlfMeshSetAndGetL, "TestAlfMeshSetAndGetL" );
    39     TestModuleIf().Printf( 0, KTestPlatAlfVisual, KTestAlfMeshSetAndGetL );
    39     TestModuleIf().Printf( 0, KTestPlatAlfVisual, KTestAlfMeshSetAndGetL );
    40     // Print to log file
    40     // Print to log file
    41     iLog->Log( KTestAlfMeshSetAndGetL );
    41     iLog->Log( KTestAlfMeshSetAndGetL );
    42     
    42     
       
    43     // Mesh not supported at the moment
       
    44     STIF_ASSERT_LEAVES_WITH( KErrNotSupported,
       
    45                              CAlfMeshVisual::AddNewL( *iAlfCtl ) );
       
    46 /* Not supported at the moment
    43     CAlfMeshVisual* vVisual = CAlfMeshVisual::AddNewL( *iAlfCtl );
    47     CAlfMeshVisual* vVisual = CAlfMeshVisual::AddNewL( *iAlfCtl );
    44     vVisual->CreateMeshL( EAlfMeshTypeM3G );
    48     vVisual->CreateMeshL( EAlfMeshTypeM3G );
    45     CAlfMesh& vMesh = vVisual->Mesh();
    49     CAlfMesh& vMesh = vVisual->Mesh();
    46     vMesh.MeshType();
    50     vMesh.MeshType();
    47     vMesh.StretchUniformly( 0, 0, 0, 0, 0, 0 );
    51     vMesh.StretchUniformly( 0, 0, 0, 0, 0, 0 );
    49     vMesh.AnimationControllerCount();
    53     vMesh.AnimationControllerCount();
    50     vMesh.SetAnimationPosition( iAlfCtl->Id(), 0, 0 );
    54     vMesh.SetAnimationPosition( iAlfCtl->Id(), 0, 0 );
    51     vMesh.StartAnimationController( iAlfCtl->Id() );
    55     vMesh.StartAnimationController( iAlfCtl->Id() );
    52     vMesh.StopAnimationController( iAlfCtl->Id() );
    56     vMesh.StopAnimationController( iAlfCtl->Id() );
    53     vMesh.Reset();
    57     vMesh.Reset();
    54     
    58 */    
    55     return KErrNone;
    59     return KErrNone;
    56     }
    60     }
    57 
    61 
    58 // End of file
    62 // End of file
    59 
    63