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
789931e3
Commit
789931e3
authored
Mar 31, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export java adapted to build method for webhandler
parent
1744f4c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
7 deletions
+17
-7
xtt/lib/ge/src/ge.cpp
xtt/lib/ge/src/ge.cpp
+2
-1
xtt/lib/ge/src/ge_graph.h
xtt/lib/ge/src/ge_graph.h
+4
-1
xtt/lib/ge/src/ge_graph_web.cpp
xtt/lib/ge/src/ge_graph_web.cpp
+11
-5
No files found.
xtt/lib/ge/src/ge.cpp
View file @
789931e3
/*
/*
* Proview $Id: ge.cpp,v 1.
19 2005-12-15 07:43:03
claes Exp $
* Proview $Id: ge.cpp,v 1.
20 2006-03-31 14:34:12
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -1639,6 +1639,7 @@ static void ge_activate_generate_web( Widget w, ge_tCtx gectx, XmAnyCallbackStru
...
@@ -1639,6 +1639,7 @@ static void ge_activate_generate_web( Widget w, ge_tCtx gectx, XmAnyCallbackStru
ge_message
(
gectx
,
'E'
,
"Error from generate web"
);
ge_message
(
gectx
,
'E'
,
"Error from generate web"
);
else
else
ge_message
(
gectx
,
'I'
,
"Web-pages generated"
);
ge_message
(
gectx
,
'I'
,
"Web-pages generated"
);
Graph
::
generate_web_help
();
}
}
static
void
ge_activate_creanextpage
(
Widget
w
,
ge_tCtx
gectx
,
XmAnyCallbackStruct
*
data
)
static
void
ge_activate_creanextpage
(
Widget
w
,
ge_tCtx
gectx
,
XmAnyCallbackStruct
*
data
)
...
...
xtt/lib/ge/src/ge_graph.h
View file @
789931e3
/*
/*
* Proview $Id: ge_graph.h,v 1.2
0 2006-02-23 14:46:05
claes Exp $
* Proview $Id: ge_graph.h,v 1.2
1 2006-03-31 14:34:12
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -1310,6 +1310,9 @@ class Graph {
...
@@ -1310,6 +1310,9 @@ class Graph {
/*! \param ldhses Ldh session. */
/*! \param ldhses Ldh session. */
static
int
generate_web
(
ldh_tSesContext
ldhses
);
static
int
generate_web
(
ldh_tSesContext
ldhses
);
//! Generate web help from xtt_help.
static
int
generate_web_help
();
//
//
// Convert module
// Convert module
//
//
...
...
xtt/lib/ge/src/ge_graph_web.cpp
View file @
789931e3
/*
/*
* Proview $Id: ge_graph_web.cpp,v 1.
7 2005-09-01 14:57:53
claes Exp $
* Proview $Id: ge_graph_web.cpp,v 1.
8 2006-03-31 14:34:12
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -526,6 +526,16 @@ graph_text << "'," << resize << "," << width+20 << "," << height+20
...
@@ -526,6 +526,16 @@ graph_text << "'," << resize << "," << width+20 << "," << height+20
fp_ows
.
close
();
fp_ows
.
close
();
printf
(
"-- Web startpages generated $pwrp_web/%s.html and %s_opwin.html
\n
"
,
name
,
name
);
#endif
return
1
;
}
int
Graph
::
generate_web_help
()
{
pwr_tStatus
sts
;
pwr_tFileName
fname
;
// Copy default css-file to pwrp_web
// Copy default css-file to pwrp_web
system
(
"cp $pwr_exe/pwr_css.css $pwrp_web/"
);
system
(
"cp $pwr_exe/pwr_css.css $pwrp_web/"
);
...
@@ -537,10 +547,6 @@ graph_text << "'," << resize << "," << width+20 << "," << height+20
...
@@ -537,10 +547,6 @@ graph_text << "'," << resize << "," << width+20 << "," << height+20
}
}
sts
=
dcli_search_file
(
"$pwrp_exe/xtt_help.dat"
,
fname
,
sts
=
dcli_search_file
(
"$pwrp_exe/xtt_help.dat"
,
fname
,
DCLI_DIR_SEARCH_END
);
DCLI_DIR_SEARCH_END
);
printf
(
"-- Web startpages generated $pwrp_web/%s.html and %s_opwin.html
\n
"
,
name
,
name
);
#endif
return
1
;
return
1
;
}
}
...
...
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