#include <HYDROData_Document.h>
#include <HYDROGUI_ListModel.h>
-Handle_HYDROData_Document GetDocument()
+Handle(HYDROData_Document) GetDocument()
{
return HYDROData_Document::Document( 0 );
}
for( int i=0; i<theObjCount; i++ )
{
- Handle_HYDROData_Entity anObj = GetDocument()->CreateObject( KIND_IMMERSIBLE_ZONE );
+ Handle(HYDROData_Entity) anObj = GetDocument()->CreateObject( KIND_IMMERSIBLE_ZONE );
std::string aName = " ";
aName[0] = 'A' + i;
aRes = aModel->move( QList<int>() << 0 << 2 << 4 << 5 << 7, aDnD, false, 3 );
CPPUNIT_ASSERT_EQUAL( true, aRes );
CPPUNIT_ASSERT_EQUAL( std::string( "F, *A, *G, *C, H, *E, D, B" ), GetObjects( aModel ) );
-}
\ No newline at end of file
+}