Skip to content

Commit

Permalink
Rename CAPL2CConvereter to CAPL2CConverter
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Lorenz <[email protected]>
  • Loading branch information
etas-lorenz committed Apr 14, 2012
1 parent 8da8352 commit 08971b2
Show file tree
Hide file tree
Showing 37 changed files with 47 additions and 47 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Sources/DmGraph/DMGraph_p.c
Sources/DmGraph/dlldata.c
Sources/Format Converter/AscLogConverter/Asc_Log_Lexer.c
Sources/Format Converter/AscLogConverter/asc_log_parser.c
Sources/Format Converter/CAPL2CConvereter/lexer.h
Sources/Format Converter/CAPL2CConverter/lexer.h
Sources/Format Converter/LogAscConverter/Log_Asc_Lexer.c
Sources/Format Converter/LogAscConverter/log_asc_parser.c

Expand Down Expand Up @@ -108,7 +108,7 @@ Sources/BIN/*/CAN_Vector_XL.dll
Sources/BIN/*/Changelog.txt
Sources/BIN/*/ConfigDialogsDIL.dll
Sources/BIN/*/ConverterPlugins/AscLogConverter.dll
Sources/BIN/*/ConverterPlugins/CAPL2CConvereter.dll
Sources/BIN/*/ConverterPlugins/CAPL2CConverter.dll
Sources/BIN/*/ConverterPlugins/DBC2DBFConverter.dll
Sources/BIN/*/ConverterPlugins/DBF2DBCConverter.dll
Sources/BIN/*/ConverterPlugins/LogAscConverter.dll
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#include "StdAfx.h"
#include "CAPL2CConvereter.h"
#include "CAPL2CConverter.h"
#include "Definitions.h"
#include "Converter.h"
#include "CAPL2CPropertyPage.h"

CCAPL2CConvereter::CCAPL2CConvereter(void)
CCAPL2CConverter::CCAPL2CConverter(void)
{
}

HRESULT CCAPL2CConvereter::GetHelpText(string& pchHelpText)
HRESULT CCAPL2CConverter::GetHelpText(string& pchHelpText)
{
/*if(pchHelpText != NULL)
{
Expand All @@ -18,7 +18,7 @@ HRESULT CCAPL2CConvereter::GetHelpText(string& pchHelpText)
return S_FALSE;
}

HRESULT CCAPL2CConvereter::GetConverterName(string& strConverterName)
HRESULT CCAPL2CConverter::GetConverterName(string& strConverterName)
{
/*if(strConverterName != NULL)
{
Expand All @@ -27,7 +27,7 @@ HRESULT CCAPL2CConvereter::GetConverterName(string& strConverterName)
return S_FALSE;
}

HRESULT CCAPL2CConvereter::GetErrorStatus(HRESULT hResult, string& omstrStatus)
HRESULT CCAPL2CConverter::GetErrorStatus(HRESULT hResult, string& omstrStatus)
{
/*switch( hResult )
{
Expand All @@ -50,7 +50,7 @@ HRESULT CCAPL2CConvereter::GetErrorStatus(HRESULT hResult, string& omstrStatus)
return S_FALSE;
}

HRESULT CCAPL2CConvereter::GetInputFileFilters(string& pchInputDefFilters, string& pchInputFilters)
HRESULT CCAPL2CConverter::GetInputFileFilters(string& pchInputDefFilters, string& pchInputFilters)
{
/*HRESULT hResult = S_FALSE;
if(NULL != pchInputDefFilters)
Expand All @@ -70,14 +70,14 @@ HRESULT CCAPL2CConvereter::GetInputFileFilters(string& pchInputDefFilters, strin
return S_FALSE;
}

HRESULT CCAPL2CConvereter::GetLastConversionStatus(HRESULT& hResult, string& omstrStatus)
HRESULT CCAPL2CConverter::GetLastConversionStatus(HRESULT& hResult, string& omstrStatus)
{
/*hResult = m_hResult;
omstrStatus = m_omstrConversionStatus;*/
return S_FALSE;
}

