#include <mw/ineturi.h>
Link against: ineturilist.lib
class RInetUri |
Public Member Functions | |
---|---|
RInetUri() | |
IMPORT_C void | Close() |
IMPORT_C void | CreateL(const TDesC8 &, TServiceType, TListType) |
IMPORT_C const TDesC8 & | FavouriteName() |
IMPORT_C TListType | ListType() |
IMPORT_C TPermission | Permission() |
IMPORT_C TServiceType | ServiceType() |
IMPORT_C void | SetFavouriteNameL(const TDesC8 &) |
IMPORT_C void | SetListType(TListType) |
IMPORT_C const CUri8 & | Uri() |
RInetUri represents a handle to the URI and its associated URI properties. A URI must always be associated with a service type and a list type. Service type defines the purpose for which the URI is added (for example, Browser, WAP Push, Push EMail, and so on), and the list type defines the permission associated with the URI (for example, whitelist or blacklist).
IMPORT_C void | CreateL | ( | const TDesC8 & | aUri, |
TServiceType | aServiceType, | |||
TListType | aListType | |||
) |
Creates and opens a new URI object handle, given a URI and its associated service type and list type. The URI will be syntax normalised before creation. All the URIs will be created with read-write permission. The permission cannot be changed. The service type cannot be modified later.
Parameters | |
---|---|
aUri | URI descriptor object |
aServiceType | The service type associated with the URI. For possible values, see InetUriList::TServiceType |
aListType | The list type associated with the URI |
IMPORT_C const TDesC8 & | FavouriteName | ( | ) | const |
Returns the favourite name of the URI. Returns KNullDesC8 if no favourite name is set.
IMPORT_C TListType | ListType | ( | ) | const |
Returns the list type associated with the URI.
IMPORT_C TPermission | Permission | ( | ) | const |
Returns the permission associated with the URI, that is, read-only or read-write.
IMPORT_C TServiceType | ServiceType | ( | ) | const |
Returns the service type associated with the URI.
IMPORT_C void | SetFavouriteNameL | ( | const TDesC8 & | aFavouriteName | ) |
Set the favourite name associated with the URI.
Parameters | |
---|---|
aFavouriteName | Favourite name of the URI |
IMPORT_C void | SetListType | ( | TListType | aListType | ) |
Set the new list type for the URI.
Parameters | |
---|---|
aListType | New list type to be associated with the URI |