diff -r 000000000000 -r c8caa15ef882 pressrv_plat/xdm_settings_api/inc/XdmSettingsProperty.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pressrv_plat/xdm_settings_api/inc/XdmSettingsProperty.h Tue Feb 02 01:05:17 2010 +0200 @@ -0,0 +1,90 @@ +/* +* Copyright (c) 2005 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: XDM Settings property +* +*/ + + + + +#ifndef __XDMSETTINGSPROPERTY__ +#define __XDMSETTINGSPROPERTY__ + +#include + +//CLASS DECLARATION +NONSHARABLE_CLASS ( CXdmSettingsProperty ) : public CBase + { + public: + + /** + * Return the name of each settings collection + * stored in the repository + * + * @return CDesCArray* Names of all settings collections + */ + static CXdmSettingsProperty* NewL( const TDesC& aPropertyValue, + TXdmSettingsProperty aPropertyName ); + + /** + * Return the name of each settings collection + * stored in the repository + * + * @return CDesCArray* Names of all settings collections + */ + IMPORT_C TXdmSettingsProperty PropertyName() const; + + /** + * Return the name of each settings collection + * stored in the repository + * + * @return CDesCArray* Names of all settings collections + */ + IMPORT_C TPtrC PropertyValue() const; + + /** + * Return the name of each settings collection + * stored in the repository + * + * @return CDesCArray* Names of all settings collections + */ + IMPORT_C virtual ~CXdmSettingsProperty(); + + private: + + /** + * Return the name of each settings collection + * stored in the repository + * + * @return CDesCArray* Names of all settings collections + */ + CXdmSettingsProperty( TXdmSettingsProperty aPropertyName ); + + /** + * Return the name of each settings collection + * stored in the repository + * + * @return CDesCArray* Names of all settings collections + */ + void ConstructL( const TDesC& aPropertyValue ); + + private: //Data + + HBufC* iPropertyValue; + TXdmSettingsProperty iPropertyName; + }; + +#endif //__XDMSETTINGSPROPERTY__ + +// End of File