git-svn-id: https://svn.code.sf.net/p/freetel/code@1049 01035d8c-6547-0410-b346-abe4f...
authorwittend99 <wittend99@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 23 Nov 2012 15:59:26 +0000 (15:59 +0000)
committerwittend99 <wittend99@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 23 Nov 2012 15:59:26 +0000 (15:59 +0000)
32 files changed:
fdmdv2/build/fdmdv2.mk
fdmdv2/build/fdmdv2.project
fdmdv2/build/fdmdv2.txt
fdmdv2/build/fdmdv2_wsp.mk
fdmdv2/src/Makefile
fdmdv2/src/Makefile.linux.dmw
fdmdv2/src/dlg_about.cpp [deleted file]
fdmdv2/src/dlg_about.h [deleted file]
fdmdv2/src/dlg_audiooptions.cpp
fdmdv2/src/dlg_audiooptions.h
fdmdv2/src/dlg_comports.cpp
fdmdv2/src/dlg_comports.h
fdmdv2/src/dlg_options.cpp
fdmdv2/src/dlg_options.h
fdmdv2/src/fdmdv2_defines.h
fdmdv2/src/fdmdv2_hdw_ports.cpp
fdmdv2/src/fdmdv2_hdw_ports.h
fdmdv2/src/fdmdv2_main.cpp
fdmdv2/src/fdmdv2_main.h
fdmdv2/src/fdmdv2_pa_wrapper.cpp
fdmdv2/src/fdmdv2_pa_wrapper.h
fdmdv2/src/fdmdv2_plot.cpp
fdmdv2/src/fdmdv2_plot.h
fdmdv2/src/fdmdv2_plot_scalar.cpp
fdmdv2/src/fdmdv2_plot_scalar.h
fdmdv2/src/fdmdv2_plot_scatter.cpp
fdmdv2/src/fdmdv2_plot_scatter.h
fdmdv2/src/fdmdv2_plot_spectrum.cpp
fdmdv2/src/fdmdv2_plot_spectrum.h
fdmdv2/src/fdmdv2_plot_waterfall_linux.h
fdmdv2/src/topFrame.cpp
fdmdv2/src/topFrame.h

index aac6c79ecdde6f25dea03064952e20fe0fb7fc63..bb08072c2a01a21ca3c3b8ce841802e6872b98e1 100644 (file)
@@ -13,7 +13,7 @@ CurrentFileName        :=
 CurrentFilePath        :=\r
 CurrentFileFullPath    :=\r
 User                   :=wittend\r
-Date                   :=11/19/2012\r
+Date                   :=11/23/2012\r
 CodeLitePath           :="D:\bin\CodeLite"\r
 LinkerName             :=g++\r
 SharedObjectLinkerName :=g++ -shared -fPIC\r
@@ -27,8 +27,8 @@ OutputSwitch           :=-o
 LibraryPathSwitch      :=-L\r
 PreprocessorSwitch     :=-D\r
 SourceSwitch           :=-c \r
-OutputFile             :=$(IntermediateDirectory)/$(ProjectName)\r
-Preprocessors          :=$(PreprocessorSwitch)__WX__ \r
+OutputFile             :=$(IntermediateDirectory)/freeDV\r
+Preprocessors          :=$(PreprocessorSwitch)__WX__ $(PreprocessorSwitch)DMW=1 \r
 ObjectSwitch           :=-o \r
 ArchiveOutputSwitch    := \r
 PreprocessOnlySwitch   :=-E \r
@@ -52,8 +52,8 @@ LibPath                := $(LibraryPathSwitch). $(LibraryPathSwitch)d:/Projects/
 AR       := ar rcus\r
 CXX      := g++\r
 CC       := gcc\r
-CXXFLAGS :=  -O2 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) $(Preprocessors)\r
-CFLAGS   :=  -O2 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) $(Preprocessors)\r
+CXXFLAGS :=  -O2 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no)  -DSVN_REVISION=\"1046\"  $(Preprocessors)\r
+CFLAGS   :=  -O2 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no)  -DSVN_REVISION=\"1046\"  $(Preprocessors)\r
 \r
 \r
 ##\r
@@ -64,8 +64,8 @@ WXWIN:=D:\bin\wxWidgets-2.9.4
 PATH:=$(WXWIN)\lib\gcc_dll;$(PATH)\r
 WXCFG:=gcc_dll\mswu\r
 UNIT_TEST_PP_SRC_DIR:=D:\bin\UnitTest++-1.3\r
