Eclipse SUMO - Simulation of Urban MObility
GUIUserIO.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials
5
// are made available under the terms of the Eclipse Public License v2.0
6
// which accompanies this distribution, and is available at
7
// http://www.eclipse.org/legal/epl-v20.html
8
// SPDX-License-Identifier: EPL-2.0
9
/****************************************************************************/
15
// Some OS-dependant functions to ease cliboard manipulation
16
/****************************************************************************/
17
#ifndef GUIUserIO_h
18
#define GUIUserIO_h
19
20
21
// ===========================================================================
22
// included modules
23
// ===========================================================================
24
#include <
config.h
>
25
26
#include <string>
27
#include <fx.h>
28
29
30
// ===========================================================================
31
// class definitions
32
// ===========================================================================
45
class
GUIUserIO
{
46
public
:
52
static
void
copyToClipboard
(
const
FXApp& app,
const
std::string& text);
53
58
static
std::string
copyFromClipboard
(
const
FXApp& app);
59
60
static
std::string
clipped
;
61
62
};
63
64
65
#endif
66
67
/****************************************************************************/
68
GUIUserIO::copyToClipboard
static void copyToClipboard(const FXApp &app, const std::string &text)
Copies the given text to clipboard.
Definition:
GUIUserIO.cpp:37
GUIUserIO::clipped
static std::string clipped
Definition:
GUIUserIO.h:60
GUIUserIO
Some OS-dependant functions to ease cliboard manipulation.
Definition:
GUIUserIO.h:45
config.h
GUIUserIO::copyFromClipboard
static std::string copyFromClipboard(const FXApp &app)
Copies text from the clipboard.
Definition:
GUIUserIO.cpp:45
src
utils
gui
div
GUIUserIO.h
Generated on Sun Jun 21 2020 23:18:41 for Eclipse SUMO - Simulation of Urban MObility by
1.8.17