Commit 23b579cf authored by charras's avatar charras
Browse files

cvpcb: code cleaning and remove obsolete features

parent 8080a2c9
Loading
Loading
Loading
Loading
+39 −48
Original line number Diff line number Diff line
@@ -388,6 +388,7 @@ IF(WIN32_STYLE_FIND)
      D:/
      $ENV{ProgramFiles}
    PATH_SUFFIXES
      wxWidgets-2.8.8
      wxWidgets-2.8.7
      wxWidgets-2.8.6
      wxWidgets-2.8.5
@@ -396,19 +397,9 @@ IF(WIN32_STYLE_FIND)
      wxWidgets-2.8.2
      wxWidgets-2.8.1
      wxWidgets-2.8.0
      wxWidgets-2.7.4
      wxWidgets-2.7.3
      wxWidgets-2.7.2
      wxWidgest-2.7.1
      wxWidgets-2.7.0
      wxWidgets-2.7.0-1
      wxWidgets-2.6.3
      wxWidgets-2.6.2
      wxWidgets-2.6.1
      wxWidgets-2.5.4
      wxWidgets-2.5.3
      wxWidgets-2.5.2
      wxWidgets-2.5.1
      wxWidgets
    DOC "wxWidgets base/installation directory?"
    )
+0 −3
Original line number Diff line number Diff line
@@ -23,13 +23,10 @@ set(CVPCB_SRCS
    loadcmp.cpp
    memoire.cpp
    menucfg.cpp
    rdpcad.cpp
    readschematicnetlist.cpp
    savecmp.cpp
    setvisu.cpp
    tool_cvpcb.cpp
    viewlnet.cpp
    viewlogi.cpp
    writenetlistpcbnew.cpp)

set(CVPCB_EXTRA_SRCS
+0 −3
Original line number Diff line number Diff line
@@ -39,9 +39,6 @@ void Read_Config( const wxString& FileName )
    g_EDA_Appl->ReadProjectConfig( FullFileName,
        GROUP, ParamCfgList, FALSE );

    if( PkgInExtBuffer.IsEmpty() )
        PkgInExtBuffer = wxT( ".pkg" );

    if( NetInExtBuffer.IsEmpty() )
        NetInExtBuffer = wxT( ".net" );

+0 −26
Original line number Diff line number Diff line
@@ -35,27 +35,12 @@ static PARAM_CFG_LIBNAME_LIST EquivNameBufCfg
	GROUPEQU
);


static PARAM_CFG_INT NetInTypeCfg	// format Netliste ( 0= auto 1=ORCADPCB2 3,4=VIEWLOGIC)
(
	wxT("NetITyp"),		/* identification */
	&g_NetType,		/* Adresse du parametre */
	0, 4,			/* Valeurs extremes */
	1				/* Valeur par defaut */
);

static PARAM_CFG_WXSTRING NetInExtBufCfg
(
	wxT("NetIExt"),		  /* identification */
	&NetInExtBuffer
);

static PARAM_CFG_WXSTRING PkgInExtBufCfg
(
	wxT("PkgIExt"),		  /* identification */
	&PkgInExtBuffer /* Adresse du parametre */
);

static PARAM_CFG_WXSTRING NetDirBufCfg
(
	wxT("NetDir"),			/* identification */
@@ -70,14 +55,6 @@ static PARAM_CFG_WXSTRING UserLibDirBufCfg
	GROUPLIB
);

static PARAM_CFG_INT NetTypeCfg
(
	wxT("NetType"),		/* identification */
	&g_NetType,		/* Adresse du parametre */
	0,				/* Valeur par defaut */
	0, 1			/* Valeurs extremes */
);

static PARAM_CFG_BOOL DisplayPadFillCfg
(
	INSETUP,
@@ -139,14 +116,11 @@ static PARAM_CFG_BOOL DisplayPcbTrackFillCfg
static PARAM_CFG_BASE * ParamCfgList[] =
{
	& CommandCfg,
	& NetInTypeCfg,
	& NetInExtBufCfg,
	& PkgInExtBufCfg,
	& NetDirBufCfg,
	& UserLibDirBufCfg,
	& LibNameBufCfg,
	& EquivNameBufCfg,
	& NetTypeCfg,
	& DisplayPadFillCfg,
	& DisplayPadNumCfg,
	& DisplayPadNoConnCfg,
+0 −1
Original line number Diff line number Diff line
@@ -137,7 +137,6 @@ eda_global int composants_non_affectes; /* nbre de composants non af
eda_global wxString      NameBuffer;
eda_global wxString      NetInNameBuffer;
eda_global wxString      NetInExtBuffer;
eda_global wxString      PkgInExtBuffer;
eda_global wxString      NetDirBuffer;

eda_global wxString      ExtRetroBuffer
Loading