source: branches/species/SL/APP/app.hxx

Last change on this file was 19662, checked in by westram, 4 weeks ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1// ========================================================= //
2//                                                           //
3//   File      : app.hxx                                     //
4//   Purpose   : arb application support                     //
5//                                                           //
6//   Coded by Ralf Westram (coder@reallysoft.de) in Dec 25   //
7//   http://www.arb-home.de/                                 //
8//                                                           //
9// ========================================================= //
10
11#ifndef APP_HXX
12#define APP_HXX
13
14#ifndef CB_H
15#include <cb.h>
16#endif
17#ifndef ARBDB_BASE_H
18#include <arbdb_base.h>
19#endif
20#ifndef AW_BASE_HXX
21#include <aw_base.hxx>
22#endif
23
24// (function prefix 'AWT_' is a leftover from former library 'AWT')
25
26#if defined(DEBUG)
27// database browser:
28void AWT_create_db_browser_awars(AW_root *aw_root, AW_default aw_def);
29void AWT_announce_db_to_browser(GBDATA *gb_main, const char *description);
30
31void AWT_create_debug_menu(AW_window *awmm);
32void AWT_check_action_ids(AW_root *aw_root, const char *suffix);
33#endif // DEBUG
34
35class UserActionTracker;
36AW_root *AWT_create_root(const char *properties, const char *program, UserActionTracker *user_tracker);
37
38void AWT_install_cb_guards();
39void AWT_install_postcb_cb(AW_postcb_cb postcb_cb);
40
41void AWT_trigger_remote_action(UNFIXED, GBDATA *gb_main, const char *remote_action_spec);
42
43// ----------------------------------------
44
45DECLARE_CBTYPE_FFV_AND_BUILDERS(ArbDisconnectCallback, void, AW_root*, GBDATA*); // generates makeArbDisconnectCallback
46void ARB_atdisconnect_callback(const ArbDisconnectCallback& cb);
47
48void ARB_disconnect_from_db(AW_root *aw_root, GBDATA*& gb_main_ref);
49
50#else
51#error app.hxx included twice
52#endif // APP_H
Note: See TracBrowser for help on using the repository browser.