wvsettings20/IMPSSrc/RIMPSReleaseArray.h
branchRCL_3
changeset 17 a941bc465d9f
parent 0 094583676ce7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wvsettings20/IMPSSrc/RIMPSReleaseArray.h	Wed Sep 01 12:31:13 2010 +0100
@@ -0,0 +1,49 @@
+/*
+* 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:  Array utility class for cleanup management in central
+				 repository transactions.
+*
+*/
+
+
+#ifndef __RIMPSRELEASEARRAY_H
+#define __RIMPSRELEASEARRAY_H
+
+
+//  INCLUDES
+#include <e32std.h>
+
+// CLASS DECLARATION
+
+/**
+*  Extension for RPointerArray to include
+*  owned object cleanup in close.
+*
+*  @lib WVSAPSettingsStore.dll
+*  @since 3.0
+*/
+NONSHARABLE_CLASS( RIMPSReleaseArray ): public RPointerArray< HBufC >
+    {
+public: // New functions
+
+    /**
+    * Overwritten function to include owned object cleanup in close.
+    * @since 3.0
+    */
+
+    void Close();
+    };
+
+#endif	// __RIMPSRELEASEARRAY_H
+