summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/docs
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-06-29 05:38:03 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-06-29 05:38:03 +0000
commitaf7e438cfe8ce85e1da234318ed1584e89d952cc (patch)
tree4cdb1379ef8d6c00389aa89cfb27a404ae2aba56 /plugins/AutoShutdown/docs
parent230623d50baff4e8bf13a8572e0b895bad7b7ed4 (diff)
only add some plugins and protocols, not adapted
See please maybe not all need us git-svn-id: http://svn.miranda-ng.org/main/trunk@678 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown/docs')
-rw-r--r--plugins/AutoShutdown/docs/Info_Src.txt31
-rw-r--r--plugins/AutoShutdown/docs/License_Appendix.txt64
-rw-r--r--plugins/AutoShutdown/docs/Shutdown-Developer.txt49
-rw-r--r--plugins/AutoShutdown/docs/Shutdown-License.txt278
-rw-r--r--plugins/AutoShutdown/docs/Shutdown-Readme.txt329
-rw-r--r--plugins/AutoShutdown/docs/Shutdown-Translation.txt240
-rw-r--r--plugins/AutoShutdown/docs/countdown.wavbin0 -> 654 bytes
7 files changed, 991 insertions, 0 deletions
diff --git a/plugins/AutoShutdown/docs/Info_Src.txt b/plugins/AutoShutdown/docs/Info_Src.txt
new file mode 100644
index 0000000000..2b61a98f37
--- /dev/null
+++ b/plugins/AutoShutdown/docs/Info_Src.txt
@@ -0,0 +1,31 @@
+
+AutoShutdown 1.4.0.1 for Miranda IM 0.7+
+------------------------------------------------------------------------
+ Source Code
+
+Reminder:
+'AutoShutdown' is released under the terms of the GNU General Public License.
+See 'Shutdown-License.txt' for more details.
+'AutoShutdown' is copyright 2004-2007 by H. Herkenrath.
+
+Please notify me of any changes that improve
+'AutoShutdown' or add new features.
+If you have any questions on the code, feel free
+to contact me at my email address.
+
+ H. Herkenrath (hrathh at users.sourceforge.net)
+
+
+Notes
+------------------------------------------------------------------------
+The following files need to be changed to bump the version number:
+
+Info_Src.txt (1 place)
+version.h (4 places)
+m_shutdown.h (1 place)
+m_shutdown.inc (1 place)
+docs\Shutdown-Readme.txt (3 places)
+docs\Shutdown-Translation.txt (2 or 3 places)
+docs\Shutdown-Developer.txt (1 place)
+
+
diff --git a/plugins/AutoShutdown/docs/License_Appendix.txt b/plugins/AutoShutdown/docs/License_Appendix.txt
new file mode 100644
index 0000000000..c590c3f5fb
--- /dev/null
+++ b/plugins/AutoShutdown/docs/License_Appendix.txt
@@ -0,0 +1,64 @@
+
+Excecpt of GNU General Public License (Appendix):
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/plugins/AutoShutdown/docs/Shutdown-Developer.txt b/plugins/AutoShutdown/docs/Shutdown-Developer.txt
new file mode 100644
index 0000000000..9b15e2b09b
--- /dev/null
+++ b/plugins/AutoShutdown/docs/Shutdown-Developer.txt
@@ -0,0 +1,49 @@
+
+AutoShutdown 1.4.0.2 for Miranda IM 0.7+
+------------------------------------------------------------------------
+ Developer Information
+
+ Contents: -------------------------------
+ | Translation, Services/Events,
+ | Debug Symbols, Coding Language, Rebase Info
+
+Translation
+-----------------
+ The translation string listing can be found in
+ 'Shutdown-Translation.txt'.
+
+Services/Events
+-----------------
+ For more information about which service functions are offered by
+ 'AutoShutdown' and about how they can be used by your plugin,
+ please refer to 'm_shutdown.h'.
+ If you would like to use Delphi/Pascal please refer to 'm_shutdown.inc'.
+
+ Feel free to redirect any questions or extension ideas to me via e-mail:
+ hrathh at users.sourceforge.net
+
+Debug Symbols
+-----------------
+ Debug symbols are also available for debugging purposes.
+ Copy the PDB-files in the SDK-zip into the same directory as the
+ corresponding DLL-files.
+
+ To debug crashes the supplied MAP-file file might be helpful.
+
+Coding Language
+-----------------
+ 'AutoShutdown' was written using Microsoft Visual C++ 6.0 SP6
+ and the Microsoft Platform SDK shipped along with it.
+
+Rebase Info
+-----------------
+ 'AutoShutdown' has set its base address to:
+ 0x11070000
+
+ Please avoid using this base address for your plugins because it will
+ slightly slow down startup of Miranda IM.
+
+ With Microsoft Visual C++ the Base Address can be configured at:
+ 'Project' -> 'Settings' -> 'Linker' -> 'Output' -> 'Base Address'
+
+H. Herkenrath (hrathh at users.sourceforge.net)
diff --git a/plugins/AutoShutdown/docs/Shutdown-License.txt b/plugins/AutoShutdown/docs/Shutdown-License.txt
new file mode 100644
index 0000000000..a726a52df1
--- /dev/null
+++ b/plugins/AutoShutdown/docs/Shutdown-License.txt
@@ -0,0 +1,278 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
diff --git a/plugins/AutoShutdown/docs/Shutdown-Readme.txt b/plugins/AutoShutdown/docs/Shutdown-Readme.txt
new file mode 100644
index 0000000000..59524f620f
--- /dev/null
+++ b/plugins/AutoShutdown/docs/Shutdown-Readme.txt
@@ -0,0 +1,329 @@
+
+AutoShutdown 1.4.0.2
+------------------------------------------------------------------------
+ Plugin for Miranda IM 0.7 and +
+
+ Plugin Info: ----------------------------
+ | Version: 1.4.0.2
+ | Filename: shutdown.dll
+ | Author: H. Herkenrath (hrathh at users.sourceforge.net)
+ | Description: Adds the possibility to shutdown Miranda IM
+ | or the computer after at a specified time.
+
+ Contents: -------------------------------
+ | Features, Requirements, Usage, Installation,
+ | Bugs and Wishes, To-Do List, Version History,
+ | Thanks, Translation, License and Copyright
+
+Features
+----------------------
+ + Shutdown Miranda IM or your computer after a specified time,
+ when receiving a special message or when all file transfers are completed
+ + Offers the following shutdown possibilities:
+ Logoff, Restart, Shutdown, Standby mode, Hibernate mode, Lock workstation,
+ Hang up dialup connections, Close Miranda IM, Set Miranda offine
+ + The available shutdown possibilities are only shown if they
+ are supported on your system
+ + The available shutdown events are only shown if you have
+ protocols or plugins installed that support the features
+ + Displays a confirmation dialog which is shown for 30 seconds
+ to cancel the process
+ + Plays a sound on confirmation dialog
+ + Displays the countdown in a special window below contact list
+ (this feature needs a MultiWindow enabled Contact List plugin)
+ + Plays a sound when the confirmation dialog is displayed
+ + No data gets lost on shutdown especially no unread messages
+ + Allows you to pause the shutdown countdown
+ + If Miranda is closed while automatic shutdown is running it will
+ show a dialog on next start of Miranda IM where it can be selected
+ to start automatic shutdown again
+ + Provides shutdown services for other plugins
+ + Full Unicode support
+ + Automatic installation of all files, just unzip into Plugins directory
+ + Supported plugins/tools:
+ MultiWindow Contact Lists (frames and hotkeys), Hotkey Plugins,
+ Magnetic Windows, Snapping Windows, TopToolBar, AutoReplacer,
+ Trigger Plugin (http://www.pboon.nl/projects.htm), HDD Info,
+ Weather Protocol
+
+Requirements
+----------------------
+ -> Miranda IM 0.7+:
+ Miranda IM is needed in version 0.7 or later.
+
+ -> Optional: Weather Protocol 0.3.3.17+:
+ If you would like to use the thunderstorm shutdown feature,
+ you need to have Weather Protocol installed, version 0.3.3.17 or later.
+
+ -> Optional: HDD Info 0.1.2.0+:
+ If you would like to use the harddrive overheat shutdown feature,
+ you need to have the HDD Info plugin installed, version 0.1.2.0 or later.
+
+ -> Optional: Trigger Plugin 0.2.0.69+:
+ If you would like to use the Trigger feature,
+ you need to have the Trigger plugin installed, version 0.2.0.69 or later.
+
+Usage
+----------------------
+ AutoShutdown can be activated via the main menu:
+ 'Main Menu' -> 'Automatic Shutdown'
+
+ The options to use 'Hibernate mode' and 'Lock workstation'
+ are only available if your system supports it.
+ All other options are only available if they are enabled on your system.
+
+ Enabling 'Hibernate mode' on Windows ME/2000 and later:
+ 'Control Panel' -> 'Power Options' -> 'Hibernate'
+ To enable the Hibernate feature go to the Control Panel,
+ double-click Power Options, and then click the Hibernate tab.
+ Click to select the Enable Hibernate Support check box.
+
+Installation
+----------------------
+ Find 'miranda32.exe' on your computer.
+
+ Just copy all the contents of the zip-file as they are into the 'Plugins'
+ subdirectory in the Miranda IM folder.
+ 'AutoShutdown' will detect the files and move them into the appropriate
+ directories on it's first run.
+
+ You can also do all the installation by hand, if you want to:
+
+ Main Plugin: Copy the file 'shutdown.dll' into the 'Plugins' subdirectory
+ in the Miranda IM folder.
+
+ The Unicode version of the plugin will only work on Windows NT/2000/XP,
+ Windows Server 2000, Windows Vista or later with an installed
+ Unicode version of Miranda IM.
+ To use it on Windows 95/98/Me, please download the ANSI version of the plugin.
+
+ Documentation: The txt-files should be moved along with the SDK-zip into the
+ 'Docs' directory in the Miranda IM folder.
+
+ Sounds: The wav-files should be moved into the 'Sounds'
+ directory. They will get recognized automatically and be added to the sounds list.
+
+ That's it!
+
+Bugs and Wishes
+----------------------
+ Feel free to mail me your wishes about 'AutoShutdown' and tell
+ me all the bugs you may find: hrathh at users.sourceforge.net
+
+To-Do List (random ideas)
+----------------------
+ ? Design some icons for the shutdown types (shutdown, reboot, etc.)...anyone?
+ ? Ddd possibility to shutdown on status change of specific users
+ ? Support Alarms Plugin API (m_alarms.h):
+ This would replace countdown frame, showing the shutdown countdown
+ on the Alarms frame instead (don't know if this is a good idea, not yet possible)
+ ? Show system tray icon when automatic shutdown is enabled (not needed, bad looking)
+ ? Add possibility to set Miranda to a specific status instead of offline
+ (really shutdown related?)
+ ? Start a specified application on event (really shutdown related?)
+
+Version History
+----------------------
+ 1.4.0.2 - minor fixes
+ 1.4.0.1 - ensure correct threshold values for cpuusage
+ - uses langpack locale for combobox sorting
+ - fixed: fontservice items were registered too early
+ - fixed: unicode problem with tray menu item
+ - fixed: settings dialog did not show up with parent
+ - added v0.8 support
+ - minor other improvements
+ 1.4.0.0 - Added possibility to shutdown when computer finishes
+ a busy task (high cpu usage)
+ - Support for AutoReplacer in message editbox
+ - Fixed minor issue with reactivating on miranda startup
+ - Really fixed shutdown on message in unicode build
+ - Updated new miranda headers, use of mir_forkthread
+ - Fixed automatic installation routine, now works again
+ - Bug-Fix: countdown hours (and higher) were converted wrongly
+ - Fixes for Win9x and WinNT4
+ - Adjustments for hung apps
+ - Tweak: support for ENDSESSION_CLOSEAPP in Windows Vista
+ - Code reorganization
+ - Minor Vista and robustness tweaks
+ - Improved FontService and IcoLib support (core built-in)
+ 1.3.1.1 - Tweaks for blind users
+ - Minor speed-up for frame drawing when resized
+ - Cleanups
+ - workaround for frames not drawing when previously hidden
+ 1.3.1.0 - Added FontService support
+ - Added HDD Info overheat shutdown
+ - Updated Trigger plugin support (0.2)
+ - Updated TopToolBar support to latest version (0.7.3)
+ - Fixed 'lock workstation' on WinNT4
+ - Marquee on progress
+ - Minor fixes and improvements
+ - Minor updates for new Miranda
+ 1.3.0.8 - Bug-Fix: Check for unicode core was wrong
+ - Some other minor changes
+ 1.3.0.7 - Improvements to OKTOEXIT handling
+ - Bug-Fix: Daylight saving time was ignored in time conversion
+ 1.3.0.6 - Reduced ANSI file size (corrected compiler settings)
+ - Minor internal tweaks
+ - Bug-Fix: Confirmation countdown in options was not displayed correctly
+ - Included debug symbols (PDB) into SDK package
+ - Adjusted db settings
+ 1.3.0.5 - Minor internal tweaks
+ - Fixed crash on start when Trigger plugin installed
+ 1.3.0.4 - Minor improvements and some internal changes to the countdown frame
+ - Finally fully fixed the dialup shutdown problem
+ - Added: Now also adds Close Miranda and Set Miranda offline as
+ actions for the trigger plugin (was requested)
+ 1.3.0.3 - Bug-Fix: Another try to fix the 'hangup dialup connections' freeze
+ 1.3.0.2 - Bug-Fix: 'hang up dialup connection' freezed Miranda sometimes
+ 1.3.0.1 - Fix: On some rare situations Miranda was not shutdown correctly
+ - Fix: Frame was not shown correctly on clist_modern
+ - Fixed mw_clist hotkey
+ - Some minor improvements
+ - Added shutdown event
+ - Fixed minor workstation locked issue
+ - Fixed 'sec' not shown correctly on frame (bug in WinAPI)
+ - Made 'hang up dialup connections' code more robust
+ - Bug-Fix: countdown values were not saved
+ - Fixed: shutdown dates in past were sometimes not recognized correctly
+ 1.3.0.0 - Make use of FORCEIFHUNG flag instead of FORCE whenever it is possible
+ - Shutdown at [hh:mm] and [yy-mm-dd] instead of Shutdown only at [hh:mm]
+ (also making use of calendar common control)
+ - New shutdown type: set status to offline
+ - Make use of ME_IDLE_CHANGED to shutdown on idle
+ - Added 'Thunder Shutdown' functionality
+ - Now making use of marquee mode of progressbar of time countdown is to
+ long to be displayed
+ - Added: Hotkey support for toggling automatic shutdown on/off
+ - Added: IcoLib support
+ - Updated: DBEditor++ support
+ - Added: Support for Trigger plugin (shutdown actions)
+ - Added: Unicode support
+ - Added: Functionality of Thunder Shutdown plugin (see option page)
+ - Removed: AgressiveOptimize.h to make it work on all systems
+ - Improved: New service functions
+ - Added: Shows countdown frame in normal window when frames are not available
+ - Added: Hotkey support for hotkey services (toggle)
+ - Improved: Now makes use of StrFromTimeInterval, BroadcastSystemMessage
+ - Improved: Made file transfer shutdown logic more robust
+ - Imroved dialogs look and feel
+ - Cleaned up and revisited code
+ 1.2.0.4 - Changed time control to use windows default control
+ - Fix: The icon on the countdown frame was sqeezed a bit
+ - Improved shutdown dialog layout
+ - Some small string improvements/changes (see Shutdown-Translation.txt')
+ - Some other minor code changes and improvements
+ 1.2.0.3 - 'Shutdown on file transfer' and 'Shutdown on message receival'
+ are now only enabled if plugins and protocols are installed that
+ support file transfer and/or instant messaging features
+ - Some other minor changes
+ 1.2.0.2 - Fix: Shutdown on message receival only worked when
+ message dialog was closed (Thanks to Hurricane and Foo)
+ - Fix: Sound option dialog sometimes crashed
+ when selecting a different countdown sound file (Thanks to Rex)
+ - Minor string improvements (see 'Shutdown-Translation.txt')
+ - Some small internal improvements
+ 1.2.0.1 - Fix: TopToolBar button showed wrong behaviour if
+ dialog was already opened
+ 1.2.0.0 - Add: New shutdown type 'Hang up dialup connections'
+ - Fix: Combo box did not remember last option correctly
+ - Some other small fixes/changes/improvents
+ 1.1.3.1 - Fix: Tabulator did not work correctly on settings dialog
+ - Fix: Some problems with the 'last exit remembering'
+ - Fix: 'Cancel' button was not default button on shutdown dialog
+ - Some other minor fixes/improvements
+ 1.1.3.0 - Improved: Sending of WM_ENDSESSION
+ - Add: If Miranda is closed and automatic shutdown is running
+ it will remember it and shows on next Miranda start a message box
+ where the user can select to start automatic shutdown again
+ - Add: When no option is selected it does no longer allow the
+ user to click on OK
+ - Fix: Time input control sometimes got hidden when editing hours
+ - Some other minor improvements/fixes
+ 1.1.2.0 - Fix: The shutdown on file transfer completion feature
+ did not always work correctly, especially with ICQ file transfers
+ - Fix: If the default sound file isn't installed it doesn't
+ anylonger give out the windows default sound by default
+ - Add: If Miranda is closed and automatic shutdown is running
+ it will remember it and start on next Miranda start again
+ 1.1.1.1 - Fix: Shutdown on specific time sometimes did not work correctly
+ and crashed Miranda on opening the 30s confirmation window
+ 1.1.1.0 - Fix: Default time was sometimes not detected correctly
+ - Improved: Shutdown/Restart is now faster due to improved
+ sending of WM_ENDSESSION
+ - Improved: When the countdown is paused it shows a blinking text
+ - Change: Context menu can now also be opened via left click
+ - Change: Shutdown on message receival now checks for
+ if the message contains the specified text instead of checking for
+ exactly the same content
+ - Change: 'Cancel Countdown' in context menu now only stops the countdown
+ instead of stopping all shutdown causes
+ - Change: When using shutdown at time feature the countdown display will
+ show the time instead of the countdown (Suggested by Rootgar)
+ - Change: The context menu now show a different text instead of being
+ checked when the countdown is paused
+ - Added/Changed some strings (see 'Shutdown-Translation.txt')
+ - Some other minor changes/improvements
+ 1.1.0.0 - Add: Possibility to shut down when all file transfers are finished
+ - Add: Possibility to shut down on message receival
+ - Add: WM_ENDSESSION now gets send to all applications manually on
+ shutdown/restart to prevent data loss
+ - Add: Now containing default sound file boundled with zip
+ - Add: Possibility to pause/unpause the countdown via right click on it
+ - Fix: Shutdown/Restart was not shown on Windows 2000/XP
+ - Fix: Updated link on plugin options page
+ - Fix: Countdown got updated one second after reactivating clist
+ - Change: Sound now gets played repeatedly on 30s shutdown dialog
+ - Change: Now 'Cancel' is the default button on 30s shutdown dialog
+ - Improved/Added some strings (please see 'Shutdown-Translation.txt')
+ - Some other minor improvements
+ 1.0.0.0 - Initial release
+
+Thanks
+----------------------
+ * To Corsario (Angelo Luiz Tartari) for the first idea of a shutdown plugin
+ * To Dennys for the first idea of rebooting via message ('dReboot' plugin)
+ * To noname for the thunderstorm shutdown feature
+ * To Marek 'tusz' Tusiewicz for the sound file and testing
+ * To Rootgar and Tigerix for their bug reports and suggestions
+
+Translation
+----------------------
+ Translation strings can be found in 'Shutdown-Translation.txt'.
+
+License and Copyright
+----------------------
+ 'AutoShutdown' is released under the terms of the GNU General Public License.
+ See 'Shutdown-License.txt' for more details.
+
+ Copyright (c) 2004-2007 by H. Herkenrath. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. The origin of this software must not be misrepresented; you must
+ not claim that you wrote the original software. If you use this
+ software in a product, an acknowledgment in the product
+ documentation would be appreciated but is not required.
+ 3. Altered source versions must be plainly marked as such, and must
+ not be misrepresented as being the original software.
+ 4. The name of the author may not be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+H. Herkenrath (hrathh at users.sourceforge.net)
diff --git a/plugins/AutoShutdown/docs/Shutdown-Translation.txt b/plugins/AutoShutdown/docs/Shutdown-Translation.txt
new file mode 100644
index 0000000000..3ff9b29186
--- /dev/null
+++ b/plugins/AutoShutdown/docs/Shutdown-Translation.txt
@@ -0,0 +1,240 @@
+
+AutoShutdown 1.4.0.2 for Miranda IM 0.7+
+------------------------------------------------------------------------
+ Translator Information
+
+ Contents: -------------------------------
+ | General Info, String Listing
+
+General Info
+-----------------------------
+ 'AutoShutdown' can be translated with the Miranda IM
+ language files.
+
+ Place the following strings listed in the following section in a
+ file called 'langpack_<language>.txt' in the Miranda IM directory.
+ Then you can translate them into your language.
+
+ If you need more info about Miranda IM language files visit:
+ http://miranda.svn.sourceforge.net/viewvc/*checkout*/miranda/trunk/miranda/i18n/readme.txt
+
+String Listing
+-----------------------------
+
+; --- Plugin: AutoShutdown 1.4.0.2 (German) ---
+
+; Translation by hrathh
+; Please report any mistakes or missing strings in here.
+
+[AutoShutdown]
+Automatisches Beenden
+[Adds the possibility to shutdown the computer when a specified event occurs.]
+Dieses Plugin ermöglicht es den Computer bei Eintreten festgelegter Ereignisse zu Beenden.
+[AutoShutdown Plugin]
+AutoShutdown-Plugin
+[The AutoShutdown plugin can not be loaded. It requires Miranda IM %hs or later.]
+Das AutoShutdown-Plugin kann nicht geladen werden. Es benötigt Miranda IM %hs oder neuer.
+
+; Menu Item
+[Automatic &shutdown...]
+Automatisches &Beenden...
+[Stop automatic &shutdown]
+Automatisches &Beenden abbrechen
+; TopToolBar Button
+[Start/Stop automatic shutdown]
+Automatisches Beenden de-/aktivieren
+[Start automatic shutdown]
+Automatisches Beenden aktivieren
+[Stop automatic shutdown]
+Automatisches Beenden deaktivieren
+
+; Sound
+;[Alerts]
+[Automatic Shutdown Countdown]
+Countdown beim Automatischen Beenden
+; Hotkey
+[Toggle Automatic Shutdown]
+Automatisches Beenden ein-/ausschalten
+
+; Icons
+[Active]
+Aktiviert
+[Inactive]
+Deaktiviert
+[Header]
+Illustration
+; Fonts and Colors
+[Countdown on Frame]
+Countdown im Rahmen
+[Background]
+Hintergrund
+[Progress Bar]
+Fortschrittsbalken
+
+; Settings Dialog
+[Automatic Shutdown]
+Automatisches Beenden
+[Select the automatic shutdown event]
+Ein Ereignis zum automatischen Beenden wählen
+[Shutdown at &specific time]
+Beenden zur festgelegten &Zeit
+[Shutdown a&t:]
+Durchführen u&m:
+[Shutdown i&n:]
+Durchführen i&n:
+[Second(s)]
+Sekunden(n)
+[Minute(s)]
+Minute(n)
+[Hour(s)]
+Stunde(n)
+[Day(s)]
+Tage(n)
+[Week(s)]
+Woche(n)
+[Month(s)]
+Monat(en)
+[Shutdown when a &message is received containing the following text:]
+Beenden, wenn eine &Nachricht eingeht, die den folgenden Text enthält:
+[Shutdown when all &file transfers are finished]
+Beenden, wenn alle &Dateiübertragungen abgeschlossen sind
+[Shutdown when &prozessor usage drops below:]
+Beenden, wenn die &Prozessorauslastung unter folgenden Wert fällt:
+[(current: %u%%)]
+(aktuell: %u%%)
+;[%]
+[Shutdown when Miranda IM becomes &idle]
+Beenden, wenn Miranda IM im &Idle-Modus ist
+[Configure]
+Konfigurieren
+[Shutdown when all contacts are &offline]
+Beenden, wenn alle Kontakte &offline sind
+[&Action:]
+&Vorgang:
+[Close Miranda IM]
+Miranda IM schließen
+[Sets all Miranda IM protocols to offline and closes Miranda IM.]
+Setzt alle Netzwerkprotokolle auf "Offline" und beendet Miranda IM.
+[Set Miranda IM offline]
+Miranda IM offline schalten
+[Sets all Miranda IM protocols to offline.]
+Setzt alle Protokolle von Miranda IM auf Offline.
+[Log off user]
+Benutzer abmelden
+[Logs the current Windows user off so that another user can log in.]
+Meldet den aktuellen Benutzer von Windows ab, sodass sich ein anderer Benutzer anmelden kann.
+[Restart computer]
+Computer neu starten
+[Shuts down Windows and then restarts Windows.]
+Beendet die Windows-Sitzung und Windows und startet dann Windows erneut.
+[Shutdown computer]
+Computer herunterfahren
+[Closes all running programs and shuts down Windows to a point at which it is safe to turn off the power.]
+Beendet die Windows-Sitzung und fährt den Computer herunter. Der Computer wird ausgeschaltet.
+[Standby mode]
+Standby-Modus
+[Saves the current Windows session in memory and sets the system to suspend mode.]
+Behält die Windows-Sitzung bei, speichert die Daten im Arbeitsspeicher und schaltet den Computer in den Energiesparmodus.
+[Hibernate mode]
+Ruhezustand
+[Saves the current Windows session on harddisc, so that the power can be turned off.]
+Speichert die Windows-Sitzung auf der Festplatte, sodass der Computer ausgeschaltet werden kann.
+[Lock workstation]
+Arbeitsplatz verriegeln
+[Locks the computer. To unlock the computer, you must log in.]
+Verriegelt den Computer gegen Zugriff. Um den Computer wieder zu entriegeln müssen Sie sich erneut anmelden.
+[Hang up dialup connections]
+DFÜ-Verbindungen trennen
+[Sets all protocols to offline and closes all RAS connections.]
+Setzt alle Netzwerkprotokolle auf "Offline" und trennt alle aktiven DFÜ-Netzwerkverbindungen.
+
+; Options
+[Shutdown]
+Beenden
+[&Show confirmation dialog before shutdown]
+&Bestätigungsfenster vor dem Beenden anzeigen
+[&Countdown starts at:]
+&Countdown beginnt bei:
+[seconds]
+Sekunden
+[Shutdown Events]
+Ereignisse
+[&Activate automatic shutdown with the same settings again if Miranda IM was closed with automatic shutdown enabled]
+&Automatisches Beenden mit den gleichen Einstellungen erneut aktivieren, wenn Miranda IM beendet wurde während es aktiviert war
+[&Ignore hidden or temporary contacts when watching for all contacts being offline]
+&Versteckte und temporäre Kontakte beim Prüfen auf Offline Status ignorieren
+[Critical Shutdown Events]
+Kritische Ereignisse
+[&Thunderstorm warning is issued (Weather)]
+Gewitterwarnung wird ausgegeben (Wetter)
+[&Harddrive overheats (HDD Info)]
+&Festplatte überhitzt (HDD Info)
+
+; Trigger Plugin
+[Shutdown: Close Miranda IM]
+Herunterfahren: Miranda IM schließen
+[Shutdown: Set Miranda IM offline]
+Herunterfahren: Miranda IM offline schalten
+[Shutdown: Log off user]
+Herunterfahren: Abmelden
+[Shutdown: Restart computer]
+Herunterfahren: Neustart
+[Shutdown: Shutdown computer]
+Herunterfahren: Computer ausschalten
+[Shutdown: Standby mode]
+Herunterfahren: Standby-Modus
+[Shutdown: Hibernate mode]
+Herunterfahren: Ruhezustand
+[Shutdown: Lock workstation]
+Herunterfahren: Arbeitsplatz verriegeln
+[Shutdown: Hang up dialup connections]
+Herunterfahren: DFÜ-verbindungen trennen
+
+; Shutdown Dialog
+;[Automatic Shutdown]
+[Miranda IM is going to be automatically closed in %i second(s).]
+Miranda IM wird in %i Sekunde(n) automatisch geschlossen.
+[You will be logged off automatically in %i second(s).]
+Der Benutzer wird in %i Sekunde(n) automatisch abgemeldet.
+[The computer will automatically be restarted in %i second(s).]
+Der Computer wird in %i Sekunde(n) automatisch neu gestartet.
+[The computer will automatically be set to standby mode in %i second(s).]
+Der Computer wird in %i Sekunde(n) automatisch in den Stanby-Modus geschaltet.
+[The computer will automatically be set to hibernate mode in %i second(s).]
+Der Computer wird in %i Sekunde(n) automatisch in den Ruhezustand geschaltet.
+[The workstation will automatically get locked in %i second(s).]
+Der Arbeitsplatz wird in %i Sekunde(n) automatisch verriegelt.
+[The computer will automatically be shut down in %i second(s).]
+Der Computer wird in %i Sekunde(n) automatisch heruntergefahren.
+[All dialup connections will be closed in %i second(s).]
+Alle aktiven DFÜ-Netzwerkverbindungen werden in %i Sekunde(n) automatisch getrennt.
+[Unsaved data in open applications except Miranda IM might get lost.]
+Ungespeicherte Daten in geöffneten Anwendungen außer Miranda IM könnten verloren gehen.
+[Please click "Cancel" if you would like to abort the process.]
+Bitte auf "Abbrechen" klicken, wenn der Vorgang nicht durchgeführt werden soll.
+[&Now!]
+&Sofort!
+
+; Countdown Frame
+[Time left:]
+Verbleibend:
+[Shutdown at:]
+Beenden um:
+[Paused]
+Pause
+[&Cancel Countdown]
+Countdown &abbrechen
+[&Pause Countdown]
+Countdown &pausieren
+[&Unpause Countdown]
+Countdown &fortsetzen
+
+; Error
+[Automatic Shutdown Error]
+Fehler beim Automatischen Beenden
+[The shutdown process failed!\nReason: %s]
+Der Beendevorgang konnte nicht gestartet werden!\nGrund: %s
+
+; ---
+
+H. Herkenrath (hrathh at users.sourceforge.net)
diff --git a/plugins/AutoShutdown/docs/countdown.wav b/plugins/AutoShutdown/docs/countdown.wav
new file mode 100644
index 0000000000..45baa854bb
--- /dev/null
+++ b/plugins/AutoShutdown/docs/countdown.wav
Binary files differ