libcryfs/test/testutils/FuseThread.h
2015-02-17 00:48:49 +01:00

25 lines
348 B
C++

#pragma once
#ifndef TEST_TESTUTILS_FUSETHREAD_H_
#define 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