summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-05 10:49:37 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-05 10:49:37 +0000
commit6d7fccf550027cc599d57d9e3d6235d868d0da5b (patch)
treea8d08a61aa8066896a885b0e539e612aa6b03b89 /plugins/AutoShutdown
parentedfcad0729bdf7fb38d64d59febc21118cb37521 (diff)
removed not used headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@2973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown')
-rw-r--r--plugins/AutoShutdown/res/resource.rc8
-rw-r--r--plugins/AutoShutdown/src/common.h11
-rw-r--r--plugins/AutoShutdown/src/version.h8
3 files changed, 5 insertions, 22 deletions
diff --git a/plugins/AutoShutdown/res/resource.rc b/plugins/AutoShutdown/res/resource.rc
index 7cc2deca6f..7082d191f7 100644
--- a/plugins/AutoShutdown/res/resource.rc
+++ b/plugins/AutoShutdown/res/resource.rc
@@ -27,18 +27,18 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
// TEXTINCLUDE
//
-1 TEXTINCLUDE MOVEABLE PURE
+1 TEXTINCLUDE
BEGIN
"..\\src\\resource.h\0"
END
-2 TEXTINCLUDE MOVEABLE PURE
+2 TEXTINCLUDE
BEGIN
"#include <winres.h>\r\n"
"\0"
END
-3 TEXTINCLUDE MOVEABLE PURE
+3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
@@ -187,7 +187,7 @@ END
//
#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO DISCARDABLE
+GUIDELINES DESIGNINFO
BEGIN
IDD_OPT_SHUTDOWN, DIALOG
BEGIN
diff --git a/plugins/AutoShutdown/src/common.h b/plugins/AutoShutdown/src/common.h
index a11b612b94..1fb595186d 100644
--- a/plugins/AutoShutdown/src/common.h
+++ b/plugins/AutoShutdown/src/common.h
@@ -19,11 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <stdio.h> /* for mir_sntprintf() */
#include <time.h> /* for mktime(),time() */
-#include <tchar.h>
#include <windows.h>
-#include <commctrl.h>
/* WinXP+: shutdown reason codes */
#if defined(EWX_RESTARTAPPS) /* new MS Platform SDK */
@@ -40,17 +37,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <ras.h> /* for RasEnumConnections(), RasHangUp() */
#include <raserror.h> /* error codes for RAS */
-#define MIRANDA_VER 0x0A00
#include <newpluginapi.h>
-#include <m_utils.h>
#include <m_database.h>
-#include <m_clist.h>
#include <m_clui.h>
#include <m_langpack.h>
-#include <m_system.h>
#include <m_skin.h>
#include <m_protosvc.h>
-#include <m_protocols.h>
#include <m_options.h>
#include <m_message.h>
#include <m_file.h>
@@ -60,9 +52,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_clistint.h>
#include <m_fontservice.h>
#include <m_icolib.h>
-#include <m_clc.h>
-#include <m_genmenu.h>
-#include <m_button.h>
#include <m_hotkeys.h>
#include <m_weather.h>
diff --git a/plugins/AutoShutdown/src/version.h b/plugins/AutoShutdown/src/version.h
index 05cc6a39bb..df56e3d16b 100644
--- a/plugins/AutoShutdown/src/version.h
+++ b/plugins/AutoShutdown/src/version.h
@@ -25,14 +25,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define __BUILD_NUM 2
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
-#define __STRINGIFY_IMPL(x) #x
-#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
-#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
-
-#define __PLUGIN_NAME "AutoShutdown"
-#define __INTERNAL_NAME "AutoShutdown"
+#define __PLUGIN_NAME "Auto shutdown"
#define __FILENAME "AutoShutdown.dll"
#define __DESCRIPTION "Adds the possibility to shutdown the computer when a specified event occurs."
#define __AUTHOR "H. Herkenrath"