MrSID Decode SDK for Raster Reference Manual
9.1.0.4045
|
delegate for locked MrSID images More...
#include <MrSIDPasswordDelegate.h>
Public Member Functions | |
MrSIDPasswordDelegate () | |
constructor More... | |
virtual | ~MrSIDPasswordDelegate () |
destructor More... | |
virtual LT_STATUS | reportIncorrectPassword ()=0 |
user function for user notification More... | |
virtual LT_STATUS | getPassword ()=0 |
user function for getting the password More... | |
Protected Member Functions | |
char * | getPasswordBuffer () |
get password buffer More... | |
lt_uint32 | getPasswordBufferLength () |
get password buffer length More... | |
Friends | |
class | MrSIDImageReaderInterface |
class | MG2ImageWriter |
class | MG3ImageWriter |
class | MG4ImageWriter |
This abstract class is used with MrSIDImageReaderBase::setPasswordDelegate() to supply a user-callback mechanism for supplying text passwords to the internal MrSID decoder logic.
Users should derive their own class from this, supplying their own reportIncorrectPassword() and getPassword() methods.
Definition at line 30 of file MrSIDPasswordDelegate.h.
MrSIDPasswordDelegate::MrSIDPasswordDelegate | ( | ) |
|
virtual |
|
pure virtual |
This function is called by the decoder to request a password from the user. Derived classes must implement this function, e.g. to pop up a text-entry dialog box.
The implementation of this function must copy the password into the buffer pointed by getPasswordBuffer().
Implemented in MrSIDSimplePasswordDelegate.
|
protected |
This function returns a pointer to the allocated area for the password obtained from the user.
|
protected |
This function returns the length of the buffer returned from getPasswordBuffer().
|
pure virtual |
This function is called by the decoder if the password entered was incorrect. Derived classes must implement this function, e.g. to pop up a message box, abort the operation, etc.
Implemented in MrSIDSimplePasswordDelegate.
|
friend |
Definition at line 97 of file MrSIDPasswordDelegate.h.
|
friend |
Definition at line 98 of file MrSIDPasswordDelegate.h.
|
friend |
Definition at line 99 of file MrSIDPasswordDelegate.h.
|
friend |
Definition at line 96 of file MrSIDPasswordDelegate.h.
LizardTech |