#ifndef MODULE_VOID_HANDLE_H
#define MODULE_VOID_HANDLE_H

#ifndef MODULE_HANDLE_H
#include "Module_handle.h"
#endif

#ifndef COMMAND_H
#include "Command.h"
#endif

namespace MM
{

class Module_void_handle : public Module_handle
{
    Own <Command>               command_;

public:
    Module_void_handle (Module & module, Command * adoptee)
        : Module_handle(module), command_(adoptee)
    {
    }

   ~Module_void_handle ();

    Own <Command> &             command ()        {return command_;}
};

}//MM

#endif //MODULE_VOID_HANDLE_H
