MeVisLab Toolbox Reference
macTerminalBridge.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2017, 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_TERMINAL_BRIDGE_H
14
#define MAC_TERMINAL_BRIDGE_H
15
17
18
#if defined(__APPLE__)
19
20
#include <
macSymbolVisibilityMacros.h
>
21
#include <string>
22
23
namespace
macos
{
24
26
class
OSXSUPPORT_PUBLIC_API
TerminalBridge
27
{
28
public
:
29
31
static
bool
executeScript
(
const
std::string &script);
32
};
33
34
}
35
36
#endif
// __APPLE__
37
#endif
// __macTerminalBridge_H
macos::TerminalBridge
Terminal.app scripting bridge.
Definition:
macTerminalBridge.h:27
macos::TerminalBridge::executeScript
static bool executeScript(const std::string &script)
Open new Terminal window and execute the given script (UTF-8)
macSymbolVisibilityMacros.h
OSXSUPPORT_PUBLIC_API
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.
Definition:
macSymbolVisibilityMacros.h:25
macos
AppleScript support.
Definition:
macAppleScript.h:23
MeVis
Foundation
Sources
OSXSupport
macTerminalBridge.h
Generated by
1.9.1