MrSIDSimplePasswordDelegate Class Reference

simple concrete delegate for locked MrSID images More...

#include <MrSIDPasswordDelegate.h>

Inheritance diagram for MrSIDSimplePasswordDelegate:

MrSIDPasswordDelegate

List of all members.

Public Member Functions

 MrSIDSimplePasswordDelegate (const char *password)
 constructor
LT_STATUS reportIncorrectPassword ()
 failure user notification
LT_STATUS getPassword ()
 get the password


Detailed Description

This class is a concrete password delegate class which just takes a fixed string in its ctor.

Definition at line 110 of file MrSIDPasswordDelegate.h.


Constructor & Destructor Documentation

MrSIDSimplePasswordDelegate::MrSIDSimplePasswordDelegate ( const char *  password  ) 

Create a password delegate, using the given string.

Parameters:
password the password to use to unlock the image


Member Function Documentation

LT_STATUS MrSIDSimplePasswordDelegate::reportIncorrectPassword (  )  [virtual]

This function just returns LT_STS_Failure.

Returns:
always LT_STS_Failure

Implements MrSIDPasswordDelegate.

LT_STATUS MrSIDSimplePasswordDelegate::getPassword (  )  [virtual]

This function does nothing, as the password is fixed (determined by parameter to constructor).

Returns:
always LT_STS_Success

Implements MrSIDPasswordDelegate.


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

LizardTech