Changeset 3356
- Timestamp:
- 02/02/10 12:05:45 (5 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchServer/src/WorkbenchService.cpp
r3161 r3356 2 2 // Zen Studio Workbench Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // 6 6 // This software is provided 'as-is', without any express or implied … … 49 49 50 50 #include <Zen/Studio/WorkbenchProtocol/I_WorkbenchProtocolManager.hpp> 51 #include <Zen/Studio/WorkbenchProtocol/I_WorkbenchRequest.hpp>52 51 53 52 #include <Zen/Studio/WorkbenchModel/I_ProjectDomainObject.hpp> … … 118 117 WorkbenchService::handleMessage(pMessage_type _pMessage) 119 118 { 120 // This should be a Workbench request coming from the client 121 122 I_WorkbenchRequest* pRequest = dynamic_cast<I_WorkbenchRequest*>(_pMessage.get()); 123 124 if (pRequest) 125 { 126 throw Zen::Utility::runtime_exception("WorkbenchService::handleMessage(): Error, not implemented."); 127 } 128 else 129 { 130 // TODO Error! 131 } 119 // TODO Derive from scriptable_generic_service 120 throw Utility::runtime_exception("WorkbenchService::handleMessage(): Error, not implemented."); 132 121 } 133 122 … … 136 125 WorkbenchService::handleRequest(pRequest_type _pRequest, pResponseHandler_type _pResponseHandler) 137 126 { 138 if(_pRequest->getSourceEndpoint().isValid()) 139 { 140 throw Zen::Utility::runtime_exception("WorkbenchService::handleRequest(): Error, not implemented."); 141 } 127 // TODO Derive from scriptable_generic_service 128 throw Utility::runtime_exception("WorkbenchService::handleMessage(): Error, not implemented."); 142 129 } 143 130
