Commit 4a1219fd authored by claes's avatar claes

utl_replace_symbol made public

parent dd74efc7
/* /*
* Proview $Id: wb_utl.cpp,v 1.9 2008-04-07 14:53:06 claes Exp $ * Proview $Id: wb_utl.cpp,v 1.10 2008-05-28 11:53:08 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -11427,9 +11427,9 @@ static cross_t_list *cross_crosslist[CROSSLIST_SIZE] = {0,0,0,0,0,0,0,0,0,0}; ...@@ -11427,9 +11427,9 @@ static cross_t_list *cross_crosslist[CROSSLIST_SIZE] = {0,0,0,0,0,0,0,0,0,0};
static int cross_crosslist_count[CROSSLIST_SIZE] = {0,0,0,0,0,0,0,0,0,0}; static int cross_crosslist_count[CROSSLIST_SIZE] = {0,0,0,0,0,0,0,0,0,0};
pwr_tStatus utl_replace_symbol( ldh_tSesContext ldhses, pwr_tStatus wb_utl::utl_replace_symbol( ldh_tSesContext ldhses,
pwr_tObjid oid, pwr_tObjid oid,
pwr_sAttrRef *arp) pwr_sAttrRef *arp)
{ {
switch ( arp->Objid.vid) { switch ( arp->Objid.vid) {
case ldh_cPlcFoVolume: { case ldh_cPlcFoVolume: {
...@@ -11613,7 +11613,7 @@ static int cross_crosslist_object_insert( ...@@ -11613,7 +11613,7 @@ static int cross_crosslist_object_insert(
aref = *aref_ptr; aref = *aref_ptr;
free((char *) aref_ptr); free((char *) aref_ptr);
utl_replace_symbol( ldhses, arp->Objid, &aref); wb_utl::utl_replace_symbol( ldhses, arp->Objid, &aref);
if ( cdh_ObjidIsNotNull( aref.Objid)) { if ( cdh_ObjidIsNotNull( aref.Objid)) {
/* Check if object exists */ /* Check if object exists */
......
/* /*
* Proview $Id: wb_utl.h,v 1.11 2008-04-07 14:53:06 claes Exp $ * Proview $Id: wb_utl.h,v 1.12 2008-05-28 11:53:08 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -60,6 +60,9 @@ class wb_utl { ...@@ -60,6 +60,9 @@ class wb_utl {
unsigned long overview, int pdf, FILE *plclink); unsigned long overview, int pdf, FILE *plclink);
int redraw_windows( pwr_tObjid Objdid, ldh_tSesContext ldhses, int redraw_windows( pwr_tObjid Objdid, ldh_tSesContext ldhses,
ldh_tWBContext ldhwb); ldh_tWBContext ldhwb);
static pwr_tStatus utl_replace_symbol( ldh_tSesContext ldhses,
pwr_tObjid oid,
pwr_sAttrRef *arp);
}; };
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment