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
fbd156f4
Commit
fbd156f4
authored
Jan 23, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New function ldh_GetVidInfo
parent
946b39b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
wb/lib/wb/src/wb_ldh.cpp
wb/lib/wb/src/wb_ldh.cpp
+14
-0
wb/lib/wb/src/wb_ldh.h
wb/lib/wb/src/wb_ldh.h
+11
-2
No files found.
wb/lib/wb/src/wb_ldh.cpp
View file @
fbd156f4
...
...
@@ -798,6 +798,19 @@ ldh_GetSessionInfo(ldh_tSession session, ldh_sSessInfo *ip)
return
LDH__SUCCESS
;
}
pwr_tStatus
ldh_GetVidInfo
(
ldh_tWorkbench
workbench
,
pwr_tVid
vid
,
ldh_sVolumeInfo
*
ip
)
{
wb_env
*
wb
=
(
wb_env
*
)
workbench
;
wb_volume
v
=
wb
->
volume
(
vid
);
ip
->
Volume
=
v
.
vid
();
ip
->
Class
=
v
.
cid
();
ip
->
VolRep
=
v
.
type
();
//ip->Version = v.time();
return
LDH__SUCCESS
;
}
pwr_tStatus
ldh_GetVolumeInfo
(
ldh_tVolume
volume
,
ldh_sVolumeInfo
*
ip
)
{
...
...
@@ -805,6 +818,7 @@ ldh_GetVolumeInfo(ldh_tVolume volume, ldh_sVolumeInfo *ip)
ip
->
Volume
=
vp
->
vid
();
ip
->
Class
=
vp
->
cid
();
ip
->
VolRep
=
vp
->
type
();
//ip->Version = vp->time();
return
LDH__SUCCESS
;
...
...
wb/lib/wb/src/wb_ldh.h
View file @
fbd156f4
...
...
@@ -287,15 +287,16 @@ struct ldh_s_MenuCall {
void
*
EditorContext
;
void
*
WindowContext
;
ldh_eMenuSet
PointedSet
;
ldh_tSession
PointedSession
;
ldh_tSession
PointedSession
;
pwr_sAttrRef
Pointed
;
ldh_eMenuSet
SelectedSet
;
ldh_tSession
SelectedSession
;
ldh_tSession
SelectedSession
;
pwr_sAttrRef
*
Selected
;
pwr_tUInt32
SelectCount
;
ldh_sMenuItem
*
ItemList
;
pwr_tUInt32
ItemCount
;
pwr_tUInt32
ChosenItem
;
void
(
*
message_cb
)(
void
*
,
char
,
char
*
);
};
struct
ldh_s_SessInfo
{
...
...
@@ -319,6 +320,7 @@ struct ldh_s_VolumeInfo {
pwr_tVolumeId
Volume
;
pwr_tClassId
Class
;
pwr_tProjVersion
Version
;
ldh_eVolRep
VolRep
;
};
struct
ldh_s_ParDef
{
...
...
@@ -925,6 +927,13 @@ ldh_GetVolumeInfo (
ldh_sVolumeInfo
*
info
);
pwr_tStatus
ldh_GetVidInfo
(
ldh_tWorkbench
workbench
,
pwr_tVid
vid
,
ldh_sVolumeInfo
*
info
);
pwr_tStatus
ldh_TypeIdToName
(
ldh_tSession
session
,
...
...
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