// Spectre 2 // // Douglas Thrift // // $Id$ #ifndef _Mounter_hpp_ #define _Mounter_hpp_ #include "Share.hpp" #ifdef MENES_PRAGMA_ONCE #pragma once #endif class Mounter { private: const Share& share; public: Mounter(const Share& share) : share(share) {} operator bool() { return !share.mounted() && share.mountable(); } void operator()(); }; #endif//_Mounter_hpp_