libcryfs/test/testutils/FuseThread.h
2015-10-15 13:04:57 +02:00

25 lines
374 B
C++

#pragma once
#ifndef MESSMER_FSPP_TEST_TESTUTILS_FUSETHREAD_H_
#define MESSMER_FSPP_TEST_TESTUTILS_FUSETHREAD_H_
#include <thread>
namespace fspp {
namespace fuse {
class Fuse;
}
}
class FuseThread {
public:
FuseThread(fspp::fuse::Fuse *fuse);
void start(int argc, char *argv[]);
void stop();
private:
fspp::fuse::Fuse *_fuse;
std::thread _child;
};
#endif