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
3cb57389
Commit
3cb57389
authored
May 27, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IO flags i ClassDef flags
parent
91544c34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
src/exe/co_convert/src/cnv_wbltoh.cpp
src/exe/co_convert/src/cnv_wbltoh.cpp
+2
-0
src/exp/inc/src/pwr_class.h
src/exp/inc/src/pwr_class.h
+18
-4
No files found.
src/exe/co_convert/src/cnv_wbltoh.cpp
View file @
3cb57389
...
...
@@ -843,6 +843,8 @@ int CnvWblToH::cixstr_to_classid( char *cix_str, pwr_tClassId *cid)
{
"pwr_eCix_MenuRef"
,
pwr_eCix_MenuRef
},
{
"pwr_eCix_Bit"
,
pwr_eCix_Bit
},
{
"pwr_eCix_Value"
,
pwr_eCix_Value
},
{
"pwr_eCix_Method"
,
pwr_eCix_Method
},
{
"pwr_eCix_RtMethod"
,
pwr_eCix_RtMethod
},
{
""
,
0
}};
found
=
0
;
...
...
src/exp/inc/src/pwr_class.h
View file @
3cb57389
...
...
@@ -80,6 +80,7 @@ typedef struct pwr_s_MountVolume pwr_sMountVolume;
typedef
struct
pwr_s_MountObject
pwr_sMountObject
;
typedef
struct
pwr_s_Bit
pwr_sBit
;
typedef
struct
pwr_s_Value
pwr_sValue
;
typedef
struct
pwr_s_Method
pwr_sMethod
;
typedef
union
pwr_u_ParDef
pwr_uParDef
;
typedef
union
pwr_u_Volume
pwr_uVolume
;
...
...
@@ -261,6 +262,8 @@ typedef enum {
pwr_eCix_MenuRef
=
60
,
pwr_eCix_Bit
=
61
,
pwr_eCix_Value
=
62
,
pwr_eCix_Method
=
63
,
pwr_eCix_RtMethod
=
64
,
pwr_eCix_
}
pwr_eCix
;
...
...
@@ -327,6 +330,8 @@ typedef enum {
pwr_eClass_MenuRef
=
pwr_ClassId
(
pwr_eCix_MenuRef
),
pwr_eClass_Bit
=
pwr_ClassId
(
pwr_eCix_Bit
),
pwr_eClass_Value
=
pwr_ClassId
(
pwr_eCix_Value
),
pwr_eClass_Method
=
pwr_ClassId
(
pwr_eCix_Method
),
pwr_eClass_RtMethod
=
pwr_ClassId
(
pwr_eCix_RtMethod
),
pwr_eClass_
}
pwr_eClass
;
...
...
@@ -464,9 +469,10 @@ union pwr_m_ClassDef {
pwr_Bits
(
NoAdopt
,
1
),
/* object can not have children */
pwr_Bits
(
Template
,
1
),
/* object is a template object */
pwr_Bits
(
IO
,
1
),
/* object is an IO object */
pwr_Bits
(
IOAgent
,
1
),
/* object is IO agent */
pwr_Bits
(
IORack
,
1
),
/* object is IO rack */
pwr_Bits
(
IOCard
,
1
),
/* object is IO card */
pwr_Bits
(
HasCallBack
,
1
),
/* object has DbCallBack */
pwr_Bits
(
CastAttr
,
1
),
/* object has casted attributes */
pwr_Bits
(
fill_0
,
2
),,
pwr_Bits
(
fill_1
,
8
),,,,,,,,
pwr_Bits
(
fill_2
,
8
),,,,,,,
)
b
;
...
...
@@ -483,8 +489,10 @@ union pwr_m_ClassDef {
#define pwr_mClassDef_NoAdopt pwr_Bit(9)
#define pwr_mClassDef_Template pwr_Bit(10)
#define pwr_mClassDef_IO pwr_Bit(11)
#define pwr_mClassDef_HasCallBack pwr_Bit(12)
#define pwr_mClassDef_CastAttr pwr_Bit(13)
#define pwr_mClassDef_IOAgent pwr_Bit(12)
#define pwr_mClassDef_IORack pwr_Bit(13)
#define pwr_mClassDef_IOCard pwr_Bit(14)
#define pwr_mClassDef_HasCallBack pwr_Bit(15)
#define pwr_mClassDef_HasRef (pwr_mClassDef_ObjXRef|pwr_mClassDef_AttrXRef|\
pwr_mClassDef_ObjRef|pwr_mClassDef_AttrRef)
...
...
@@ -788,6 +796,12 @@ struct pwr_s_DbCallBack
pwr_tUInt32
Flags
;
};
struct
pwr_s_Method
{
pwr_tString80
MethodName
;
pwr_tString40
MethodArguments
[
5
];
};
/* Menu defining classes.
...
...
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