--- a/omaprovisioning/provisioning/ProvisioningBC/Inc/CWPNameValue.h Wed Jun 23 19:10:17 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-/*
-* Copyright (c) 2002 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:
-* This class encapsulates a name and value pair.
-*
-*/
-
-
-
-#ifndef _CWPNameValue_H_
-#define _CWPNameValue_H_
-
-// INCLUDES
-
-#include <e32base.h> // CBase
-
-// CLASS DECLARATION
-
-/**
- * Class holds name and value text pairs.
- */
-class CWPNameValue : public CBase
- {
- public: // construction
-
- /**
- * Two phased constructor.
- * @param aName The field name.
- * @param aValue The field value.
- * @return The newly constructed object.
- */
- static CWPNameValue* NewL( HBufC* aName, HBufC* aValue );
- static CWPNameValue* NewL(const TDesC& aName, const TDesC& aValue);
- static CWPNameValue* NewLC(const TDesC& aName, const TDesC& aValue);
-
- /// Destructor
- ~CWPNameValue();
-
- public: // new functions
-
- /// @return Name or KNullDesC
- const TDesC& Name() const;
- /// @return Value or KNullDesC
- const TDesC& Value() const;
-
- private: // construction
-
- /**
- * Second phase constructor.
- * @param aName The field name.
- * @param aValue The field value.
- */
- void ConstructL( const TDesC& aName, const TDesC& aValue );
-
- /**
- * Second phase constructor.
- * @param aName The field name.
- * @param aValue The field value.
- */
- void ConstructL( HBufC* aName, HBufC* aValue );
-
- private: // hidden
-
- /// Default constructor.
- CWPNameValue();
-
- /// Another constructor
- CWPNameValue( HBufC* aName, HBufC* aValue );
-
- /// Copy contructor prohibited.
- CWPNameValue(const CWPNameValue& aSource);
-
- /// Assignment operator prohibited.
- const CWPNameValue& operator=(const CWPNameValue& aSource);
-
- private:
-
- /// Own. Pointer to the name.
- HBufC* iName;
-
- /// Own. Pointer to the value.
- HBufC* iValue;
- };
-
-#endif // _CWPNameValue_H_
-
-// End of file