Inheritance diagram for MimeIcon:
Collaboration diagram for MimeIcon:

Public Member Functions

 MimeIcon (const char *aName)
 
 ~MimeIcon ()
 
void setName (char const *)
 
SBuf getName () const
 
void load ()
 
virtual void created (StoreEntry *)
 

Private Member Functions

 MEMPROXY_CLASS (MimeIcon)
 

Private Attributes

SBuf icon_
 
char * url_
 

Detailed Description

Definition at line 37 of file mime.cc.

Constructor & Destructor Documentation

MimeIcon::MimeIcon ( const char *  aName)
explicit

Definition at line 120 of file mime.cc.

References setName().

MimeIcon::~MimeIcon ( )

Definition at line 126 of file mime.cc.

References url_, and xfree.

Member Function Documentation

SBuf MimeIcon::getName ( ) const

Definition at line 140 of file mime.cc.

References icon_.

Referenced by mimeGetIcon().

void MimeIcon::load ( )

Definition at line 351 of file mime.cc.

References SBuf::c_str(), fatal(), StoreEntry::getPublic(), icon_, Http::METHOD_GET, mimeGetContentType(), NULL, type, and url_.

Referenced by mimeInit().

MimeIcon::MEMPROXY_CLASS ( MimeIcon  )
private
void MimeIcon::setName ( char const *  aString)

Definition at line 132 of file mime.cc.

References icon_, internalLocalUri(), url_, xfree, and xstrdup.

Referenced by MimeIcon().

Member Data Documentation

SBuf MimeIcon::icon_
private

Definition at line 52 of file mime.cc.

Referenced by created(), getName(), load(), and setName().

char* MimeIcon::url_
private

Definition at line 53 of file mime.cc.

Referenced by created(), load(), setName(), and ~MimeIcon().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors