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-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
18 // Some OS-dependant functions to ease cliboard manipulation
19 /****************************************************************************/
20 #ifndef GUIUserIO_h
21 #define GUIUserIO_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include <string>
34 #include <fx.h>
35 
36 
37 // ===========================================================================
38 // class definitions
39 // ===========================================================================
52 class GUIUserIO {
53 public:
61  static void copyToClipboard(const FXApp& app, const std::string& text);
62 
63  static std::string clipped;
64 
65 };
66 
67 
68 #endif
69 
70 /****************************************************************************/
71 
static std::string clipped
Definition: GUIUserIO.h:63
static void copyToClipboard(const FXApp &app, const std::string &text)
Copies the given text to clipboard.
Definition: GUIUserIO.cpp:44
Some OS-dependant functions to ease cliboard manipulation.
Definition: GUIUserIO.h:52