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
/****************************************************************************/
16
// Some OS-dependant functions to ease cliboard manipulation
17
/****************************************************************************/
18
#ifndef GUIUserIO_h
19
#define GUIUserIO_h
20
21
22
// ===========================================================================
23
// included modules
24
// ===========================================================================
25
#include <
config.h
>
26
27
#include <string>
28
#include <fx.h>
29
30
31
// ===========================================================================
32
// class definitions
33
// ===========================================================================
46
class
GUIUserIO
{
47
public
:
53
static
void
copyToClipboard
(
const
FXApp& app,
const
std::string& text);
54
59
static
std::string
copyFromClipboard
(
const
FXApp& app);
60
61
static
std::string
clipped
;
62
63
};
64
65
66
#endif
67
68
/****************************************************************************/
69
GUIUserIO::copyToClipboard
static void copyToClipboard(const FXApp &app, const std::string &text)
Copies the given text to clipboard.
Definition:
GUIUserIO.cpp:38
GUIUserIO::clipped
static std::string clipped
Definition:
GUIUserIO.h:61
GUIUserIO
Some OS-dependant functions to ease cliboard manipulation.
Definition:
GUIUserIO.h:46
config.h
GUIUserIO::copyFromClipboard
static std::string copyFromClipboard(const FXApp &app)
Copies text from the clipboard.
Definition:
GUIUserIO.cpp:46
src
utils
gui
div
GUIUserIO.h
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16