//
// aegis - project change supervisor
// Copyright (C) 2005, 2006, 2008 Peter Miller
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see
// .
//
#ifndef LIBAEGIS_DIR_FUNCTOR_RMDIR_BG_H
#define LIBAEGIS_DIR_FUNCTOR_RMDIR_BG_H
#include
#include
/**
* The dir_functor_rmdir_bg class is used to represent a background
* recursive directory remover.
*/
class dir_functor_rmdir_bg:
public dir_functor
{
public:
/**
* The destructor.
*/
virtual ~dir_functor_rmdir_bg();
/**
* The default constructor.
*/
dir_functor_rmdir_bg();
// See base class for documentation.
void operator()(msg_t msg, const nstring &path, const struct stat &st);
private:
/**
* The copy constructor. Do not use.
*/
dir_functor_rmdir_bg(const dir_functor_rmdir_bg &);
/**
* The assignment operator. Do not use.
*/
dir_functor_rmdir_bg &operator=(const dir_functor_rmdir_bg &);
};
#endif // LIBAEGIS_DIR_FUNCTOR_RMDIR_BG_H