|
Last change
on this file was
19654,
checked in by westram, 5 weeks ago
|
- reintegrates 'macros' into 'trunk'
- improves program termination (#867)
- introduces MacroExitor classes
- handles confirmation (to quit)
- waits for macros to finish, then exits w/o confirmation
- provides specialized termination for different programs via derived classes
- has been implemented for "normal" arb and merge-tool.
- introduces ARB_disconnect_from_db
- generalizes code to terminate all interconnections between GUI, database and macro-ability
- allow to install atdisconnect-callbacks
- usable by modules operating on a database; allow to inform module that database will vanish.
- now used by all arb applications to disconnect from all their database(s), except the properties.
- fixes some broken behavior
- merge-tool
- crashed when quitting via macro
- wrong restarts, if originally started with arguments,
- importer
- failed to record/playback macros
- crashed in modules operating on the temporary import database
- database browser
- crashed on disappearing database
- adds: log:branches/macros@19620:19653
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | // =========================================================== // |
|---|
| 2 | // // |
|---|
| 3 | // File : awti_import.hxx // |
|---|
| 4 | // Purpose : // |
|---|
| 5 | // // |
|---|
| 6 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 7 | // http://www.arb-home.de/ // |
|---|
| 8 | // // |
|---|
| 9 | // =========================================================== // |
|---|
| 10 | |
|---|
| 11 | #ifndef AWTI_IMPORT_HXX |
|---|
| 12 | #define AWTI_IMPORT_HXX |
|---|
| 13 | |
|---|
| 14 | #ifndef AW_BASE_HXX |
|---|
| 15 | #include <aw_base.hxx> |
|---|
| 16 | #endif |
|---|
| 17 | #ifndef CB_H |
|---|
| 18 | #include <cb.h> |
|---|
| 19 | #endif |
|---|
| 20 | |
|---|
| 21 | // more awars defined at awti_imp_local.hxx@AWAR_IMPORT |
|---|
| 22 | #define AWAR_IMPORT_PREFIX "import/" |
|---|
| 23 | #define AWAR_IMPORT_TMP_PREFIX "tmp/import/" |
|---|
| 24 | |
|---|
| 25 | #define AWAR_IMPORT_GENOM_DB AWAR_IMPORT_TMP_PREFIX "genom_db" |
|---|
| 26 | #define AWAR_IMPORT_AUTOCONF AWAR_IMPORT_PREFIX "autoconf" |
|---|
| 27 | |
|---|
| 28 | enum AWTI_ImportType { IMP_GENOME_FLATFILE, IMP_PLAIN_SEQUENCE }; |
|---|
| 29 | |
|---|
| 30 | void AWTI_import_set_ali_and_type(AW_root *awr, const char *ali_name, const char *ali_type, GBDATA *gbmain); |
|---|
| 31 | |
|---|
| 32 | void AWTI_open_import_window(AW_root *awr, const char *def_importname, bool do_exit, GBDATA *gb_main, const RootCallback& after_import_cb); |
|---|
| 33 | void AWTI_set_importDB_pointer(GBDATA*& dbPtr); |
|---|
| 34 | |
|---|
| 35 | void AWTI_cleanup_importer(AW_root *awr); |
|---|
| 36 | GBDATA *AWTI_acquire_imported_DB_and_cleanup_importer(AW_root *awr); |
|---|
| 37 | |
|---|
| 38 | #else |
|---|
| 39 | #error awti_import.hxx included twice |
|---|
| 40 | #endif // AWTI_IMPORT_HXX |
|---|
Note: See
TracBrowser
for help on using the repository browser.