2023-11-01 21:11:11 +00:00
|
|
|
// This file Copyright © Transmission authors and contributors.
|
2022-01-20 18:27:56 +00:00
|
|
|
// 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
|
|
|
|
2022-12-26 21:13:21 +00:00
|
|
|
#include <libtransmission/transmission.h>
|
2021-10-18 20:22:31 +00:00
|
|
|
|
2022-12-27 01:43:20 +00:00
|
|
|
#include <glibmm/refptr.h>
|
|
|
|
#include <gtkmm/window.h>
|
2021-10-18 20:22:31 +00:00
|
|
|
|
2022-12-26 21:13:21 +00:00
|
|
|
#include <vector>
|
|
|
|
|
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,
|
2022-06-17 15:43:04 +00:00
|
|
|
std::vector<tr_torrent_id_t> const& torrent_ids,
|
2021-10-18 20:22:31 +00:00
|
|
|
bool delete_files);
|