HRESULT CCAPL2CConvereter::GetOutputFileFilters(string& pchOutputDefFilters, string& pchOutputFilters)
HRESULT CCAPL2CConverter::GetOutputFileFilters(string& pchOutputDefFilters, string& pchOutputFilters)
{
/*HRESULT hResult = S_FALSE;
if(NULL != pchOutputDefFilters)
Expand All @@ -97,22 +97,22 @@ HRESULT CCAPL2CConvereter::GetOutputFileFilters(string& pchOutputDefFilters, str
return S_FALSE;
}

HRESULT CCAPL2CConvereter::ConvertFile(string& chInputFile, string& chOutputFile)
HRESULT CCAPL2CConverter::ConvertFile(string& chInputFile, string& chOutputFile)
{
return S_FALSE;
}

BOOL CCAPL2CConvereter::bHaveOwnWindow()
BOOL CCAPL2CConverter::bHaveOwnWindow()
{
return TRUE;
}

CCAPL2CConvereter::~CCAPL2CConvereter(void)
CCAPL2CConverter::~CCAPL2CConverter(void)
{
};

HRESULT CCAPL2CConvereter::GetPropertyPage(CPropertyPage*& pPage)
HRESULT CCAPL2CConverter::GetPropertyPage(CPropertyPage*& pPage)
{
pPage = new CCAPL2CPropertyPage();
return S_FALSE;
};
};
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#pragma once
#include "../FormatConverterApp/BaseConverter.h"

class CCAPL2CConvereter : public CBaseConverter
class CCAPL2CConverter : public CBaseConverter
{
CString m_omstrConversionStatus;
HRESULT m_hResult;
public:
CCAPL2CConvereter(void);
CCAPL2CConverter(void);
virtual HRESULT GetInputFileFilters(string&, string& );
virtual HRESULT GetOutputFileFilters(string&, string& );
virtual HRESULT ConvertFile(string& chInputFile, string& chOutputFile);
Expand All @@ -16,5 +16,5 @@ class CCAPL2CConvereter : public CBaseConverter
virtual HRESULT GetHelpText(string& pchHelpText);
virtual BOOL bHaveOwnWindow();
virtual HRESULT GetPropertyPage(CPropertyPage*& pPage);
~CCAPL2CConvereter(void);
};
~CCAPL2CConverter(void);
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="CAPL2CConvereter"
Name="CAPL2CConverter"
ProjectGUID="{8A7CA724-4B42-4DCA-9237-0AF94AA8B35F}"
RootNamespace="CAPL2CConvereter"
RootNamespace="CAPL2CConverter"
Keyword="MFCDLLProj"
TargetFrameworkVersion="131072"
>
Expand Down Expand Up @@ -195,11 +195,11 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\CAPL2CConvereter.cpp"
RelativePath=".\CAPL2CConverter.cpp"
>
</File>
<File
RelativePath=".\CAPL2CConvereterDLL.cpp"
RelativePath=".\CAPL2CConverterDLL.cpp"
>
</File>
<File
Expand Down Expand Up @@ -261,7 +261,7 @@
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=".\CAPL2CConvereter.h"
RelativePath=".\CAPL2CConverter.h"
>
</File>
<File
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// CAPL2CConvereter.cpp : Defines the initialization routines for the DLL.
// CAPL2CConverter.cpp : Defines the initialization routines for the DLL.
//

#include "stdafx.h"
#include <afxdllx.h>
#include "CAPL2CConvereter.h"
#include "CAPL2CConverter.h"
#ifdef _MANAGED
#error Please read instructions in CAPL2CConvereter.cpp to compile with /clr
#error Please read instructions in CAPL2CConverter.cpp to compile with /clr
// If you want to add /clr to your project you must do the following:
// 1. Remove the above include for afxdllx.h
// 2. Add a .cpp file to your project that does not have /clr thrown and has
Expand All @@ -19,7 +19,7 @@
#endif


static AFX_EXTENSION_MODULE CAPL2CConvereterDLL = { NULL, NULL };
static AFX_EXTENSION_MODULE CAPL2CConverterDLL = { NULL, NULL };

#ifdef _MANAGED
#pragma managed(push, off)
Expand All @@ -33,10 +33,10 @@ DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)

if (dwReason == DLL_PROCESS_ATTACH)
{
TRACE0("CAPL2CConvereter.DLL Initializing!\n");
TRACE0("CAPL2CConverter.DLL Initializing!\n");

// Extension DLL one-time initialization
if (!AfxInitExtensionModule(CAPL2CConvereterDLL, hInstance))
if (!AfxInitExtensionModule(CAPL2CConverterDLL, hInstance))
return 0;

// Insert this DLL into the resource chain
Expand All @@ -51,15 +51,15 @@ DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
// Regular DLL's resource chain, and serious problems will
// result.

new CDynLinkLibrary(CAPL2CConvereterDLL);
new CDynLinkLibrary(CAPL2CConverterDLL);

}
else if (dwReason == DLL_PROCESS_DETACH)
{
TRACE0("CAPL2CConvereter.DLL Terminating!\n");
TRACE0("CAPL2CConverter.DLL Terminating!\n");

// Terminate the library before destructors are called
AfxTermExtensionModule(CAPL2CConvereterDLL);
AfxTermExtensionModule(CAPL2CConverterDLL);
}
return 1; // ok
}
Expand All @@ -72,6 +72,6 @@ DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)

extern "C" __declspec(dllexport) HRESULT GetBaseConverter(CBaseConverter*& pouConverter)
{
pouConverter = new CCAPL2CConvereter();
pouConverter = new CCAPL2CConverter();
return S_OK;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//

#include "stdafx.h"
#include "CAPL2CConvereter.h"
#include "CAPL2CConverter.h"
#include "CAPL2CPropertyPage.h"
#include "List.h"
#include "Functions.hpp"
Expand Down Expand Up @@ -45,4 +45,4 @@ void CCAPL2CPropertyPage::SaveSettings()
CWnd * pCAPL = GetDlgItem(IDC_EDIT_INPUT);
pCAPL->GetWindowText(omStrCAPLName);
pApp->WriteProfileString(strSection, strStringItem,omStrCAPLName);
}
}
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : CAPL2CConvereter Project Overview
MICROSOFT FOUNDATION CLASS LIBRARY : CAPL2CConverter Project Overview
========================================================================


AppWizard has created this CAPL2CConvereter DLL for you. This DLL not only
AppWizard has created this CAPL2CConverter DLL for you. This DLL not only
demonstrates the basics of using the Microsoft Foundation classes but
is also a starting point for writing your DLL.

This file contains a summary of what you will find in each of the files that
make up your CAPL2CConvereter DLL.
make up your CAPL2CConverter DLL.

CAPL2CConvereter.vcproj
CAPL2CConverter.vcproj
This is the main project file for VC++ projects generated using an Application Wizard.
It contains information about the version of Visual C++ that generated the file, and
information about the platforms, configurations, and project features selected with the
Application Wizard.

CAPL2CConvereter.cpp
CAPL2CConverter.cpp
This is the main DLL source file that contains the definition of
DllMain().

CAPL2CConvereter.rc
CAPL2CConverter.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.

res\CAPL2CConvereter.rc2
res\CAPL2CConverter.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.

CAPL2CConvereter.def
CAPL2CConverter.def
This file contains information about the DLL that must be
provided to run with Microsoft Windows. It defines parameters
such as the name and description of the DLL. It also exports
Expand All @@ -42,7 +42,7 @@ Other standard files:

StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named CAPL2CConvereter.pch and a precompiled types file named StdAfx.obj.
named CAPL2CConverter.pch and a precompiled types file named StdAfx.obj.

Resource.h
This is the standard header file, which defines new resource IDs.
Expand Down
2 changes: 1 addition & 1 deletion Sources/Format Converter/FormatConverter.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DBC2DBFConverter", "DBC2DBF
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LogAscConverter", "LogAscConverter\LogAscConverter.vcproj", "{317B836D-9AC9-48F9-ADF7-8C069E3EE447}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CAPL2CConvereter", "CAPL2CConvereter\CAPL2CConvereter.vcproj", "{8A7CA724-4B42-4DCA-9237-0AF94AA8B35F}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CAPL2CConverter", "CAPL2CConverter\CAPL2CConverter.vcproj", "{8A7CA724-4B42-4DCA-9237-0AF94AA8B35F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

0 comments on commit 08971b2

Please sign in to comment.