thunar-usagebars/thunar/thunar-job-operation-history.h
4aiman e969f94310 thunar 4.20.2 upstream
Tree of tag thunar-4.20.2 (commit 11a519f) from https://gitlab.xfce.org/xfce/thunar.
Upstream history is not included here to keep the repository small.
2026-11-03 22:42:48 +03:00

52 lines
1.7 KiB
C

/* vi:set et ai sw=2 sts=2 ts=2: */
/*-
* Copyright (c) 2022 Alexander Schwinn <alexxcons@xfce.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __THUNAR_JOB_OPERATION_HISTORY_H__
#define __THUNAR_JOB_OPERATION_HISTORY_H__
#include "thunar-job-operation.h"
#include <glib.h>
G_BEGIN_DECLS
#define THUNAR_TYPE_JOB_OPERATION_HISTORY (thunar_job_operation_history_get_type ())
G_DECLARE_FINAL_TYPE (ThunarJobOperationHistory, thunar_job_operation_history, THUNAR, JOB_OPERATION_HISTORY, GObject)
ThunarJobOperationHistory *
thunar_job_operation_history_get_default (void);
void
thunar_job_operation_history_commit (ThunarJobOperation *job_operation);
void
thunar_job_operation_history_update_trash_timestamps (ThunarJobOperation *job_operation);
void
thunar_job_operation_history_undo (GtkWindow *parent);
void
thunar_job_operation_history_redo (GtkWindow *parent);
gboolean
thunar_job_operation_history_can_undo (void);
gboolean
thunar_job_operation_history_can_redo (void);
gchar *
thunar_job_operation_history_get_undo_text (void);
gchar *
thunar_job_operation_history_get_redo_text (void);
G_END_DECLS
#endif /* __THUNAR_JOB_OPERATION_HISTORY_H__ */