2022-01-20 18:27:56 +00:00
|
|
|
// 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.
|
2006-07-16 19:39:23 +00:00
|
|
|
|
2016-03-29 16:37:21 +00:00
|
|
|
#pragma once
|
2006-07-16 19:39:23 +00:00
|
|
|
|
2021-10-18 20:22:31 +00:00
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include <gtkmm.h>
|
|
|
|
|
2021-11-01 00:11:23 +00:00
|
|
|
class Session;
|
2006-07-16 19:39:23 +00:00
|
|
|
|
2010-12-21 19:20:58 +00:00
|
|
|
/**
|
|
|
|
* Prompt the user to confirm removing a torrent.
|
|
|
|
*/
|
2021-10-18 20:22:31 +00:00
|
|
|
void gtr_confirm_remove(
|
|
|
|
Gtk::Window& parent,
|
2021-11-01 00:11:23 +00:00
|
|
|
Glib::RefPtr<Session> const& core,
|
2021-10-18 20:22:31 +00:00
|
|
|
std::vector<int> const& torrent_ids,
|
|
|
|
bool delete_files);
|