Remove not used ListNets() methods
This commit is contained in:
parent
260f680c6c
commit
1f09990618
|
@ -403,13 +403,6 @@ public:
|
|||
*/
|
||||
void TestforSimilarLabels();
|
||||
|
||||
/**
|
||||
* Function ListNets
|
||||
* return a the list of net names.
|
||||
*/
|
||||
wxArrayString ListNets();
|
||||
|
||||
|
||||
#if defined(DEBUG)
|
||||
void DumpNetTable()
|
||||
{
|
||||
|
|
|
@ -866,29 +866,3 @@ void NETLIST_OBJECT_LIST::setUnconnectedFlag()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
wxArrayString NETLIST_OBJECT_LIST::ListNets()
|
||||
{
|
||||
wxArrayString netNames;
|
||||
wxString netName;
|
||||
wxString ref;
|
||||
|
||||
int netCode;
|
||||
int lastNetCode = -1;
|
||||
int sameNetcodeCount = 0;
|
||||
|
||||
for( unsigned ii = 0; ii < size(); ii++ )
|
||||
{
|
||||
NETLIST_OBJECT* nitem = GetItem( ii );
|
||||
|
||||
// New net found, write net id;
|
||||
if( ( netCode = nitem->GetNet() ) != lastNetCode )
|
||||
{
|
||||
netName = nitem->GetNetName();
|
||||
netNames.Add( netName );
|
||||
lastNetCode = netCode;
|
||||
}
|
||||
}
|
||||
|
||||
return netNames;
|
||||
}
|
||||
|
|
|
@ -1520,12 +1520,3 @@ void SCH_EDIT_FRAME::SetIconScale( int aScale )
|
|||
Layout();
|
||||
SendSizeEvent();
|
||||
}
|
||||
|
||||
wxArrayString SCH_EDIT_FRAME::ListNets()
|
||||
{
|
||||
NETLIST_OBJECT_LIST* net_atoms = BuildNetListBase();
|
||||
|
||||
wxArrayString netnames = net_atoms->ListNets();
|
||||
|
||||
return netnames;
|
||||
}
|
||||
|
|
|
@ -577,11 +577,6 @@ public:
|
|||
unsigned aNetlistOptions,
|
||||
REPORTER* aReporter = NULL );
|
||||
|
||||
/**
|
||||
* Create a list of net names currently in the schematic.
|
||||
*/
|
||||
wxArrayString ListNets() override;
|
||||
|
||||
/**
|
||||
* Clear the current component annotation.
|
||||
*
|
||||
|
|
|
@ -180,16 +180,6 @@ public:
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create a list of net names currently in use by the player .
|
||||
*/
|
||||
VTBL_ENTRY wxArrayString ListNets()
|
||||
{
|
||||
wxArrayString a;
|
||||
return a;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Function ShowModal
|
||||
* puts up this wxFrame as if it were a modal dialog, with all other instantiated
|
||||
|
|
Loading…
Reference in New Issue