transmission/gtk/Dialogs.h

21 lines
476 B
C
Raw Normal View History

2022-06-28 14:07:12 +00:00
// This file Copyright © 2005-2022 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
#pragma once
2006-07-16 19:39:23 +00:00
#include <vector>
#include <gtkmm.h>
class Session;
2006-07-16 19:39:23 +00:00
/**
* Prompt the user to confirm removing a torrent.
*/
void gtr_confirm_remove(
Gtk::Window& parent,
Glib::RefPtr<Session> const& core,
std::vector<tr_torrent_id_t> const& torrent_ids,
bool delete_files);