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
30f0f252
Commit
30f0f252
authored
Sep 05, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SevNodeConfig object added
parent
3d2edf23
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
1 deletion
+66
-1
wb/exp/wb/src/pwr_wb_palette.cnf
wb/exp/wb/src/pwr_wb_palette.cnf
+2
-0
wb/lib/wb/src/wb_c_sevnodeconfig.cpp
wb/lib/wb/src/wb_c_sevnodeconfig.cpp
+60
-0
wb/lib/wb/src/wb_i_base_methods.cpp
wb/lib/wb/src/wb_i_base_methods.cpp
+3
-1
wb/lib/wb/src/wb_wb.meth
wb/lib/wb/src/wb_wb.meth
+1
-0
No files found.
wb/exp/wb/src/pwr_wb_palette.cnf
View file @
30f0f252
...
...
@@ -424,6 +424,7 @@ topobjects ProjectNavigatorW2
class $System
class NodeConfig
class FriendNodeConfig
class SevNodeConfig
class BusConfig
}
...
...
@@ -452,6 +453,7 @@ palette ProjectNavigatorPalette
class NodeConfig
class $NodeHier
class RootVolumeLoad
class SevNodeConfig
class SharedVolumeLoad
class SubVolumeLoad
class $System
...
...
wb/lib/wb/src/wb_c_sevnodeconfig.cpp
0 → 100644
View file @
30f0f252
/*
* Proview $Id: wb_c_sevnodeconfig.cpp,v 1.1 2008-09-05 09:06:56 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
/* wb_c_sevnodeconfig.c -- work bench methods of the SevNodeConfig class. */
#include <string.h>
#include "wb_pwrs.h"
#include "wb_pwrs_msg.h"
#include "wb_ldh.h"
#include "pwr_baseclasses.h"
static
pwr_tStatus
PostCreate
(
ldh_tSesContext
Session
,
pwr_tObjid
Object
,
pwr_tObjid
Father
,
pwr_tClassId
Class
)
{
pwr_tObjid
poid
;
pwr_tClassId
cid
;
pwr_tStatus
sts
;
pwr_tMask
comp
;
comp
=
pwr_mDistrComponentMask_UserDatabase
|
// pwr_mDistrComponentMask_LoadFiles |
// pwr_mDistrComponentMask_ApplFile |
// pwr_mDistrComponentMask_XttHelpFile |
// pwr_mDistrComponentMask_RHostFiles |
pwr_mDistrComponentMask_AuthorizedKeysFile
;
sts
=
ldh_ClassNameToId
(
Session
,
&
cid
,
"Distribute"
);
sts
=
ldh_CreateObject
(
Session
,
&
poid
,
"Distribute"
,
cid
,
Object
,
ldh_eDest_IntoLast
);
if
(
ODD
(
sts
))
sts
=
ldh_SetObjectPar
(
Session
,
poid
,
"DevBody"
,
"Components"
,
(
char
*
)
&
comp
,
sizeof
(
comp
));
return
PWRS__SUCCESS
;
}
pwr_dExport
pwr_BindMethods
(
SevNodeConfig
)
=
{
pwr_BindMethod
(
PostCreate
),
pwr_NullMethod
};
wb/lib/wb/src/wb_i_base_methods.cpp
View file @
30f0f252
/*
* Proview $Id: wb_i_base_methods.cpp,v 1.
2 2007-01-30 07:13:02
claes Exp $
* Proview $Id: wb_i_base_methods.cpp,v 1.
3 2008-09-05 09:06:56
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -56,6 +56,7 @@ pwr_dImport pwr_BindMethods(WebHandler);
pwr_dImport
pwr_BindMethods
(
PlcProcess
);
pwr_dImport
pwr_BindMethods
(
PlcThread
);
pwr_dImport
pwr_BindMethods
(
NodeConfig
);
pwr_dImport
pwr_BindMethods
(
SevNodeConfig
);
pwr_dImport
pwr_BindMethods
(
Application
);
pwr_dExport
pwr_BindClasses
(
Base
)
=
{
...
...
@@ -94,6 +95,7 @@ pwr_dExport pwr_BindClasses(Base) = {
pwr_BindClass
(
PlcProcess
),
pwr_BindClass
(
PlcThread
),
pwr_BindClass
(
NodeConfig
),
pwr_BindClass
(
SevNodeConfig
),
pwr_BindClass
(
Application
),
pwr_NullClass
};
...
...
wb/lib/wb/src/wb_wb.meth
View file @
30f0f252
...
...
@@ -33,4 +33,5 @@ WebHandler
PlcProcess
PlcThread
NodeConfig
SevNodeConfig
Application
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