-Objects=$(IntermediateDirectory)/src_dlg_about$(ObjectSuffix) $(IntermediateDirectory)/src_dlg_comports$(ObjectSuffix) $(IntermediateDirectory)/src_dlg_options$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_main$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_plot$(ObjectSuffix) $(IntermediateDirectory)/src_topFrame$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_plot_scatter$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_plot_spectrum$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_pa_wrapper$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_plot_scalar$(ObjectSuffix) \\r
-       $(IntermediateDirectory)/src_fdmdv2_hdw_ports$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_plot_waterfall_linux$(ObjectSuffix) $(IntermediateDirectory)/src_dlg_audiooptions$(ObjectSuffix) \r
+Objects=$(IntermediateDirectory)/src_dlg_comports$(ObjectSuffix) $(IntermediateDirectory)/src_dlg_options$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_main$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_plot$(ObjectSuffix) $(IntermediateDirectory)/src_topFrame$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_plot_scatter$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_plot_spectrum$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_pa_wrapper$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_plot_scalar$(ObjectSuffix) $(IntermediateDirectory)/src_fdmdv2_hdw_ports$(ObjectSuffix) \\r
+       $(IntermediateDirectory)/src_fdmdv2_plot_waterfall_linux$(ObjectSuffix) $(IntermediateDirectory)/src_dlg_audiooptions$(ObjectSuffix) \r
 \r
 ##\r
 ## Main Build Targets \r
@@ -83,19 +83,14 @@ $(IntermediateDirectory)/.d:
        @$(MakeDirCommand) "./Release"\r
 \r
 PreBuild:\r
+       @echo Executing Pre Build commands ...\r
+       D:\bin\TortiseSVN\bin\svnversion -c D:\Projects\Radio\fdmdv2\r
+       @echo Done\r
 \r
 \r
 ##\r
 ## Objects\r
 ##\r
-$(IntermediateDirectory)/src_dlg_about$(ObjectSuffix): ../src/dlg_about.cpp $(IntermediateDirectory)/src_dlg_about$(DependSuffix)\r
-       $(CXX) $(IncludePCH) $(SourceSwitch) "D:/Projects/Radio/fdmdv2/src/dlg_about.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/src_dlg_about$(ObjectSuffix) $(IncludePath)\r
-$(IntermediateDirectory)/src_dlg_about$(DependSuffix): ../src/dlg_about.cpp\r
-       @$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/src_dlg_about$(ObjectSuffix) -MF$(IntermediateDirectory)/src_dlg_about$(DependSuffix) -MM "D:/Projects/Radio/fdmdv2/src/dlg_about.cpp"\r
-\r
-$(IntermediateDirectory)/src_dlg_about$(PreprocessSuffix): ../src/dlg_about.cpp\r
-       @$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/src_dlg_about$(PreprocessSuffix) "D:/Projects/Radio/fdmdv2/src/dlg_about.cpp"\r
-\r
 $(IntermediateDirectory)/src_dlg_comports$(ObjectSuffix): ../src/dlg_comports.cpp $(IntermediateDirectory)/src_dlg_comports$(DependSuffix)\r
        $(CXX) $(IncludePCH) $(SourceSwitch) "D:/Projects/Radio/fdmdv2/src/dlg_comports.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/src_dlg_comports$(ObjectSuffix) $(IncludePath)\r
 $(IntermediateDirectory)/src_dlg_comports$(DependSuffix): ../src/dlg_comports.cpp\r
@@ -198,9 +193,6 @@ $(IntermediateDirectory)/src_dlg_audiooptions$(PreprocessSuffix): ../src/dlg_aud
 ## Clean\r
 ##\r
 clean:\r
-       $(RM) $(IntermediateDirectory)/src_dlg_about$(ObjectSuffix)\r
-       $(RM) $(IntermediateDirectory)/src_dlg_about$(DependSuffix)\r
-       $(RM) $(IntermediateDirectory)/src_dlg_about$(PreprocessSuffix)\r
        $(RM) $(IntermediateDirectory)/src_dlg_comports$(ObjectSuffix)\r
        $(RM) $(IntermediateDirectory)/src_dlg_comports$(DependSuffix)\r
        $(RM) $(IntermediateDirectory)/src_dlg_comports$(PreprocessSuffix)\r
index a7d731375b8db07bc523ba47b8e71cafd054e43b..07c1296cb6f9f116beb7f9cc4b858183dc763cae 100644 (file)
@@ -8,7 +8,6 @@
   <Description/>
   <Dependencies/>
   <VirtualDirectory Name="src">
