Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
746c23fa
Commit
746c23fa
authored
Feb 06, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt command 'close graph ' to close current graph added
parent
ffe32ebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
xtt/lib/xtt/src/xtt_xnav_command.cpp
xtt/lib/xtt/src/xtt_xnav_command.cpp
+13
-0
No files found.
xtt/lib/xtt/src/xtt_xnav_command.cpp
View file @
746c23fa
...
...
@@ -52,6 +52,7 @@
#include "rt_gdh.h"
#include "pwr_privilege.h"
#include "rt_gdh_msg.h"
#include "glow_msg.h"
#include "co_cdh.h"
#include "co_ccm.h"
#include "co_time.h"
...
...
@@ -4605,6 +4606,18 @@ static int xnav_close_func( void *client_data,
return
XNAV__HOLDCOMMAND
;
}
if
(
cdh_NoCaseStrcmp
(
file_str
,
"$current"
)
==
0
)
{
if
(
xnav
->
current_cmd_ctx
)
{
xnav
->
appl
.
remove
(
(
void
*
)
xnav
->
current_cmd_ctx
);
delete
(
XttGe
*
)
xnav
->
current_cmd_ctx
;
return
GLOW__TERMINATED
;
}
else
{
xnav
->
message
(
'E'
,
"No current graph"
);
return
XNAV__SUCCESS
;
}
}
xnav
->
close_graph
(
file_str
,
instance_p
);
return
XNAV__SUCCESS
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment