CBrCtlObjectInfo Class Reference

API published in: S60 2nd Ed FP 3

Link against: browserengine.lib

Capability Information

Required Capabilities

None

Exceptions

NetworkServices capability is required for any operation that results in loading content from the network. For example, calling LoadUrlL() with a url parameter that refers to a network location requires NetworkServices capability if the content is not available from the cache or if the specified cache mode prevents loading the cached version.


#include <
brctldialogsprovider.h>

Detailed Description

The CBrCtlObjectInfo class used to represent the information about the plugin object.
  #include <BrCtlDialogsProvider.h>
 
 
 @file BrCtlDialogsProvider.h
*

Public Member Functions

 CBrCtlObjectInfo ()
 Default Constructor.
 CBrCtlObjectInfo (TBool aAppSupported, TBool aPluginSupported, const TDesC &aSize, const TDesC &aAppName, const TDesC &aFileType)
 Constructor.
void SetAppSupported (TBool aAppSupported)
 Sets the flag if there is a viewer app for this object.
void SetPluginSupported (TBool aPluginSupported)
 Sets the flag if there is a netscape plugin for this object.
void SetSize (const TDesC &aSize)
 Sets the size of the object.
void SetAppName (const TDesC &aAppName)
 Sets the name of the viewer app or netscape plugin that supports this object.
void SetFileType (const TDesC &aFileType)
 Sets the content type of the object.
TBool AppSupported ()
 Tells if there is a viewer app for this object.
TBool PluginSupported ()
 Tells if there is a netscape plugin for this object.
const TDesC & Size () const
 Gets the size of the object.
const TDesC & AppName () const
 Gets the name of the viewer app or netscape plugin that supports this object.
const TDesC & FileType () const
 Gets the content type of the object.

Constructor & Destructor Documentation

CBrCtlObjectInfo::CBrCtlObjectInfo  ) 
 

Default Constructor.

CBrCtlObjectInfo::CBrCtlObjectInfo TBool  aAppSupported,
TBool  aPluginSupported,
const TDesC &  aSize,
const TDesC &  aAppName,
const TDesC &  aFileType
 

Constructor.

Parameters:
aAppSupported A flag if there is a viewer app for this object
aPluginSupported A flag if there is a netscape plugin for this object
aSize The size of the object
aAppName The name of the viewer app or netscape plugin that supports this object
aFileType The content type of the object
Returns:
CBrCtlObjectInfo object

Member Function Documentation

const TDesC& CBrCtlObjectInfo::AppName  )  const [inline]
 

Gets the name of the viewer app or netscape plugin that supports this object.

Parameters:
None 
Returns:
Symbian descriptor containing the name of the viewer app or netscape plugin that supports this object.
TBool CBrCtlObjectInfo::AppSupported  )  [inline]
 

Tells if there is a viewer app for this object.

Parameters:
None 
Returns:
ETrue if there is a viewer app for this object EFalse if there is not a viewer app for this object.
const TDesC& CBrCtlObjectInfo::FileType  )  const [inline]
 

Gets the content type of the object.

Parameters:
None 
Returns:
Symbian descriptor holding content type of the object
TBool CBrCtlObjectInfo::PluginSupported  )  [inline]
 

Tells if there is a netscape plugin for this object.

Parameters:
None 
Returns:
ETrue if there is a netscape plugin for this object EFalse if there is not a netscape plugin for this object.
void CBrCtlObjectInfo::SetAppName const TDesC &  aAppName  )  [inline]
 

Sets the name of the viewer app or netscape plugin that supports this object.

Parameters:
aAppName Symbian descriptor containing the name of the viewer app or netscape plugin that supports this object.
Returns:
None
void CBrCtlObjectInfo::SetAppSupported TBool  aAppSupported  )  [inline]
 

Sets the flag if there is a viewer app for this object.

Parameters:
aAppSupported ETrue if there is a viewer app for this object EFalse if there is not a viewer app for this object.
Returns:
None
void CBrCtlObjectInfo::SetFileType const TDesC &  aFileType  )  [inline]
 

Sets the content type of the object.

Parameters:
aFileType Symbian descriptor holding content type of the object
Returns:
None
void CBrCtlObjectInfo::SetPluginSupported TBool  aPluginSupported  )  [inline]
 

Sets the flag if there is a netscape plugin for this object.

Parameters:
aPluginSupported ETrue if there is a netscape plugin for this object EFalse if there is not a netscape plugin for this object.
Returns:
None
void CBrCtlObjectInfo::SetSize const TDesC &  aSize  )  [inline]
 

Sets the size of the object.

Parameters:
aSize Symbian descriptor containing the size of the object
Returns:
None
const TDesC& CBrCtlObjectInfo::Size  )  const [inline]
 

Gets the size of the object.

Parameters:
None 
Returns:
Symbian descriptor containing the size of the object

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top