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
bcf0b4cb
Commit
bcf0b4cb
authored
Apr 23, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt command 'show message' added
parent
627871a5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
17 deletions
+56
-17
src/doc/man/en_us/man_opg.dat
src/doc/man/en_us/man_opg.dat
+28
-16
src/doc/man/sv_se/man_opg.dat
src/doc/man/sv_se/man_opg.dat
+12
-0
xtt/lib/xtt/src/xtt_xnav_command.cpp
xtt/lib/xtt/src/xtt_xnav_command.cpp
+16
-1
No files found.
src/doc/man/en_us/man_opg.dat
View file @
bcf0b4cb
...
...
@@ -1575,6 +1575,7 @@ show graph <t>Show graph-files <LINK> show graph
show time <t>Show current time <LINK> show time
show default<t>Show default directory <LINK> show default
show children<t>Show the children of an object <LINK> show children
show message<t>Show a message <LINK> show message
show objectlist<t>Show all objects of a specific class<LINK> show objectlist
show objid <t>Show object identity <LINK> show objid
show parameter<t>Show an object attribute <LINK> show parameter
...
...
@@ -2548,6 +2549,17 @@ Show the current user and his privileges.
<B>xtt> show user
</TOPIC>
<TOPIC> show message <style> function
Command show message
Open a message window.
<B>xtt> show message /text= [/title=]
/text <t>Message text.
/title <t>Window title.
</TOPIC>
<TOPIC> show objectlist <style> function
Command show objectlist
...
...
src/doc/man/sv_se/man_opg.dat
View file @
bcf0b4cb
...
...
@@ -1590,6 +1590,7 @@ show graph <t>Visa graf-filer <LINK> show graph
show time <t>Visa aktuell tid <LINK> show time
show default<t>Visa default katalog <LINK> show default
show children<t>Visa ett objekts barn <LINK> show children
show message<t>Visa ett meddelande <LINK> show message
show objectlist<t>Visa alla objects av en specifik klass<LINK> show objectlist
show objid <t>Visa ett objekts identitet <LINK> show objid
show parameter<t>Visa ett objektsattribut <LINK> show parameter
...
...
@@ -1990,6 +1991,17 @@ logout <LINK> logout
show user <LINK> show user
</TOPIC>
<TOPIC> show message <style> function
Command show message
Öppna ett fönster med ett meddelande.
<B>xtt> show message /text= [/title=]
/text <t>Meddelande.
/title <t>Titel på fönstret.
</TOPIC>
<TOPIC> show objectlist <style> function
Command show objectlist
...
...
xtt/lib/xtt/src/xtt_xnav_command.cpp
View file @
bcf0b4cb
...
...
@@ -263,7 +263,7 @@ dcli_tCmdTable xnav_command_table[] = {
"/OPTION"
,
"/ENTRY"
,
"/NEW"
,
"/TITLE"
,
"/WINDOW"
,
"/ALARMVIEW"
,
"/WIDTH"
,
"/HEIGHT"
,
"/XPOSITION"
,
"/YPOSITION"
,
"/FULLSCREEN"
,
"/MAXIMIZE"
,
"/FULLMAXIMIZE"
,
"/SORT"
,
""
}
"/SORT"
,
"
/TEXT"
,
"
"
}
},
{
"OPEN"
,
...
...
@@ -2280,6 +2280,21 @@ static int xnav_show_func( void *client_data,
}
}
}
else
if
(
cdh_NoCaseStrncmp
(
arg1_str
,
"MESSAGE"
,
strlen
(
arg1_str
))
==
0
)
{
char
text_str
[
256
];
char
title_str
[
256
];
if
(
EVEN
(
dcli_get_qualifier
(
"/TEXT"
,
text_str
,
sizeof
(
text_str
))))
{
xnav
->
message
(
'E'
,
"Syntax error"
);
return
XNAV__SUCCESS
;
}
if
(
EVEN
(
dcli_get_qualifier
(
"/TITLE"
,
title_str
,
sizeof
(
title_str
))))
strncpy
(
title_str
,
Lng
::
translate
(
"Message"
),
sizeof
(
title_str
));
xnav
->
wow
->
DisplayText
(
title_str
,
text_str
);
}
else
if
(
cdh_NoCaseStrncmp
(
arg1_str
,
"VOLUMES"
,
strlen
(
arg1_str
))
==
0
)
{
/* Command is "SHOW VOLUMES" */
...
...
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