Rename Method and fix error in vcxproj File

This commit is contained in:
Jan Kevin Dick
2019-11-18 11:57:58 +01:00
parent 39784f73a2
commit 51fe7836ca
3 changed files with 2 additions and 4 deletions

View File

@@ -140,7 +140,7 @@ public:
void setFailureActions(FailureActionVector failureActions, const std::string& command = "", const std::string& rebootMessage = ""); void setFailureActions(FailureActionVector failureActions, const std::string& command = "", const std::string& rebootMessage = "");
/// Sets the Failure Actions for the service. /// Sets the Failure Actions for the service.
FailureActionTypeVector getFailureAction() const; FailureActionTypeVector getFailureActions() const;
/// Returns the Failure Actions for the service. /// Returns the Failure Actions for the service.
void setDescription(const std::string& description); void setDescription(const std::string& description);

View File

@@ -329,7 +329,7 @@ void WinService::setFailureActions(FailureActionVector failureActions, const std
delete[] actions; delete[] actions;
} }
WinService::FailureActionTypeVector WinService::getFailureAction() const { WinService::FailureActionTypeVector WinService::getFailureActions() const {
open(); open();
int size = 4096; int size = 4096;
DWORD bytesNeeded; DWORD bytesNeeded;

View File

@@ -329,7 +329,6 @@
<ClInclude Include="src\WindowsTestSuite.h" /> <ClInclude Include="src\WindowsTestSuite.h" />
<ClInclude Include="src\WinRegistryTest.h" /> <ClInclude Include="src\WinRegistryTest.h" />
<ClInclude Include="src\WinServiceTest.h" /> <ClInclude Include="src\WinServiceTest.h" />
<ClInclude Include="src\WinServiceTest.h" />
<ClInclude Include="src\XMLConfigurationTest.h" /> <ClInclude Include="src\XMLConfigurationTest.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -359,7 +358,6 @@
<ClCompile Include="src\WindowsTestSuite.cpp" /> <ClCompile Include="src\WindowsTestSuite.cpp" />
<ClCompile Include="src\WinRegistryTest.cpp" /> <ClCompile Include="src\WinRegistryTest.cpp" />
<ClCompile Include="src\WinServiceTest.cpp" /> <ClCompile Include="src\WinServiceTest.cpp" />
<ClCompile Include="src\WinServiceTest.cpp" />
<ClCompile Include="src\XMLConfigurationTest.cpp" /> <ClCompile Include="src\XMLConfigurationTest.cpp" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />