| Disk ARchive 2.8.4 Full featured and portable backup and archiving tool

Loading...
Searching...
No Matches
op_tools.hpp
Go to the documentation of this file.
1/*********************************************************************/
2// dar - disk archive - a backup/restoration program
3// Copyright (C) 2002-2026 Denis Corbin
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with this program; if not, write to the Free Software
17// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18//
19// to contact the author, see the AUTHOR file
20/*********************************************************************/
21
25
26#ifndef OP_TOOLS_HPP
27#define OP_TOOLS_HPP
28
29#include "../my_config.h"
30
31#include <deque>
32
33#include "crit_action.hpp"
34#include "cat_entree.hpp"
35
36 namespace libdar
37{
38
41
43
49 extern over_action_ea op_tools_crit_ask_user_for_EA_action(user_interaction & dialog, const std::string & full_name, const cat_entree *already_here, const cat_entree *dolly);
50
52
58 extern over_action_ea op_tools_crit_ask_user_for_FSA_action(user_interaction & dialog, const std::string & full_name, const cat_entree *already_here, const cat_entree *dolly);
59
61
67 extern over_action_data op_tools_crit_ask_user_for_data_action(user_interaction & dialog, const std::string & full_name, const cat_entree *already_here, const cat_entree *dolly);
68
69
71
76 extern void op_tools_crit_show_entry_info(user_interaction & dialog, const std::string & full_name, const cat_entree *already_here, const cat_entree *dolly);
77
79
80} // end of namespace
81
82#endif
cat_entree.hpp
base class for all object contained in a catalogue
libdar::cat_entree
the root class from all other inherite for any entry in the catalogue
Definition cat_entree.hpp:60
libdar::user_interaction
This is a pure virtual class that is used by libdar when interaction with the user is required.
Definition user_interaction.hpp:58
crit_action.hpp
contains classes that let the user define the policy for overwriting files
libdar::over_action_ea
over_action_ea
the possible action for overwriting EA
Definition crit_action.hpp:62
libdar::over_action_data
over_action_data
the possible actions for overwriting data
Definition crit_action.hpp:47
libdar::op_tools_crit_ask_user_for_data_action
over_action_data op_tools_crit_ask_user_for_data_action(user_interaction &dialog, const std::string &full_name, const cat_entree *already_here, const cat_entree *dolly)
ask user for Data action
libdar::op_tools_crit_show_entry_info
void op_tools_crit_show_entry_info(user_interaction &dialog, const std::string &full_name, const cat_entree *already_here, const cat_entree *dolly)
show information suited for user comparison and decision for entry in conflict
libdar::op_tools_crit_ask_user_for_EA_action
over_action_ea op_tools_crit_ask_user_for_EA_action(user_interaction &dialog, const std::string &full_name, const cat_entree *already_here, const cat_entree *dolly)
ask user for EA action
libdar::op_tools_crit_ask_user_for_FSA_action
over_action_ea op_tools_crit_ask_user_for_FSA_action(user_interaction &dialog, const std::string &full_name, const cat_entree *already_here, const cat_entree *dolly)
ask user for FSA action
my_config.h
include macro defined by the configure script and some specific additional ones
libdar
libdar namespace encapsulate all libdar symbols
Definition archive.hpp:47