diff -r 65a3ef1d5bd0 -r f742655b05bf voipplugins/sipconnectionprovider/inc/scppresencehandlerrequest.h --- a/voipplugins/sipconnectionprovider/inc/scppresencehandlerrequest.h Thu Aug 19 09:45:22 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,60 +0,0 @@ -/* -* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Defines presencehandler's request ids and types -* -*/ - - -#ifndef SCPPRESENCEHANDLERREQUEST_H_ -#define SCPPRESENCEHANDLERREQUEST_H_ - -// INCLUDES -#include - -/** - * Enumeration for request types. - */ -enum TScpReqType - { - EUnknownReq = 0, - EBindReq , - EUnBindReq, - EPublishOfflineReq, - EPublishOnlineReq, - ESubscribeReq - }; - - -/** - * Class for defining presence handler request id and type - */ -class TScpReqId - { -public: - inline TScpReqId(); - inline TScpReqId( const TXIMPRequestId& aId, - TScpReqType aType ); - inline void SetId( const TXIMPRequestId& aId ); - inline void SetType( TScpReqType aType ); - inline const TXIMPRequestId& ReqId() const; - inline TScpReqType Type() const; -private: - TXIMPRequestId iReqId; - TScpReqType iType; - }; - -#include "scppresencehandlerrequest.inl" - - -#endif /*SCPPRESENCEHANDLERREQUEST_H_*/