Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // 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
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Class for opening and manipulating the internet uri list.
26 #ifndef __INETURILIST_H__
27 #define __INETURILIST_H__
29 #include <ineturilistdef.h>
32 #include <babitflags.h>
34 class CInetUriListImpl;
40 This class defines the interface that can be implemented by an application to receive the
46 class MQueryResultsCallback
50 The callback function that will be called when there is at least one query result.
52 @param aUri The Inet URI object. Ownership will be passed. The application should close the
54 @return ETrue - More query results, if any, should follow.
55 EFalse - No more query result is required and querying will be stopped.
57 virtual TBool OnQueryResultsL ( RInetUri aUri ) =0;
62 This class defines the interface that can be implemented by an application that wishes to do
63 protocol and scheme-based normalisation of the URI before query operation.
72 The callback function that will be called to perform scheme and protocol-based normalisation.
73 The URI will be syntax normalised before calling this function.
75 @param aUri The syntax normalised URI.
76 @return Final normalised URI, which is syntax and protocol/scheme based.
78 virtual CUri8* OnUriCustomisationL ( const TUriC8& aUri ) =0;
84 RInetUriList represents a handle to the list as a whole. Opening the handle will initiate a connection the
85 URI List server. This class is responsible for adding, removing, updating, or retrieving the URI and
86 its associated properties.
94 IMPORT_C RInetUriList ();
96 IMPORT_C void OpenL ();
97 IMPORT_C void Close ();
99 IMPORT_C void AddL ( const RInetUri& aInetUri );
100 IMPORT_C void RemoveL ( const RInetUri& aInetUri );
101 IMPORT_C void UpdateL ( const RInetUri& aInetUri );
103 IMPORT_C RInetUri OpenInetUriL ( const TDesC8& aUri, InetUriList::TServiceType aServiceType );
104 IMPORT_C TInt Count ( InetUriList::TServiceType aServiceType, InetUriList::TListType aListType );
106 IMPORT_C TInt GetListType ( const TDesC8& aUri, InetUriList::TServiceType aServiceType, InetUriList::TListType& aListType );
108 IMPORT_C void QueryUriL ( const TQueryArgs& aArgs, MQueryResultsCallback* aQueryCallback, MUriCustomiser* aUriOptimiser =NULL );
110 CInetUriListImpl* iInetUriListImpl; // // The internal list object that this handle is connected to
113 #endif //__INETURILIST_H__