Changeset 2473 for source/ariba/interface/ServiceInterface.cpp
- Timestamp:
- Feb 23, 2009, 2:21:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/interface/ServiceInterface.cpp
r2472 r2473 38 38 39 39 #include "ServiceInterface.h" 40 #include "ariba/interface/AribaContext.h"41 40 42 41 namespace ariba { 43 42 namespace interface { 44 43 45 ServiceInterface::ServiceInterface() : overlay( NULL ){44 ServiceInterface::ServiceInterface() { 46 45 } 47 46 48 47 ServiceInterface::~ServiceInterface(){ 49 if( overlay != NULL )50 overlay->unbind( this, serviceid );51 }52 53 bool ServiceInterface::initialize( AribaContext* _ctx, const ServiceID& _serviceid ){54 return initialize( &_ctx->getOverlay(), _serviceid );55 }56 57 bool ServiceInterface::initialize( BaseOverlay* _overlay, const ServiceID& _serviceid ){58 if( _overlay == NULL ) return false;59 60 overlay = _overlay;61 serviceid = _serviceid;62 63 return overlay->bind( this, serviceid);64 48 } 65 49
Note:
See TracChangeset
for help on using the changeset viewer.