-    <File Name="../src/dlg_about.cpp"/>
     <File Name="../src/dlg_comports.cpp"/>
     <File Name="../src/dlg_options.cpp"/>
     <File Name="../src/fdmdv2_main.cpp"/>
@@ -23,7 +22,6 @@
     <File Name="../src/dlg_audiooptions.cpp"/>
   </VirtualDirectory>
   <VirtualDirectory Name="include">
-    <File Name="../src/dlg_about.h"/>
     <File Name="../src/dlg_comports.h"/>
     <File Name="../src/dlg_options.h"/>
     <File Name="../src/fdmdv2_main.h"/>
         <IncludePath Value="../../../Audio/libsndfile/include"/>
         <IncludePath Value="../../../Audio/libsamplerate-0.1.8/src"/>
         <Preprocessor Value="__WX__"/>
+        <Preprocessor Value="DMW=1"/>
       </Compiler>
       <Linker Options="-mwindows;-s;$(shell wx-config --debug=no --libs --unicode=yes)" Required="yes">
         <LibraryPath Value="d:/Projects/Radio/codec2-dev/src/.libs"/>
         <Library Value="libsamplerate.dll.a"/>
       </Linker>
       <ResourceCompiler Options="$(shell wx-config --rcflags)" Required="no"/>
-      <General OutputFile="$(IntermediateDirectory)/$(ProjectName)" IntermediateDirectory="./Release" Command="./$(ProjectName)" CommandArguments="" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="no"/>
+      <General OutputFile="$(IntermediateDirectory)/freeDV" IntermediateDirectory="./Release" Command="./freeDV" CommandArguments="" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="no"/>
       <Environment EnvVarSetName="&lt;Use Defaults&gt;" DbgSetName="&lt;Use Defaults&gt;">
         <![CDATA[]]>
       </Environment>
         <PostConnectCommands/>
         <StartupCommands/>
       </Debugger>
-      <PreBuild/>
+      <PreBuild>
+        <Command Enabled="yes">D:\bin\TortiseSVN\bin\svnversion -c D:\Projects\Radio\fdmdv2</Command>
+      </PreBuild>
       <PostBuild/>
       <CustomBuild Enabled="no">
         <RebuildCommand/>
index 85fa679c2d66ada32f3e70245967d087ba93625b..e88756f055281fe42873554966d09fefcda73c80 100644 (file)
@@ -1 +1 @@
-./Release/src_dlg_about.o ./Release/src_dlg_comports.o ./Release/src_dlg_options.o ./Release/src_fdmdv2_main.o ./Release/src_fdmdv2_plot.o ./Release/src_topFrame.o ./Release/src_fdmdv2_plot_scatter.o ./Release/src_fdmdv2_plot_spectrum.o ./Release/src_fdmdv2_pa_wrapper.o ./Release/src_fdmdv2_plot_scalar.o  ./Release/src_fdmdv2_hdw_ports.o ./Release/src_fdmdv2_plot_waterfall_linux.o ./Release/src_dlg_audiooptions.o  \r
+./Release/src_dlg_comports.o ./Release/src_dlg_options.o ./Release/src_fdmdv2_main.o ./Release/src_fdmdv2_plot.o ./Release/src_topFrame.o ./Release/src_fdmdv2_plot_scatter.o ./Release/src_fdmdv2_plot_spectrum.o ./Release/src_fdmdv2_pa_wrapper.o ./Release/src_fdmdv2_plot_scalar.o ./Release/src_fdmdv2_hdw_ports.o  ./Release/src_fdmdv2_plot_waterfall_linux.o ./Release/src_dlg_audiooptions.o  \r
index e920a49f92d611834cd057fddc19ad80c7942a1c..f156d21de0987206fb7ab1f811047c26b5d8cc39 100644 (file)
@@ -2,7 +2,7 @@
 
 All:
        @echo "----------Building project:[ fdmdv2 - Release ]----------"
-       @"$(MAKE)" -f "fdmdv2.mk"
+       @"$(MAKE)" -f "fdmdv2.mk" PreBuild && "$(MAKE)" -f "fdmdv2.mk"
 clean:
        @echo "----------Cleaning project:[ fdmdv2 - Release ]----------"
        @"$(MAKE)" -f "fdmdv2.mk" clean
