MeVisLab Toolbox Reference
macView.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef MAC_VIEW_H
14 #define MAC_VIEW_H
15 
17 
18 #if defined(__APPLE__)
19 
21 
22 #ifndef MACOS_FORWARD_DECLARE_OBJC_CLASS
23 # ifdef __OBJC__
24 # define MACOS_FORWARD_DECLARE_OBJC_CLASS(classname) @class classname
25 # else
26 # define MACOS_FORWARD_DECLARE_OBJC_CLASS(classname) class classname
27 # endif
28 #endif
29 
31 
32 namespace macos {
33 
36  {
37  public:
38 
40 
42  static bool renderNSView(NSView *view, bool flush = true);
43  };
44 
45 }
46 
47 #endif // __APPLE__
48 #endif // __macView_H
View system related functions.
Definition: macView.h:36
static bool renderNSView(NSView *view, bool flush=true)
Render the invalid portions of a NSView view immediately (view must be of type NSView*)
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.
#define MACOS_FORWARD_DECLARE_OBJC_CLASS(classname)
View system related functions.
Definition: macView.h:26
AppleScript support.