ARB
Macros | Functions | Variables
MG_names.cxx File Reference
#include "merge.hxx"
#include <AW_rename.hxx>
#include <aw_root.hxx>
#include <aw_awar.hxx>
#include <aw_msg.hxx>
#include <aw_window.hxx>
#include <arb_progress.h>
Include dependency graph for MG_names.cxx:

Go to the source code of this file.

Macros

#define AWAR_ADDID_SRC   AWAR_MERGE_TMP_SRC "addid"
 
#define AWAR_ADDID_DST   AWAR_MERGE_TMP_DST "addid"
 
#define AWAR_ADDID_MATCH   AWAR_MERGE_TMP "addidmatch"
 
#define AWAR_RENAME_STATUS   AWAR_MERGE_TMP "renamestat"
 
#define AWAR_ALLOW_DUPS   AWAR_MERGE_TMP "allowdups"
 
#define AWAR_OVERRIDE   AWAR_MERGE_TMP "override"
 

Functions

void MG_create_rename_awars (AW_root *aw_root, AW_default aw_def)
 
static const charaddids_match_info (AW_root *aw_root)
 
static void addids_match_info_refresh_cb (AW_root *aw_root)
 
void MG_create_db_dependent_rename_awars (AW_root *aw_root, GBDATA *gb_src, GBDATA *gb_dst)
 
void MG_set_renamed (bool renamed, AW_root *aw_root, const char *reason)
 
GB_ERROR MG_expect_renamed ()
 
static GB_ERROR renameDB (const char *which, GBDATA *gb_db, bool allowDups)
 
static void rename_both_databases (AW_window *aww)
 
static void override_toggle_cb (AW_root *aw_root)
 
AW_windowMG_create_merge_names_window (AW_root *awr)
 

Variables

static bool was_renamed = false
 

Macro Definition Documentation

#define AWAR_ADDID_SRC   AWAR_MERGE_TMP_SRC "addid"
#define AWAR_ADDID_DST   AWAR_MERGE_TMP_DST "addid"
#define AWAR_ADDID_MATCH   AWAR_MERGE_TMP "addidmatch"
#define AWAR_RENAME_STATUS   AWAR_MERGE_TMP "renamestat"
#define AWAR_ALLOW_DUPS   AWAR_MERGE_TMP "allowdups"
#define AWAR_OVERRIDE   AWAR_MERGE_TMP "override"

Function Documentation

void MG_create_rename_awars ( AW_root aw_root,
AW_default  aw_def 
)
static const char* addids_match_info ( AW_root aw_root)
static
static void addids_match_info_refresh_cb ( AW_root aw_root)
static
void MG_create_db_dependent_rename_awars ( AW_root aw_root,
GBDATA gb_src,
GBDATA gb_dst 
)
void MG_set_renamed ( bool  renamed,
AW_root aw_root,
const char reason 
)
GB_ERROR MG_expect_renamed ( )
static GB_ERROR renameDB ( const char which,
GBDATA gb_db,
bool  allowDups 
)
static

Definition at line 127 of file MG_names.cxx.

References aw_message(), AWTC_pars_names(), error(), GBS_global_string(), and NULp.

Referenced by rename_both_databases().

static void rename_both_databases ( AW_window aww)
static
static void override_toggle_cb ( AW_root aw_root)
static
AW_window* MG_create_merge_names_window ( AW_root awr)

Variable Documentation

bool was_renamed = false
static

Definition at line 112 of file MG_names.cxx.

Referenced by MG_expect_renamed(), and MG_set_renamed().