index e32c54126085edcd983f3e7ae27e2295e6a31589..f8f5b7fda604fda281009a3fb927fa8ec7145992 100644 (file)
@@ -1,20 +1,5 @@
-# Makefile.in generated by automake 1.11.1 from Makefile.am.
-# src/Makefile.  Generated from Makefile.in by configure.
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
-# Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-
-
+# Dave Witten's Makefile
+# 
 pkgdatadir = $(datadir)/fdmdv2
 pkgincludedir = $(includedir)/fdmdv2
 pkglibdir = $(libdir)/fdmdv2
index e3d1cd62de92fbbd0faeb7b226b9f52b577b612a..332d021b406c7b4325da3fe55dc6a70e9a416eae 100644 (file)
@@ -11,10 +11,12 @@ CODEC2_PATH=/home/wittend/Projects/codec2-dev
 WX_CONFIG=$(WX_GTK_PATH)/wx-config
 WX_CPPFLAGS = $(shell $(WX_CONFIG) --cxxflags)
 WX_LIBS = $(shell $(WX_CONFIG) --libs core, base, aui)
+SVN_REVISION=$(shell svnversion)
 CODEC2_INC=-I$(CODEC2_PATH)/src
 CODEC2_LIB=$(CODEC2_PATH)/src/.libs/libcodec2.a
 
-CPP_FLAGS = $(WX_CPPFLAGS) $(CODEC2_INC) -I../extern/include -g -Wall
+#CPP_FLAGS = $(WX_CPPFLAGS) $(CODEC2_INC) -I../extern/include -g -Wall
+CPP_FLAGS = $(WX_CPPFLAGS) $(CODEC2_INC) -I. -g -Wall -O3 -DSVN_REV=\"$(SVN_REVISION)\"
 LIBS = $(WX_LIBS) $(CODEC2_LIB) -lm -lportaudiocpp -lpthread -lsndfile -lsamplerate
 
 OBJS = topFrame.o \
