Skip to content

Commit

Permalink
File renaming, reordering and removing of icon files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kn0rk committed Sep 27, 2019
1 parent a0a879d commit 5dd0784
Show file tree
Hide file tree
Showing 35 changed files with 49 additions and 475 deletions.
32 changes: 16 additions & 16 deletions NatlinkSource/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,33 @@ project(${PROJECT_NAME})

# Source Files
set(SRC_FILES
./appsupp.cpp
./dictobj.cpp
COM/appsupp.cpp
DictationObject.cpp
./DragCode.cpp
./excepts.cpp
./GramObj.cpp
Exceptions.cpp
GrammarObject.cpp
./natlink.cpp
./pythwrap.cpp
./ResObj.cpp
./SecdThrd.cpp
ResultObject.cpp
MessageWindow.cpp
StdAfx.cpp
natlink.rc
)
source_group("Sources" FILES ${SRC_FILES})

# Header Files
set(HEADERS_FILES
appsupp.h
comsupp.h
dictobj.h
COM/appsupp.h
COM/comsupp.h
DictationObject.h
DragCode.h
dspeech.h
excepts.h
GramObj.h
resobj.h
resource.h
SecdThrd.h
SPEECH.H
COM/dspeech.h
Exceptions.h
GrammarObject.h
ResultObject.h
Resource.h
MessageWindow.h
COM/SPEECH.H
StdAfx.h
)
source_group("Headers" FILES ${HEADERS_FILES})
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions NatlinkSource/appsupp.cpp → NatlinkSource/COM/appsupp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
decision simplifies the design somewhat.
*/

#include "stdafx.h"
#include "resource.h"
#include "DragCode.h"
#include "../StdAfx.h"
#include "../Resource.h"
#include "../DragCode.h"
#include "appsupp.h"

// from PythWrap.cpp
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

#include "stdafx.h"
#include "DragCode.h"
#include "DictObj.h"
#include "ResObj.h"
#include "Excepts.h"
#include "DictationObject.h"
#include "ResultObject.h"
#include "Exceptions.h"

// We use this macro to make sure the dictation object is usable
#define MUSTBEUSABLE( func ) \
Expand Down
File renamed without changes.
14 changes: 7 additions & 7 deletions NatlinkSource/DragCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@


#include "stdafx.h"
#include "resource.h"
#include "Resource.h"
#include "DragCode.h"
#include "GramObj.h"
#include "ResObj.h"
#include "dictobj.h"
#include "appsupp.h"
#include "SecdThrd.h"
#include "Excepts.h"
#include "GrammarObject.h"
#include "ResultObject.h"
#include "DictationObject.h"
#include "COM/appsupp.h"
#include "MessageWindow.h"
#include "Exceptions.h"
#include <cstring>

// defined in PythWrap.cpp
Expand Down
6 changes: 3 additions & 3 deletions NatlinkSource/excepts.cpp → NatlinkSource/Exceptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#include "stdafx.h"
#include <stdarg.h>
#include "DragCode.h"
#include "GramObj.h"
#include "ResObj.h"
#include "Excepts.h"
#include "GrammarObject.h"
#include "ResultObject.h"
#include "Exceptions.h"

// This is our set of error objects, one for each error listed in Excepts.h
PyObject * ErrObjects[ ERROR_COUNT ];
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions NatlinkSource/GramObj.cpp → NatlinkSource/GrammarObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

#include "stdafx.h"
#include "DragCode.h"
#include "GramObj.h"
#include "ResObj.h"
#include "Excepts.h"
#include "GrammarObject.h"
#include "ResultObject.h"
#include "Exceptions.h"
#include <fstream>
#include <vector>

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/

#include "stdafx.h"
#include "resource.h"
#include "SecdThrd.h"
#include "Resource.h"
#include "MessageWindow.h"
#include <richedit.h>

// This is the message we send to the other thread to add text to the output
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions NatlinkSource/ResObj.cpp → NatlinkSource/ResultObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

#include "stdafx.h"
#include "DragCode.h"
#include "ResObj.h"
#include "Excepts.h"
#include "GramObj.h"
#include "ResultObject.h"
#include "Exceptions.h"
#include "GrammarObject.h"

// This macro is used at the top of functions which can not be called
// when no grammar has been loaded
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions NatlinkSource/StdAfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ extern CComModule _Module;
#include <stdio.h>
#include <assert.h>

#include "speech.h"
#include "dspeech.h"
#include "comsupp.h"
#include "COM/SPEECH.H"
#include "COM/dspeech.h"
#include "COM/comsupp.h"

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
Expand Down
Binary file removed NatlinkSource/idi_down.ico
Binary file not shown.
Binary file removed NatlinkSource/idi_down2.ico
Binary file not shown.
Binary file removed NatlinkSource/idi_left.ico
Binary file not shown.
Binary file removed NatlinkSource/idi_left2.ico
Binary file not shown.
Binary file removed NatlinkSource/idi_nodir.ico
Binary file not shown.
Binary file removed NatlinkSource/idi_right.ico
Binary file not shown.
Binary file removed NatlinkSource/idi_right2.ico
Binary file not shown.
Binary file removed NatlinkSource/idi_up.ico
Binary file not shown.
Binary file removed NatlinkSource/idi_up2.ico
Binary file not shown.
Binary file removed NatlinkSource/natlink.aps
Binary file not shown.
4 changes: 2 additions & 2 deletions NatlinkSource/natlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
*/

#include "stdafx.h"
#include "resource.h"
#include "Resource.h"
#include "initguid.h"
#include "DragCode.h"
#include "appsupp.h"
#include "COM/appsupp.h"

CComModule _Module;

Expand Down
39 changes: 0 additions & 39 deletions NatlinkSource/natlink.rc
Original file line number Diff line number Diff line change
Expand Up @@ -140,46 +140,7 @@ END
#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_RIGHT ICON "idi_right.ico"
IDI_RIGHT2 ICON "idi_right2.ico"
IDI_DOWN ICON "idi_down.ico"
IDI_DOWN2 ICON "idi_down2.ico"
IDI_LEFT ICON "idi_left.ico"
IDI_LEFT2 ICON "idi_left2.ico"
IDI_UP ICON "idi_up.ico"
IDI_UP2 ICON "idi_up2.ico"
IDI_NODIR ICON "idi_nodir.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_MENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Reload Everything", IDD_RELOAD
END
END


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE
BEGIN
IDS_PROJNAME "natlink"
END

#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
Expand Down
Loading

0 comments on commit 5dd0784

Please sign in to comment.