| 31 | #include "cryptdokanpriv.h" |
| 32 | |
| 33 | class CryptThreadData { |
| 34 | public: |
| 35 | DOKAN_OPERATIONS operations; |
| 36 | DOKAN_OPTIONS options; |
| 37 | CryptContext con; |
| 38 | wstring mountpoint; |
| 39 | HANDLE hThread; |
| 40 | // disallow copying |
| 41 | CryptThreadData(CryptThreadData const&) = delete; |
| 42 | void operator=(CryptThreadData const&) = delete; |
| 43 | CryptThreadData() { |
| 44 | memset(&operations, 0, sizeof(operations)); |
| 45 | memset(&options, 0, sizeof(options)); |
| 46 | hThread = NULL; |
| 47 | } |
| 48 | private: |
| 49 | friend class MountPointManager; // only MountPointManager can delete |
| 50 | virtual ~CryptThreadData(); |
| 51 | }; |
| 52 |
nothing calls this directly
no outgoing calls
no test coverage detected