*ppObject = pBase;
return SSM_S_OK;
}
+ else if (IsEqualOID(objectID, OID_IContextRepository))
+ {
+ IBase *pBase = this;
+ pBase->addRef();
+ *ppObject = m_pContextRepository;
+ return SSM_S_OK;
+ }
return SSM_E_NOINTERFACE;
}
* @exception
* @see
*/
- SSMRESULT registerContext(IN TypeofEvent callType, IN ISSMResource *pSSMResource,
- IN IEvent *pEvent);
+ SSMRESULT registerContext(TypeofEvent callType, ISSMResource *pSSMResource,
+ IEvent *pEvent);
/**
* @fn unregisterContext
* @exception
* @see
*/
- SSMRESULT unregisterContext(IN TypeofEvent callType, IN ISSMResource *pSSMResource,
- IN IEvent *pEvent);
+ SSMRESULT unregisterContext(TypeofEvent callType, ISSMResource *pSSMResource,
+ IEvent *pEvent);
/**
* @fn getList
* @exception
* @see
*/
- SSMRESULT getList(OUT std::vector<ISSMResource *> *pList);
+ SSMRESULT getList(std::vector<ISSMResource *> *pList);
/**
* @fn onEvent
* @exception
* @see
*/
- int onEvent(IN std::string name, IN TypeofEvent callType, IN std::vector<ContextData> ctxData);
+ int onEvent(std::string name, TypeofEvent callType, std::vector<ContextData> ctxData);
};
#endif
\ No newline at end of file