ARB
|
#include "merge.hxx"
#include <TreeAdmin.h>
#include <awt_sel_boxes.hxx>
#include <aw_root.hxx>
#include <aw_awar.hxx>
#include <aw_msg.hxx>
#include <arbdbt.h>
#include <arb_global_defs.h>
Go to the source code of this file.
Macros | |
#define | AWAR_TREE_NAME_SRC AWAR_MERGE_TMP_SRC "tree_name" |
#define | AWAR_TREE_NAME_DST AWAR_MERGE_TMP_DST "tree_name" |
#define | AWAR_TREE_XFER_WHAT AWAR_MERGE_TMP "xfer_what" |
#define | AWAR_TREE_OVERWRITE AWAR_MERGE_TMP "overwrite" |
Enumerations | |
enum | TREE_XFER_MODE { XFER_SELECTED, XFER_ALL, XFER_MISSING, XFER_EXISTING } |
Functions | |
void | MG_create_trees_awar (AW_root *aw_root, AW_default aw_def) |
static GB_ERROR | transfer_tree (const char *tree_name, bool overwrite, const char *behind_name) |
static void | MG_transfer_tree (AW_window *aww) |
AW_window * | MG_create_merge_trees_window (AW_root *awr) |
#define AWAR_TREE_NAME_SRC AWAR_MERGE_TMP_SRC "tree_name" |
Definition at line 20 of file MG_trees.cxx.
Referenced by MG_create_merge_trees_window(), MG_create_trees_awar(), and MG_transfer_tree().
#define AWAR_TREE_NAME_DST AWAR_MERGE_TMP_DST "tree_name" |
Definition at line 21 of file MG_trees.cxx.
Referenced by MG_create_merge_trees_window(), MG_create_trees_awar(), and MG_transfer_tree().
#define AWAR_TREE_XFER_WHAT AWAR_MERGE_TMP "xfer_what" |
Definition at line 23 of file MG_trees.cxx.
Referenced by MG_create_merge_trees_window(), MG_create_trees_awar(), and MG_transfer_tree().
#define AWAR_TREE_OVERWRITE AWAR_MERGE_TMP "overwrite" |
Definition at line 24 of file MG_trees.cxx.
Referenced by MG_create_merge_trees_window(), MG_create_trees_awar(), and MG_transfer_tree().
enum TREE_XFER_MODE |
Enumerator | |
---|---|
XFER_SELECTED | |
XFER_ALL | |
XFER_MISSING | |
XFER_EXISTING |
Definition at line 26 of file MG_trees.cxx.
void MG_create_trees_awar | ( | AW_root * | aw_root, |
AW_default | aw_def | ||
) |
Definition at line 33 of file MG_trees.cxx.
References AW_root::awar_int(), AW_root::awar_string(), AWAR_TREE_NAME_DST, AWAR_TREE_NAME_SRC, AWAR_TREE_OVERWRITE, AWAR_TREE_XFER_WHAT, TreeAdmin::create_awars(), NO_TREE_SELECTED, and XFER_SELECTED.
Referenced by MERGE_create_all_awars().
|
static |
Definition at line 43 of file MG_trees.cxx.
References error(), GB_await_error(), GB_copy_dropProtectMarksAndTempstate(), GB_create_container(), GB_delete(), GBS_global_string(), GBT_BEHIND, GBT_find_bottom_tree(), GBT_find_tree(), GBT_get_tree_data(), GBT_INFRONTOF, GBT_move_tree(), GBT_tree_behind(), GBT_tree_infrontof(), GLOBAL_gb_dst, GLOBAL_gb_src, NO_TREE_SELECTED, and NULp.
Referenced by MG_transfer_tree().
|
static |
Definition at line 121 of file MG_trees.cxx.
References ARB_strdup(), aw_message(), AW_root::awar(), AWAR_TREE_NAME_DST, AWAR_TREE_NAME_SRC, AWAR_TREE_OVERWRITE, AWAR_TREE_XFER_WHAT, error(), FALLTHROUGH, GB_begin_transaction(), GB_end_transaction(), GB_end_transaction_show_error(), GBS_global_string(), GBT_find_next_tree(), GBT_find_top_tree(), GBT_find_tree(), GBT_get_tree_name(), GBT_tree_behind(), AW_window::get_root(), GLOBAL_gb_dst, GLOBAL_gb_src, NO_TREE_SELECTED, NULp, AW_awar::read_int(), AW_awar::read_string(), ta, transfer_tree(), AW_awar::write_string(), XFER_ALL, XFER_EXISTING, XFER_MISSING, and XFER_SELECTED.
Referenced by MG_create_merge_trees_window().
Definition at line 207 of file MG_trees.cxx.
References aw_message(), AW_POPDOWN(), AWAR_TREE_NAME_DST, AWAR_TREE_NAME_SRC, AWAR_TREE_OVERWRITE, AWAR_TREE_XFER_WHAT, awt_create_TREE_selection_list(), TreeAdmin::create_rename_window(), TreeAdmin::delete_tree_cb(), error(), GLOBAL_gb_dst, GLOBAL_gb_src, makeHelpCallback(), MG_expect_renamed(), MG_transfer_tree(), NULp, XFER_ALL, XFER_EXISTING, XFER_MISSING, and XFER_SELECTED.
Referenced by MERGE_create_main_window().