transmission/gtk/Dialogs.h

21 lines
464 B
C++

// This file Copyright © 2005-2021 Transmission authors and contributors.
// It may be used under the MIT (SPDX: MIT) license.
// License text can be found in the licenses/ folder.
#pragma once
#include <vector>
#include <gtkmm.h>
class Session;
/**
* Prompt the user to confirm removing a torrent.
*/
void gtr_confirm_remove(
Gtk::Window& parent,
Glib::RefPtr<Session> const& core,
std::vector<int> const& torrent_ids,
bool delete_files);