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
778e61de
Commit
778e61de
authored
Feb 28, 2003
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
a1690e1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
wb/lib/wb/src/wb_cdrep.cpp
wb/lib/wb/src/wb_cdrep.cpp
+21
-0
wb/lib/wb/src/wb_erep.cpp
wb/lib/wb/src/wb_erep.cpp
+2
-1
No files found.
wb/lib/wb/src/wb_cdrep.cpp
View file @
778e61de
#include "co_cdh.h"
#include "wb_cdrep.h"
#include "wb_erep.h"
#include "wb_merep.h"
#include "wb_ldh_msg.h"
#include "co_dbs.h"
...
...
@@ -175,6 +176,26 @@ pwr_tCid wb_cdrep::cid()
void
wb_cdrep
::
templateBody
(
pwr_tStatus
*
sts
,
pwr_eBix
bix
,
void
*
p
)
{
pwr_tStatus
status
;
// Search for template in localWb
wb_vrep
*
localwb
=
m_orep
->
vrep
()
->
erep
()
->
volume
(
&
status
,
ldh_cWBVolLocal
);
if
(
ODD
(
status
))
{
char
name
[
120
];
sprintf
(
name
,
"Templates-%s"
,
m_orep
->
name
());
wb_name
n
=
wb_name
(
name
);
wb_orep
*
templ
=
localwb
->
object
(
&
status
,
n
);
if
(
ODD
(
status
)
&&
templ
->
cid
()
==
cid
())
{
templ
->
ref
();
localwb
->
readBody
(
&
status
,
templ
,
bix
,
p
);
templ
->
unref
();
if
(
ODD
(
status
))
{
*
sts
=
LDH__SUCCESS
;
return
;
}
}
}
// Get objid for template object
pwr_tOid
oid
;
int
cix
=
cdh_oixToCix
(
m_orep
->
oid
().
oix
);
...
...
wb/lib/wb/src/wb_erep.cpp
View file @
778e61de
...
...
@@ -575,10 +575,11 @@ void wb_erep::bindMethods()
delete
cdrep
;
}
#if DEBUG
for
(
methods_iterator
it
=
m_methods
.
begin
();
it
!=
m_methods
.
end
();
it
++
)
{
cout
<<
" Method: "
<<
it
->
first
<<
endl
;
}
#endif
}
...
...
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