blob: b26f03409b4440e52d0ce97953f9b2d414075ca5 [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_DBUS_BINDINGS_DISALLOW_COPY_AND_ASSIGN_H_
#define CHROMEOS_DBUS_BINDINGS_DISALLOW_COPY_AND_ASSIGN_H_
#include "chromeos-dbus-bindings/indented_text.h"
#include <string>
namespace chromeos_dbus_bindings {
// Add 2 lines of code to delete the copy-constructor and assign-constructor
// into text.
void AddDisallowCopyAndAssign(const std::string& class_name,
IndentedText* text);
} // namespace chromeos_dbus_bindings
#endif // CHROMEOS_DBUS_BINDINGS_DISALLOW_COPY_AND_ASSIGN_H_