summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoShutdown')
-rw-r--r--plugins/AutoShutdown/res/version.rc8
-rw-r--r--plugins/AutoShutdown/shutdown.vcxproj11
-rw-r--r--plugins/AutoShutdown/shutdown.vcxproj.filters37
-rw-r--r--plugins/AutoShutdown/src/main.cpp4
4 files changed, 6 insertions, 54 deletions
diff --git a/plugins/AutoShutdown/res/version.rc b/plugins/AutoShutdown/res/version.rc
index a141cc3aa7..cee33c8390 100644
--- a/plugins/AutoShutdown/res/version.rc
+++ b/plugins/AutoShutdown/res/version.rc
@@ -1,15 +1,11 @@
+// Microsoft Visual C++ generated resource script.
+//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED
-#include "afxres.h"
#include "..\src\version.h"
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
VS_VERSION_INFO VERSIONINFO
FILEVERSION __FILEVERSION_STRING
PRODUCTVERSION __FILEVERSION_STRING
diff --git a/plugins/AutoShutdown/shutdown.vcxproj b/plugins/AutoShutdown/shutdown.vcxproj
index f3a1116d27..b45aab88bf 100644
--- a/plugins/AutoShutdown/shutdown.vcxproj
+++ b/plugins/AutoShutdown/shutdown.vcxproj
@@ -212,17 +212,6 @@
<ClInclude Include="src\version.h" />
</ItemGroup>
<ItemGroup>
- <CustomBuild Include="res\active.ico" />
- <CustomBuild Include="res\header.ico" />
- <CustomBuild Include="res\inactive.ico" />
- <CustomBuild Include="docs\Shutdown-Developer.txt" />
- <CustomBuild Include="docs\Shutdown-License.txt" />
- <CustomBuild Include="docs\Shutdown-Readme.txt" />
- <CustomBuild Include="docs\Shutdown-Translation.txt" />
- <CustomBuild Include="docs\Info_Src.txt" />
- <CustomBuild Include="docs\License_Appendix.txt" />
- </ItemGroup>
- <ItemGroup>
<ResourceCompile Include="res\resource.rc" />
<ResourceCompile Include="res\version.rc" />
</ItemGroup>
diff --git a/plugins/AutoShutdown/shutdown.vcxproj.filters b/plugins/AutoShutdown/shutdown.vcxproj.filters
index 52b2e5ecfe..f769086cdd 100644
--- a/plugins/AutoShutdown/shutdown.vcxproj.filters
+++ b/plugins/AutoShutdown/shutdown.vcxproj.filters
@@ -13,10 +13,6 @@
<UniqueIdentifier>{6fa287d2-ba8a-43ba-9cff-72ad37c5d522}</UniqueIdentifier>
<Extensions>ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
</Filter>
- <Filter Include="Documentation">
- <UniqueIdentifier>{616559cd-4d97-4708-949b-89d8e3778330}</UniqueIdentifier>
- <Extensions>txt</Extensions>
- </Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\cpuusage.cpp">
@@ -70,10 +66,10 @@
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\resource.h">
- <Filter>Resource Files</Filter>
+ <Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\version.h">
- <Filter>Resource Files</Filter>
+ <Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
@@ -84,33 +80,4 @@
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
- <ItemGroup>
- <CustomBuild Include="res\active.ico">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- <CustomBuild Include="res\header.ico">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- <CustomBuild Include="res\inactive.ico">
- <Filter>Resource Files</Filter>
- </CustomBuild>
- <CustomBuild Include="docs\Shutdown-Developer.txt">
- <Filter>Documentation</Filter>
- </CustomBuild>
- <CustomBuild Include="docs\Shutdown-License.txt">
- <Filter>Documentation</Filter>
- </CustomBuild>
- <CustomBuild Include="docs\Shutdown-Readme.txt">
- <Filter>Documentation</Filter>
- </CustomBuild>
- <CustomBuild Include="docs\Shutdown-Translation.txt">
- <Filter>Documentation</Filter>
- </CustomBuild>
- <CustomBuild Include="docs\Info_Src.txt">
- <Filter>Documentation</Filter>
- </CustomBuild>
- <CustomBuild Include="docs\License_Appendix.txt">
- <Filter>Documentation</Filter>
- </CustomBuild>
- </ItemGroup>
</Project> \ No newline at end of file
diff --git a/plugins/AutoShutdown/src/main.cpp b/plugins/AutoShutdown/src/main.cpp
index c5829eee42..c81b86a0b8 100644
--- a/plugins/AutoShutdown/src/main.cpp
+++ b/plugins/AutoShutdown/src/main.cpp
@@ -25,7 +25,7 @@ static HANDLE hHookModulesLoaded;
HANDLE hActiveIcon,hInactiveIcon;
int hLangpack;
-PLUGININFOEX pluginInfo={
+PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
@@ -36,7 +36,7 @@ PLUGININFOEX pluginInfo={
__AUTHORWEB,
UNICODE_AWARE,
// {9DE24579-5C5C-49aa-80E8-4D38E4344E63}
- {0x9de24579,0x5c5c,0x49aa,{0x80,0xe8,0x4d,0x38,0xe4,0x34,0x4e,0x63}},
+ {0x9de24579, 0x5c5c, 0x49aa, {0x80, 0xe8, 0x4d, 0x38, 0xe4, 0x34, 0x4e, 0x63}}
};
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, VOID *pReserved)