Commit adcb2872 authored by claes's avatar claes

Test prints removed

parent 799eeecf
/* /*
* Proview $Id: wb_provider.cpp,v 1.5 2005-11-02 15:42:38 claes Exp $ * Proview $Id: wb_provider.cpp,v 1.6 2006-01-31 09:11:25 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -141,59 +141,59 @@ void wb_procom::dispatch( vext_sQMsg *qmsg) ...@@ -141,59 +141,59 @@ void wb_procom::dispatch( vext_sQMsg *qmsg)
{ {
switch( qmsg->Any.Type) { switch( qmsg->Any.Type) {
case vext_eMsgType_Object: case vext_eMsgType_Object:
printf( "Object\n"); // printf( "Object\n");
m_provider->object( this); m_provider->object( this);
break; break;
case vext_eMsgType_ObjectOid: case vext_eMsgType_ObjectOid:
printf( "ObjectOid %d\n", qmsg->Oid.Oix); // printf( "ObjectOid %d\n", qmsg->Oid.Oix);
m_provider->objectOid( this, qmsg->Oid.Oix); m_provider->objectOid( this, qmsg->Oid.Oix);
break; break;
case vext_eMsgType_ObjectBody: case vext_eMsgType_ObjectBody:
printf( "ObjectBody %d\n", qmsg->Oid.Oix); // printf( "ObjectBody %d\n", qmsg->Oid.Oix);
m_provider->objectBody( this, qmsg->Oid.Oix); m_provider->objectBody( this, qmsg->Oid.Oix);
break; break;
case vext_eMsgType_ObjectName: case vext_eMsgType_ObjectName:
printf( "ObjectName %s\n", qmsg->ObjectName.Name); // printf( "ObjectName %s\n", qmsg->ObjectName.Name);
m_provider->objectName( this, qmsg->ObjectName.Name); m_provider->objectName( this, qmsg->ObjectName.Name);
break; break;
case vext_eMsgType_CreateObject: case vext_eMsgType_CreateObject:
printf( "CreateObject %s\n", qmsg->CreateObject.Name); // printf( "CreateObject %s\n", qmsg->CreateObject.Name);
m_provider->createObject( this, qmsg->CreateObject.DestOix, qmsg->CreateObject.DestType, m_provider->createObject( this, qmsg->CreateObject.DestOix, qmsg->CreateObject.DestType,
qmsg->CreateObject.Cid, qmsg->CreateObject.Name); qmsg->CreateObject.Cid, qmsg->CreateObject.Name);
break; break;
case vext_eMsgType_MoveObject: case vext_eMsgType_MoveObject:
printf( "MoveObject %d\n", qmsg->Oid.Oix); // printf( "MoveObject %d\n", qmsg->Oid.Oix);
m_provider->moveObject( this, qmsg->MoveObject.Oix, qmsg->MoveObject.DestOix, m_provider->moveObject( this, qmsg->MoveObject.Oix, qmsg->MoveObject.DestOix,
qmsg->MoveObject.DestType); qmsg->MoveObject.DestType);
break; break;
case vext_eMsgType_CopyObject: case vext_eMsgType_CopyObject:
printf( "CopyObject %d\n", qmsg->Oid.Oix); // printf( "CopyObject %d\n", qmsg->Oid.Oix);
m_provider->copyObject( this, qmsg->CopyObject.Oix, qmsg->CopyObject.DestOix, m_provider->copyObject( this, qmsg->CopyObject.Oix, qmsg->CopyObject.DestOix,
qmsg->CopyObject.DestType, qmsg->CopyObject.Name); qmsg->CopyObject.DestType, qmsg->CopyObject.Name);
break; break;
case vext_eMsgType_DeleteObject: case vext_eMsgType_DeleteObject:
printf( "DeleteObject %d\n", qmsg->Oid.Oix); // printf( "DeleteObject %d\n", qmsg->Oid.Oix);
m_provider->deleteObject( this, qmsg->DeleteObject.Oix); m_provider->deleteObject( this, qmsg->DeleteObject.Oix);
break; break;
case vext_eMsgType_DeleteFamily: case vext_eMsgType_DeleteFamily:
printf( "DeleteFamily %d\n", qmsg->Oid.Oix); // printf( "DeleteFamily %d\n", qmsg->Oid.Oix);
m_provider->deleteFamily( this, qmsg->DeleteFamily.Oix); m_provider->deleteFamily( this, qmsg->DeleteFamily.Oix);
break; break;
case vext_eMsgType_RenameObject: case vext_eMsgType_RenameObject:
printf( "RenameObject %d\n", qmsg->Oid.Oix); // printf( "RenameObject %d\n", qmsg->Oid.Oix);
m_provider->renameObject( this, qmsg->RenameObject.Oix, qmsg->RenameObject.Name); m_provider->renameObject( this, qmsg->RenameObject.Oix, qmsg->RenameObject.Name);
break; break;
case vext_eMsgType_WriteAttr: case vext_eMsgType_WriteAttr:
printf( "WriteAttr %d\n", qmsg->Oid.Oix); // printf( "WriteAttr %d\n", qmsg->Oid.Oix);
m_provider->writeAttribute( this, qmsg->WriteAttr.Oix, qmsg->WriteAttr.Offset, m_provider->writeAttribute( this, qmsg->WriteAttr.Oix, qmsg->WriteAttr.Offset,
qmsg->WriteAttr.Size, qmsg->WriteAttr.Buffer); qmsg->WriteAttr.Size, qmsg->WriteAttr.Buffer);
break; break;
case vext_eMsgType_Commit: case vext_eMsgType_Commit:
printf( "Commit\n"); // printf( "Commit\n");
m_provider->commit( this); m_provider->commit( this);
break; break;
case vext_eMsgType_Abort: case vext_eMsgType_Abort:
printf( "Abort\n"); // printf( "Abort\n");
m_provider->abort( this); m_provider->abort( this);
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment