File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,11 @@ using qt_monkey_agent::Agent;
24
24
using qt_monkey_agent::Private::PacketTypeForMonkey;
25
25
using qt_monkey_agent::Private::CommunicationAgentPart;
26
26
using qt_monkey_agent::Private::ScriptRunner;
27
+ using qt_monkey_agent::Private::Script;
27
28
using qt_monkey_common::Semaphore;
29
+ using qt_monkey_agent::CustomEventAnalyzer;
30
+ using qt_monkey_agent::UserEventsAnalyzer;
31
+ using qt_monkey_agent::PopulateScriptContext;
28
32
29
33
Agent *Agent::gAgent_ = nullptr ;
30
34
@@ -173,7 +177,7 @@ void Agent::onUserEventInScriptForm(const QString &script)
173
177
PacketTypeForMonkey::NewUserAppEvent, script);
174
178
}
175
179
176
- void Agent::onRunScriptCommand (const Private:: Script &script)
180
+ void Agent::onRunScriptCommand (const Script &script)
177
181
{
178
182
GET_THREAD (thread)
179
183
assert (QThread::currentThread () == thread_);
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ endif()
18
18
19
19
if (MSVC AND (MSVC_VERSION LESS 1900))
20
20
message (FATAL_ERROR "MSVC version ${MSVC_VERSION} have no full c++11 support" )
21
+ elseif (MSVC )
22
+ add_definitions (-DNOMINMAX)
21
23
elseif (NOT MSVC )
22
24
check_cxx_compiler_flag("-std=c++11" CXX_SUPPORTS_CXX11)
23
25
if (CXX_SUPPORTS_CXX11)
You can’t perform that action at this time.
0 commit comments