diff --git a/fdmdv2/src/dlg_about.cpp b/fdmdv2/src/dlg_about.cpp
deleted file mode 100644 (file)
index 1746ad5..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-//==========================================================================
-// Name:            dlg_about.h
-//
-// Purpose:         Creates simple wxWidgets dialog GUI for the
-//                  help/about page.
-//
-// Date:            May 05 2012
-// Authors:         David Rowe, David Witten
-// 
-// License:
-//
-//  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
-//  as published by the Free Software Foundation.  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 Lesser General Public License
-//  along with this program; if not, see <http://www.gnu.org/licenses/>.
-//
-//==========================================================================
-#include "dlg_about.h"
-
-AboutDlg::AboutDlg( wxWindow* parent ) : DlgAbout( parent )
-{
-}
-
-void AboutDlg::OnInitDialog( wxInitDialogEvent& event )
-{
-// TODO: Implement OnInitDialog
-}
-
-//-------------------------------------------------------------------------
-// ExchangeData()
-//-------------------------------------------------------------------------
-void AboutDlg::ExchangeData(int inout)
-{
-//    wxConfigBase *pConfig = wxConfigBase::Get();
-    if(inout == EXCHANGE_DATA_IN)
-    {
-//        m_textRigCtrlPort->SetValue(wxGetApp().m_strRigCtrlPort);
-//        m_textRigCtrlBaud->SetValue(wxGetApp().m_strRigCtrlBaud);
-//        m_textRigCtrlDatabits->SetValue(wxGetApp().m_strRigCtrlDatabits);
-//        m_textRigCtrlStopbits->SetValue(wxGetApp().m_strRigCtrlStopbits);
-//        m_textRigCtrlParity->SetValue(wxGetApp().m_strRigCtrlParity);
-    }
-    if(inout == EXCHANGE_DATA_OUT)
-    {
-//        wxGetApp().m_strRigCtrlPort             = m_textRigCtrlPort->GetValue();
-//        wxGetApp().m_strRigCtrlBaud             = m_textRigCtrlBaud->GetValue();
-//        wxGetApp().m_strRigCtrlDatabits         = m_textRigCtrlDatabits->GetValue();
-//        wxGetApp().m_strRigCtrlStopbits         = m_textRigCtrlStopbits->GetValue();
-//        wxGetApp().m_strRigCtrlParity           = m_textRigCtrlParity->GetValue();
-
-//        pConfig->Write(wxT("/Rig/Port"),        wxGetApp().m_strRigCtrlPort);
-//        pConfig->Write(wxT("/Rig/Baud"),        wxGetApp().m_strRigCtrlBaud);
-//        pConfig->Write(wxT("/Rig/DataBits"),    wxGetApp().m_strRigCtrlDatabits);
-//        pConfig->Write(wxT("/Rig/StopBits"),    wxGetApp().m_strRigCtrlStopbits);
-//        pConfig->Write(wxT("/Rig/Parity"),      wxGetApp().m_strRigCtrlParity);
-
-//        pConfig->Flush();
-    }
-//    delete wxConfigBase::Set((wxConfigBase *) NULL);
-}
-
-//-------------------------------------------------------------------------
-// OnOK()
-//-------------------------------------------------------------------------
-void AboutDlg::OnOK( wxCommandEvent& event )
-{
-    this->EndModal(wxID_OK);
-}
-
diff --git a/fdmdv2/src/dlg_about.h b/fdmdv2/src/dlg_about.h
deleted file mode 100644 (file)
index cbe73e0..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-//==========================================================================
-// Name:            dlg_about.h
-//
-// Purpose:         Subclasses dialog GUI for Help/About.
-//                 (DlgAbout from topFrame.h)
-//
-// Date:            May 05 2012
-// Authors:         David Rowe, David Witten
-// 
-// License:
-//
-//  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
-//  as published by the Free Software Foundation.  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 Lesser General Public License
-//  along with this program; if not, see <http://www.gnu.org/licenses/>.
-//
-//==========================================================================
-#ifndef __ABOUT_DIALOG__
-#define __ABOUT_DIALOG__
-
-#include "fdmdv2_main.h"
-
-class AboutDlg : public DlgAbout
-{
-    protected:
-        // Handlers for DlgAbout events.
-        void OnInitDialog( wxInitDialogEvent& event );
-
-    public:
-        /** Constructor */
-        AboutDlg( wxWindow* parent );
-        void ExchangeData(int inout);
-        void OnOK( wxCommandEvent& event );
-};
-
-#endif // __ABOUT_DIALOG__
index aff255dc47b437d1f93da34434a28ee7ee694a80..db3d1948b397ad303e985e711e7ac5c31dc4c269 100644 (file)
@@ -8,14 +8,14 @@
 //  All rights reserved.
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //=========================================================================
index 2ac5faaac3009c5c31dc3a35c3123bd0445100aa..3b6c5a5b083ffd31350129f4729127b1ae3ee2e4 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //=========================================================================
index 7d820fe2faea875832c3f6d9e167d44acb852896..578a2593988603f6ce5ff47b910fe1a75f6a870a 100644 (file)
@@ -8,14 +8,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 505216855ee747558efe8cf68397260e1a1d7c0d..29cf8b30c52e516b27812210899ada3786976754 100644 (file)
@@ -8,14 +8,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 0a810c6005d65c98a949ce6f834b45b62e5012a7..3f8e0e0fe35664f3599f773525f5a72961241489 100644 (file)
@@ -9,14 +9,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 405178d735840ab27a544dd485efa025d4b571c9..8c37afe9dd995b7a4c3e468d06a011c1b7edcc67 100644 (file)
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 6224d78c43d0f80a6bf839e045d9749174980723..576a7b8f93387fcc40d767ced8ccb3ca05b0d302 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 7aa2953854be55d8a72143a551521c39c57db8d6..c7498ca75d8f3759cede6912b9c8a997817bc4b0 100644 (file)
@@ -7,19 +7,22 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
 #include "fdmdv2_hdw_ports.h"
 
