Skip to content

Commit d3a11c7

Browse files
committed
gcc compile error fix
1 parent bf6e0a2 commit d3a11c7

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

include/Imaging/DocImage.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class DocImage {
1717
public:
1818

1919
DocImage() : PageNumber(0) { } // Default constructor.
20-
inline Light Light() const; // Returns the illumination used at image scanning.
20+
inline Imaging::Light Light() const; // Returns the illumination used at image scanning.
2121
inline Util::Variant& ToVariant(); // Returns low level data to access special image information.
2222
inline RawImage GetImage(void); // Returns the related RawImage object.
2323
inline DocImage DocView(void); // Returns a rotated and cropped image.
@@ -65,7 +65,7 @@ DocImage::DocImage(const PrIns::gxModule & handle, const Util::Variant & _image,
6565
}
6666

6767
/// Returns the \ref Pr22::Imaging::Light "illumination" used at image scanning.
68-
Light DocImage::Light() const {
68+
Imaging::Light DocImage::Light() const {
6969
return light;
7070
}
7171

include/Pr22.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ class DocumentReaderDevice {
3737
inline PrOutputString GetProperty(const Util::InputString & property); // Returns a property value of the Passport Reader system.
3838
inline ECardHandling::Certificates GlobalCertificateManager(); // Returns the global certificate manager.
3939
inline ECardHandling::Certificates CertificateManager(); // Returns the certificate manager.
40-
inline Peripherals Peripherals(); // Returns the device peripheral controller.
40+
inline Pr22::Peripherals Peripherals(); // Returns the device peripheral controller.
4141
inline DocScanner & Scanner(); // Returns the document scanner.
4242
inline std::vector<ECardReader> & Readers(); // Returns a list of the card readers.
43-
inline Engine & Engine(); // Returns the data analyzer.
44-
inline DBClient & DBClient(); // Returns the database client module.
43+
inline Pr22::Engine & Engine(); // Returns the data analyzer.
44+
inline Pr22::DBClient & DBClient(); // Returns the database client module.
4545
inline void AddEventHandler(const Events::Event & event, Events::DocEventHandler * handler); // Sets an event handler object.
4646
inline void RemoveEventHandler(const Events::Event & event, Events::DocEventHandler * handler); // Removes an event handler object.
4747
inline void TriggerEvent(const Events::Event & event); // Triggers an event.
@@ -261,7 +261,7 @@ ECardHandling::Certificates DocumentReaderDevice::CertificateManager() {
261261
/** Returns the device peripheral controller module of the used
262262
* DocumentReaderDevice.
263263
*/
264-
Peripherals DocumentReaderDevice::Peripherals() {
264+
Pr22::Peripherals DocumentReaderDevice::Peripherals() {
265265
if(!device.size()) throw Exceptions::NoSuchDevice(L"[pr22] (Device not opened)");
266266
return device[0];
267267
}
@@ -280,12 +280,12 @@ std::vector<ECardReader> & DocumentReaderDevice::Readers() {
280280
}
281281

282282
/// Returns the data analyzer module of the used DocumentReaderDevice.
283-
Engine & DocumentReaderDevice::Engine() {
283+
Pr22::Engine & DocumentReaderDevice::Engine() {
284284
return engine[0];
285285
}
286286

287287
/// Returns the database client module.
288-
DBClient & DocumentReaderDevice::DBClient() {
288+
Pr22::DBClient & DocumentReaderDevice::DBClient() {
289289
return dbclient[0];
290290
}
291291

0 commit comments

Comments
 (0)