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
31d8a8f7
Commit
31d8a8f7
authored
Jun 21, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to load unknown class from remote node
parent
986d9e13
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
xtt/lib/xtt/src/xtt_c_object.cpp
xtt/lib/xtt/src/xtt_c_object.cpp
+1
-1
xtt/lib/xtt/src/xtt_item.cpp
xtt/lib/xtt/src/xtt_item.cpp
+3
-3
xtt/lib/xtt/src/xtt_menu.cpp
xtt/lib/xtt/src/xtt_menu.cpp
+2
-2
xtt/lib/xtt/src/xtt_xattnav.cpp
xtt/lib/xtt/src/xtt_xattnav.cpp
+1
-1
xtt/lib/xtt/src/xtt_xnav_command.cpp
xtt/lib/xtt/src/xtt_xnav_command.cpp
+2
-2
xtt/lib/xtt/src/xtt_xnav_tables.cpp
xtt/lib/xtt/src/xtt_xnav_tables.cpp
+1
-1
No files found.
xtt/lib/xtt/src/xtt_c_object.cpp
View file @
31d8a8f7
...
...
@@ -578,7 +578,7 @@ static pwr_tStatus OpenObjectGraphFilter( xmenu_sMenuCall *ip)
for
(
sts
=
gdh_GetAttrRefTid
(
objar
,
&
classid
);
ODD
(
sts
);
sts
=
gdh_GetSuperClass
(
classid
,
&
classid
))
{
sts
=
gdh_GetSuperClass
(
classid
,
&
classid
,
pwr_cNObjid
))
{
sts
=
gdh_ObjidToName
(
cdh_ClassIdToObjid
(
classid
),
classname
,
sizeof
(
classname
),
cdh_mName_object
);
...
...
xtt/lib/xtt/src/xtt_item.cpp
View file @
31d8a8f7
...
...
@@ -297,7 +297,7 @@ int ItemBaseObject::open_attributes( XNavBrow *brow, double x, double y)
if
(
brow
->
usertype
==
brow_eUserType_XNav
&&
((
XNav
*
)
brow
->
userdata
)
->
gbl
.
show_truedb
)
sts
=
gdh_GetTrueObjectBodyDef
(
classid
,
&
bd
,
&
rows
);
else
sts
=
gdh_GetObjectBodyDef
(
classid
,
&
bd
,
&
rows
);
sts
=
gdh_GetObjectBodyDef
(
classid
,
&
bd
,
&
rows
,
objid
);
if
(
EVEN
(
sts
))
return
sts
;
for
(
i
=
0
;
i
<
rows
;
i
++
)
{
...
...
@@ -376,7 +376,7 @@ int ItemBaseObject::open_attribute( XNavBrow *brow, double x, double y,
sts
=
gdh_GetObjectClass
(
objid
,
&
classid
);
if
(
EVEN
(
sts
))
return
sts
;
sts
=
gdh_GetObjectBodyDef
(
classid
,
&
bd
,
&
rows
);
sts
=
gdh_GetObjectBodyDef
(
classid
,
&
bd
,
&
rows
,
objid
);
if
(
EVEN
(
sts
))
return
sts
;
attr_exist
=
0
;
...
...
@@ -935,7 +935,7 @@ int ItemAttrObject::open_attributes( XNavBrow *brow, double x, double y)
if
(
brow
->
usertype
==
brow_eUserType_XNav
&&
((
XNav
*
)
brow
->
userdata
)
->
gbl
.
show_truedb
)
sts
=
gdh_GetTrueObjectBodyDef
(
cid
,
&
bd
,
&
rows
);
else
sts
=
gdh_GetObjectBodyDef
(
cid
,
&
bd
,
&
rows
);
sts
=
gdh_GetObjectBodyDef
(
cid
,
&
bd
,
&
rows
,
objid
);
if
(
EVEN
(
sts
))
return
sts
;
for
(
i
=
0
;
i
<
rows
;
i
++
)
{
...
...
xtt/lib/xtt/src/xtt_menu.cpp
View file @
31d8a8f7
...
...
@@ -460,7 +460,7 @@ static int xnav_GetObjectMenu(
// Get the RtXtt menu-objects for superclasses
// TODO shadow overlayed methods...
sts
=
gdh_GetSuperClass
(
classid
,
&
supercid
);
sts
=
gdh_GetSuperClass
(
classid
,
&
supercid
,
CurrentObject
->
Objid
);
while
(
ODD
(
sts
))
{
sts
=
gdh_ObjidToName
(
cdh_ClassIdToObjid
(
supercid
),
classname
,
sizeof
(
classname
),
cdh_mName_volumeStrict
);
...
...
@@ -476,7 +476,7 @@ static int xnav_GetObjectMenu(
sts
=
gdh_GetNextSibling
(
child
,
&
child
);
}
}
sts
=
gdh_GetSuperClass
(
supercid
,
&
supercid
);
sts
=
gdh_GetSuperClass
(
supercid
,
&
supercid
,
CurrentObject
->
Objid
);
}
// Get the RtXtt menu-objects for this class, or for superclasses
...
...
xtt/lib/xtt/src/xtt_xattnav.cpp
View file @
31d8a8f7
...
...
@@ -744,7 +744,7 @@ int XAttNav::object_attr()
sts
=
gdh_GetAttrRefTid
(
&
objar
,
&
classid
);
if
(
EVEN
(
sts
))
return
sts
;
sts
=
gdh_GetObjectBodyDef
(
classid
,
&
bd
,
&
rows
);
sts
=
gdh_GetObjectBodyDef
(
classid
,
&
bd
,
&
rows
,
objar
.
Objid
);
if
(
EVEN
(
sts
))
return
sts
;
for
(
i
=
0
;
i
<
rows
;
i
++
)
{
...
...
xtt/lib/xtt/src/xtt_xnav_command.cpp
View file @
31d8a8f7
...
...
@@ -2348,7 +2348,7 @@ static int xnav_open_func( void *client_data,
dcli_search_file
(
fname
,
found_file
,
DCLI_DIR_SEARCH_END
);
if
(
ODD
(
sts
))
break
;
sts
=
gdh_GetSuperClass
(
cid
,
&
cid
);
sts
=
gdh_GetSuperClass
(
cid
,
&
cid
,
aref
.
Objid
);
}
if
(
EVEN
(
sts
))
{
xnav
->
message
(
'E'
,
"No classgraph found"
);
...
...
@@ -4369,7 +4369,7 @@ static int xnav_print_func(void *client_data,
dcli_search_file
(
fname
,
found_file
,
DCLI_DIR_SEARCH_END
);
if
(
ODD
(
sts
))
break
;
sts
=
gdh_GetSuperClass
(
cid
,
&
cid
);
sts
=
gdh_GetSuperClass
(
cid
,
&
cid
,
aref
.
Objid
);
}
if
(
EVEN
(
sts
))
{
xnav
->
message
(
'E'
,
"No classgraph found"
);
...
...
xtt/lib/xtt/src/xtt_xnav_tables.cpp
View file @
31d8a8f7
...
...
@@ -1114,7 +1114,7 @@ int XNav::show_object( pwr_tObjid objid, brow_tNode node)
if
(
EVEN
(
sts
))
return
sts
;
// Get attributes for this class
sts
=
gdh_GetObjectBodyDef
(
classid
,
&
bd
,
&
rows
);
sts
=
gdh_GetObjectBodyDef
(
classid
,
&
bd
,
&
rows
,
objid
);
if
(
EVEN
(
sts
))
return
sts
;
for
(
i
=
0
;
i
<
rows
;
i
++
)
{
...
...
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