+//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
+// class HdwPort()
+//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
 HdwPort::HdwPort()
 {
     m_device_type = -1;
@@ -28,15 +31,24 @@ HdwPort::HdwPort()
 //#include <wx/arrimpl.cpp>               // This is a magic incantation which must be done!
 //WX_DEFINE_OBJARRAY(ArrayOfPorts);
 
+//-------------------------------------------------------------------------
+// OnClose()
+//-------------------------------------------------------------------------
 HdwPort::~HdwPort()
 {
 }
 
+//-------------------------------------------------------------------------
+// OnClose()
+//-------------------------------------------------------------------------
 void HdwPort::setType(int portType)
 {
     m_device_type = portType;
 }
 
+//-------------------------------------------------------------------------
+// OnClose()
+//-------------------------------------------------------------------------
 int HdwPort::getList()
 {
     int rv = 0;
@@ -74,30 +86,45 @@ int HdwPort::getList()
     return rv;
 }
 
+//-------------------------------------------------------------------------
+// getSerialPorts()
+//-------------------------------------------------------------------------
 int HdwPort::getSerialPorts()
 {
     int rv = 0;
     return rv;
 }
 
+//-------------------------------------------------------------------------
+// getUSBPorts()
+//-------------------------------------------------------------------------
 int HdwPort::getUSBPorts()
 {
     int rv = 0;
     return rv;
 }
 
+//-------------------------------------------------------------------------
+// OnClose()
+//-------------------------------------------------------------------------
 int HdwPort::getVirtualPorts()
 {
     int rv = 0;
     return rv;
 }
 
+//-------------------------------------------------------------------------
+// getParallelPorts()
+//-------------------------------------------------------------------------
 int HdwPort::getParallelPorts()
 {
     int rv = 0;
     return rv;
 }
 
+//-------------------------------------------------------------------------
+// getIEEE1394Ports()
+//-------------------------------------------------------------------------
 int HdwPort::getIEEE1394Ports()
 {
     int rv = 0;
index 521a71427a143cf0fcf2e51c3b08a0e694c9e4e6..8d2ff9c7bbf61eeaa74b3235a9a733bb11ea88ca 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 6fe7e604f1a930060c9b22bda852dd0611714d5a..3d79611ec5a5def920a018c5c24df6204bc8c45d 100644 (file)
@@ -8,14 +8,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 2e326e5cd33158542ddde3fb8925ebf143d9fa37..f083d57901b070316c0b793388f084c9613ef10e 100644 (file)
@@ -8,14 +8,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
@@ -49,7 +49,6 @@
 #include "fifo.h"
 
 #include "topFrame.h"
-#include "dlg_about.h"
 #include "dlg_options.h"
 #include "dlg_comports.h"
 #include "fdmdv2_plot.h"
index 71c4a5289f38a8b87b0eb6ca4365389704e9d90e..97a58fc3cb6c437395ba3574521e69baa47b3673 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index fbfc68228f55feb4a579e798e65e9ff64e1c77d1..0f2a371ebcefa5d82c3bde502f427239fa0efe5c 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index bc62c8ddea73fa4620c43aeef07f5b058a9dd380..e59871488a8ecac795ba434feac12b7ede57689a 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 9b23f096cdef813b2cfbd2ae13d16a7fd092041c..453f58b38c8e39470aba5073e3712a26e447d676 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index f278c13b24484be8d0e40effb71d3362e3437153..e19ff3d3b7ec8bf3ae7c7d21d0db343afcc80e5e 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index b4470ab3cbb499e6c63175f4e232a9f1be217b96..8abded4997bdca273a63893c7878c896c3663b15 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 0607def717aa62fca2cc89b054c1398c7a22e4b4..c194365f8c3fc52ca59127202025b135411d0de8 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 23c803b254a68285c2d2ab7ad2c830574186194f..86bc54b644af758e864fb9949736a599bcedaa42 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 8191ea4d4d8c1db3318f24904f6a8a12885b2eb3..80fb3793318e2c7e7da2f287387646192d0bf5af 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index eb6e6d43732a9939ffe873befb4b388f6f1c3922..39173d48833aa14395a441686898cef7b098dae2 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index f7769f4ecc960343fb662eba5a3909f480dd0cfd..3efbf3f00e1977e4c45744d0e1f71092f45ceb4f 100644 (file)
@@ -7,14 +7,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
index 2cf19588271ed258bdbf006f9cae46f0ff6b5b19..25e0608e91773e8002c5cd001e1b7fd2a01b666c 100644 (file)
@@ -8,14 +8,14 @@
 // License:
 //
 //  This program is free software; you can redistribute it and/or modify
-//  it under the terms of the GNU Lesser General Public License version 2.1,
+//  it under the terms of the GNU General Public License version 2.1,
 //  as published by the Free Software Foundation.  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 Lesser General Public License
+//  You should have received a copy of the GNU General Public License
 //  along with this program; if not, see <http://www.gnu.org/licenses/>.
 //
 //==========================================================================
@@ -558,83 +558,6 @@ TopFrame::~TopFrame()
 
 }
 
-DlgAbout::DlgAbout(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style) : wxDialog(parent, id, title, pos, size, style)
-{
-    this->SetSizeHints(wxDefaultSize, wxDefaultSize);
-    this->SetSizeHints(wxDefaultSize, wxDefaultSize);
-
-    wxBoxSizer* bSizer20;
-    bSizer20 = new wxBoxSizer(wxVERTICAL);
-
-    wxBoxSizer* bSizer21;
-    bSizer21 = new wxBoxSizer(wxVERTICAL);
-
-    wxBoxSizer* bSizer23;
-    bSizer23 = new wxBoxSizer(wxVERTICAL);
-
-    wxBoxSizer* bSizer25;
-    bSizer25 = new wxBoxSizer(wxVERTICAL);
-
-    m_bitmapAbout = new wxStaticBitmap(this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0);
-    bSizer25->Add(m_bitmapAbout, 1, wxALL|wxEXPAND, 5);
-
-
-    bSizer23->Add(bSizer25, 1, wxEXPAND, 5);
-
-    wxBoxSizer* bSizer26;
-    bSizer26 = new wxBoxSizer(wxVERTICAL);
-
-    m_staticText1 = new wxStaticText(this, wxID_ANY, _("MyLabel"), wxDefaultPosition, wxDefaultSize, 0);
-    m_staticText1->Wrap(-1);
-    bSizer26->Add(m_staticText1, 1, wxALL, 5);
-
-
-    bSizer23->Add(bSizer26, 0, 0, 5);
-
-
-    bSizer21->Add(bSizer23, 1, wxEXPAND, 5);
-
-    wxBoxSizer* bSizer24;
-    bSizer24 = new wxBoxSizer(wxVERTICAL);
-
-    m_textCtrl2 = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
-    bSizer24->Add(m_textCtrl2, 1, wxALL|wxEXPAND, 5);
-
-
-    bSizer21->Add(bSizer24, 1, wxEXPAND, 5);
-
-
-    bSizer20->Add(bSizer21, 1, wxEXPAND, 5);
-
-    wxBoxSizer* bSizer22;
-    bSizer22 = new wxBoxSizer(wxVERTICAL);
-
-    m_button9 = new wxButton(this, wxID_ANY, _("MyButton"), wxDefaultPosition, wxDefaultSize, 0);
-    bSizer22->Add(m_button9, 0, wxALIGN_BOTTOM|wxALIGN_RIGHT|wxALL, 5);
-
-
-    bSizer20->Add(bSizer22, 0, wxALIGN_RIGHT, 5);
-
-
-    this->SetSizer(bSizer20);
-    this->Layout();
-
-    this->Centre(wxBOTH);
-    this->Centre(wxBOTH);
-
-    // Connect Events
-    this->Connect(wxEVT_CLOSE_WINDOW, wxCloseEventHandler(DlgAbout::OnClose));
-    this->Connect(wxEVT_INIT_DIALOG, wxInitDialogEventHandler(DlgAbout::OnInitDialog));
-}
-
-DlgAbout::~DlgAbout()
-{
-    // Disconnect Events
-    this->Disconnect(wxEVT_CLOSE_WINDOW, wxCloseEventHandler(DlgAbout::OnClose));
-    this->Disconnect(wxEVT_INIT_DIALOG, wxInitDialogEventHandler(DlgAbout::OnInitDialog));
-
-}
-
 DlgOptions::DlgOptions(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style) : wxDialog(parent, id, title, pos, size, style)
 {
     this->SetSizeHints(wxDefaultSize, wxDefaultSize);
index 5f6eb5ecf4748e47c34c6d849726e1d21dca35fd..fd1cd7ba794e5975a2cb381cb5597e0c930af405 100644 (file)
 #ifndef __TOPFRAME_H__
 #define __TOPFRAME_H__
 
+#ifdef DMW
+    #define SVN_REV SVN_REVISION
+#endif
+
 #include <wx/artprov.h>
 #include <wx/xrc/xmlres.h>
 #include <wx/intl.h>
@@ -175,90 +179,6 @@ class TopFrame : public wxFrame
 
 };
 
-///////////////////////////////////////////////////////////////////////////////
-/// Class DlgAbout
-///////////////////////////////////////////////////////////////////////////////
-class DlgAbout : public wxDialog
-{
-    private:
-
-    protected:
-        wxStaticBitmap* m_bitmapAbout;
-        wxStaticText* m_staticText1;
-        wxTextCtrl* m_textCtrl2;
-        wxButton* m_button9;
-
-        // Virtual event handlers, overide them in your derived class
-        virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
-        virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
-
-
-    public:
-
-        DlgAbout( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About FreeDV"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 352,343 ), long style = wxDEFAULT_DIALOG_STYLE );
-        ~DlgAbout();
-
-};
-
-/*
-///////////////////////////////////////////////////////////////////////////////
-/// Class DlgAudio
-///////////////////////////////////////////////////////////////////////////////
-class DlgAudio : public wxDialog
-{
-    private:
-
-    protected:
-        wxNotebook* m_nbAudioOptions;
-        wxPanel* m_panelDevices;
-        wxRadioButton* m_radioBtnPortAudio;
-        wxStaticText* m_staticText151;
-        wxTextCtrl* m_textNumChOut;
-        wxStaticText* m_staticText141;
-        wxTextCtrl* m_textNumChIn;
-        wxStaticText* m_staticText14;
-        wxComboBox* m_comboAudioCodec;
-        wxStaticText* m_staticText15;
-        wxComboBox* m_comboCodecTx;
-        wxStaticText* m_staticText16;
-        wxComboBox* m_comboRadioRx;
-        wxStaticText* m_staticText17;
-        wxComboBox* m_comboCodecSpkr;
-        wxRadioButton* m_radioBtnFileOnly;
-        wxPanel* m_panelSettings;
-        wxListBox* m_lbRxInput;
-        wxTextCtrl* m_textRxInput;
-        wxListBox* m_lbTxOutput;
-        wxTextCtrl* m_textTxOutput;
-        wxListBox* m_lbVoiceInput;
-        wxTextCtrl* m_textVoiceInput;
-        wxListBox* m_lbVoiceOutput;
-        wxTextCtrl* m_textVoiceOutput;
-        wxStdDialogButtonSizer* m_sdbSizer3;
-        wxButton* m_sdbSizer3OK;
-        wxButton* m_sdbSizer3Apply;
-        wxButton* m_sdbSizer3Cancel;
-
-        // Virtual event handlers, overide them in your derived class
-        virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
-        virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
-        virtual void OnRxInputSelect( wxCommandEvent& event ) { event.Skip(); }
-        virtual void OnTxOutputSelect( wxCommandEvent& event ) { event.Skip(); }
-        virtual void OnVoiceInputSelect( wxCommandEvent& event ) { event.Skip(); }
-        virtual void OnVoiceOutputSelect( wxCommandEvent& event ) { event.Skip(); }
-        virtual void OnApply( wxCommandEvent& event ) { event.Skip(); }
-        virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
-        virtual void OnOK( wxCommandEvent& event ) { event.Skip(); }
-
-
-    public:
-
-        DlgAudio( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Audio Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 555,419 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
-        ~DlgAudio();
-
-};
-*/
-
 ///////////////////////////////////////////////////////////////////////////////
 /// Class DlgOptions
 ///////////////////////////////////////////////////////////////////////////////
@@ -295,47 +215,5 @@ class DlgOptions : public wxDialog
 
 };
 
-/*
-///////////////////////////////////////////////////////////////////////////////
-/// Class DlgComPorts
-///////////////////////////////////////////////////////////////////////////////
-class DlgComPorts : public wxDialog
-{
-    private:
-
-    protected:
-        wxStaticText* m_staticText8;
-        wxListCtrl* m_listCtrlPortSelect;
-        wxStaticText* m_staticText9;
-        wxTextCtrl* m_textRigCtrlPort;
-        wxStaticText* m_staticText91;
-        wxTextCtrl* m_textRigCtrlBaud;
-        wxStaticText* m_staticText911;
-        wxTextCtrl* m_textRigCtrlDatabits;
-        wxStaticText* m_staticText912;
-        wxTextCtrl* m_textRigCtrlStopbits;
-        wxStaticText* m_staticText913;
-        wxTextCtrl* m_textRigCtrlParity;
-        wxStdDialogButtonSizer* m_sdbSizer5;
-        wxButton* m_sdbSizer5OK;
-        wxButton* m_sdbSizer5Apply;
-        wxButton* m_sdbSizer5Cancel;
-
-        // Virtual event handlers, overide them in your derived class
-        virtual void OnListItemSelected( wxListEvent& event ) { event.Skip(); }
-        virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
-        virtual void OnOK( wxCommandEvent& event ) { event.Skip(); }
-        virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
-        virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
-        virtual void OnApply( wxCommandEvent& event ) { event.Skip(); }
-
-
-    public:
-
-        DlgComPorts( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select Com Port"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 399,354 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
-        ~DlgComPorts();
-
-};
-*/
 
 #endif //__TOPFRAME_H__