diff -r 000000000000 -r dd21522fd290 codhandler/codeng/inc/RoapData.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/codhandler/codeng/inc/RoapData.h Mon Mar 30 12:54:55 2009 +0300 @@ -0,0 +1,73 @@ +/* +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: +* Declaration of class CRoapData. +* +* +*/ + + +#ifndef ROAP_DATA_H +#define ROAP_DATA_H + +// INCLUDES + +#include +#include + +// CLASS DECLARATION + +/** +* ROAP data container. +*/ +NONSHARABLE_CLASS( CRoapData ): public CBase + { + + public: // Constructors and destructor + + /** + * Two-phased constructor. Leaves on failure. + * @return The created model. + */ + static CRoapData* NewL(); + + /** + * Destructor. + */ + virtual ~CRoapData(); + + public: // new methods + + /** + * Reset. + */ + void Reset(); + + private: // Constructors + + /** + * Constructor. + */ + CRoapData(); + + public: // data + + Roap::TTriggerType iType; ///< Trigger type. + Roap::TRiContextStatus iContextStatus; ///< Context status. + Roap::TDomainOperation iDomainOperation; ///< Domain operation. + RPointerArray iContentIdList; ///< Content id list. + HBufC8* iRiAlias; ///< RI alias or NULL. Own. + }; + +#endif /* def ROAP_DATA_H */