nana/include/nana/gui/detail/internal_scope_guard.hpp

43 lines
1.2 KiB
C++

/*
* Forward Declaration of Internal Scope Guard
* Nana C++ Library(http://www.nanapro.org)
* Copyright(C) 2003-2016 Jinhao(cnjinhao@hotmail.com)
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* @file: nana/gui/detail/internal_scope_guard.hpp
*/
#ifndef NANA_GUI_DETAIL_INTERNAL_SCOPE_GUARD_HPP
#define NANA_GUI_DETAIL_INTERNAL_SCOPE_GUARD_HPP
namespace nana
{
//Implemented in bedrock
class internal_scope_guard
{
internal_scope_guard(const internal_scope_guard&) = delete;
internal_scope_guard(internal_scope_guard&&) = delete;
internal_scope_guard& operator=(const internal_scope_guard&) = delete;
internal_scope_guard& operator=(internal_scope_guard&&) = delete;
public:
internal_scope_guard();
~internal_scope_guard();
};
class internal_revert_guard
{
internal_revert_guard(const internal_revert_guard&) = delete;
internal_revert_guard(internal_revert_guard&&) = delete;
internal_revert_guard& operator=(const internal_revert_guard&) = delete;
internal_revert_guard& operator=(internal_revert_guard&&) = delete;
public:
internal_revert_guard();
~internal_revert_guard();
};
}
#endif