diff -r 397d00875918 -r 156f692b1687 contentstorage/caclient/src/caservice.cpp --- a/contentstorage/caclient/src/caservice.cpp Thu May 27 13:11:12 2010 +0300 +++ b/contentstorage/caclient/src/caservice.cpp Fri Jun 11 13:58:37 2010 +0300 @@ -30,6 +30,8 @@ #include "caclientproxy.h" #include "caclientnotifierproxy.h" +#include "cahandlerproxy.h" +#include "caqtsfhandlerloader.h" #include "caobjectadapter.h" #include "caclienttest_global.h" @@ -89,7 +91,6 @@ CaService::CaService(QObject *parent) : QObject(parent), m_d(new CaServicePrivate(this)) { - } /*! @@ -944,7 +945,10 @@ \param servicePublic pointer to public service */ CaServicePrivate::CaServicePrivate(CaService *servicePublic) : - m_q(servicePublic), mProxy(new CaClientProxy), + m_q(servicePublic), + mCommandHandler(new CaHandlerProxy(QSharedPointer + (new CaQtSfHandlerLoader()))), + mProxy(new CaClientProxy()), mNotifierProxy(NULL) { const ErrorCode connectionResult = mProxy->connect(); @@ -1338,7 +1342,7 @@ touch(entry); } - mErrorCode = mProxy->executeCommand(entry, command); + mErrorCode = mCommandHandler->execute(entry, command); qDebug() << "CaServicePrivate::executeCommand mErrorCode on return:" << mErrorCode;