source: trunk/WINDOW/aw_msg.hxx

Last change on this file was 6867, checked in by westram, 14 years ago
  • ARB GUI (merges [6844] [6845] [6847] [6858] [6861] from refactor)
    • new central header cb.h (planned to define ALL callbacks used in ARB here later)
    • refactored callback handling for some AW_root callbacks
      • AW_root_callback hides function ptr + arguments
      • AW_root_cblist hides lists of AW_root_callback
    • DRYed AW_RCB
    • reduced tight coupling between some of WINDOW/*.hxx (omg)
    • removed AWUSE
File size: 1.0 KB
Line 
1// ================================================================= //
2//                                                                   //
3//   File      : aw_msg.hxx                                          //
4//   Purpose   : Provide aw_message and related functions            //
5//                                                                   //
6//   Coded by Ralf Westram (coder@reallysoft.de) in September 2010   //
7//   Institute of Microbiology (Technical University Munich)         //
8//   http://www.arb-home.de/                                         //
9//                                                                   //
10// ================================================================= //
11
12#ifndef AW_MSG_HXX
13#define AW_MSG_HXX
14
15#ifndef ARB_ERROR_H
16#include <arb_error.h>
17#endif
18
19
20void aw_message(const char *msg);
21inline void aw_message_if(GB_ERROR error) { if (error) aw_message(error); }
22inline void aw_message_if(ARB_ERROR& error) { aw_message_if(error.deliver()); }
23
24#else
25#error aw_msg.hxx included twice
26#endif // AW_MSG_HXX
Note: See TracBrowser for help on using the repository browser.