epoc32/include/mw/apnetworkitemlist.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
--- a/epoc32/include/mw/apnetworkitemlist.h	Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/mw/apnetworkitemlist.h	Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,74 @@
-apnetworkitemlist.h
+/*
+* 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
+* which accompanies this distribution, and is available
+* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Declaration of the CApNetworkItemList class.
+*
+*/
+
+
+#ifndef CAPNETWORKITEMLIST_H
+#define CAPNETWORKITEMLIST_H
+
+// Deprecation warning
+#warning This header file has been deprecated. Will be removed in one of the next SDK releases.
+ 
+ 
+//  INCLUDES
+#include <e32base.h>
+#include <ApEngineVer.h>
+
+// FORWARD DECLARATION
+
+class CApNetworkItem;
+
+// CLASS DECLARATION
+/**
+*  A list of CApNetworkItem-s pointers; items are owned.
+*/
+class CApNetworkItemList : public CArrayPtrFlat<CApNetworkItem>
+    {
+    public:  // Constructors and destructor
+
+        /**
+        * C++ default constructor.
+        *
+        * @deprecated
+        */
+        IMPORT_C CApNetworkItemList();
+
+        /**
+        * Destructor. Items in the list are destroyed.
+        *
+        * @deprecated
+        */
+        IMPORT_C virtual ~CApNetworkItemList();
+
+    public:  // New methods
+
+        /**
+        * Get pointer to the item having aUid,
+        * or NULL if no such item is in the
+        * list.
+        * @param aUid Uid of item to get.
+        * @return Pointer to the item having uid aUid, or NULL. Ownership
+        * not passed (the list still owns the item).
+        *
+        * @deprecated
+        */
+        IMPORT_C const CApNetworkItem* ItemForUid( TUint32 aUid ) const;
+
+    };
+
+#endif // CAPNETWORKITEMLIST_H
+
+// End of File