MrSID Decode SDK for Raster Reference Manual  9.5.5.5244
MrSIDPasswordDelegate.h
Go to the documentation of this file.
1 //
2 // This code is property of Celartem, Inc dba Extensis.
3 // Copyright (c) 1995-2023. All rights reserved.
4 // Use permitted only under license from Extensis.
5 //
6 /* PUBLIC */
7 
8 #ifndef MRSIDPASSWORDDELEGATE_H
9 #define MRSIDPASSWORDDELEGATE_H
10 
11 #include "lti_types.h"
12 
13 LT_BEGIN_LIZARDTECH_NAMESPACE
14 
26 {
27  LT_DISALLOW_COPY_CONSTRUCTOR(MrSIDPasswordDelegate);
28 public:
33 
38 
50 
63  virtual LT_STATUS getPassword() = 0;
64 
65 protected:
75 
85 
86 private:
87  class EncryptImp;
88  struct Data;
89  Data *m_data;
90 
92  friend class MG2ImageWriter;
93  friend class MG3ImageWriter;
94  friend class MG4ImageWriter;
95  void registerProvider();
96 };
97 
98 
106 {
107  LT_DISALLOW_COPY_CONSTRUCTOR(MrSIDSimplePasswordDelegate);
108 public:
116  MrSIDSimplePasswordDelegate(const char* password);
117 
126 
136 };
137 
138 LT_END_LIZARDTECH_NAMESPACE
139 
140 #endif // MRSIDPASSWORDDELEGATE_H
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:30
unsigned int lt_uint32
unsigned 32-bit integer
Definition: lt_types.h:44
This file contains a number of enums, typedefs, etc, that are used throughout the MrSID SDK.
base class for MrSID image readers
delegate for locked MrSID images
char * getPasswordBuffer()
get password buffer
MrSIDPasswordDelegate()
constructor
virtual ~MrSIDPasswordDelegate()
destructor
virtual LT_STATUS getPassword()=0
user function for getting the password
virtual LT_STATUS reportIncorrectPassword()=0
user function for user notification
lt_uint32 getPasswordBufferLength()
get password buffer length
simple concrete delegate for locked MrSID images
LT_STATUS reportIncorrectPassword()
failure user notification
MrSIDSimplePasswordDelegate(const char *password)
constructor
LT_STATUS getPassword()
get the password

Extensis