12 #ifndef DOCWIRE_THREAD_SAFE_OLE_STORAGE_H
13 #define DOCWIRE_THREAD_SAFE_OLE_STORAGE_H
15 #include "core_export.h"
20 #include "wv2/src/olestorage.h"
25 class thread_safe_ole_stream_reader;
26 using namespace wvWare;
33 bool isValid()
const override;
34 bool open(Mode mode)
override;
35 void close()
override;
36 std::string name()
const override;
37 std::string getLastError();
38 bool getStreamsAndStoragesList(std::vector<std::string>& components);
39 bool enterDirectory(
const std::string& directory_path);
40 bool leaveDirectory();
41 bool readDirectFromBuffer(
unsigned char* buffer,
int size,
int offset)
override;
42 OLEStreamReader* createStreamReader(
const std::string& stream_path)
override;
44 void streamDestroyed(OLEStream* stream)
override;
The main namespace for the DocWire SDK.