diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-06 19:46:34 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-06 19:46:34 +0000 |
commit | e70263fa09e2b16cd0ab8d45c6cf16e5b9788944 (patch) | |
tree | d3831df3ca36dbc28bc4cfb98a4fa897deb71e95 /plugins/Alarms | |
parent | 3dfe76ebba2cc8264d5548db3446587fd08f032e (diff) |
fixed plugin info
plusified AssocMgr plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@334 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Alarms')
-rw-r--r-- | plugins/Alarms/Version.h | 20 | ||||
-rw-r--r-- | plugins/Alarms/Version.rc | 38 | ||||
-rw-r--r-- | plugins/Alarms/alarms.cpp | 16 | ||||
-rw-r--r-- | plugins/Alarms/alarms_10.vcxproj | 2 | ||||
-rw-r--r-- | plugins/Alarms/alarms_10.vcxproj.filters | 6 | ||||
-rw-r--r-- | plugins/Alarms/common.h | 1 |
6 files changed, 74 insertions, 9 deletions
diff --git a/plugins/Alarms/Version.h b/plugins/Alarms/Version.h new file mode 100644 index 0000000000..45934bc715 --- /dev/null +++ b/plugins/Alarms/Version.h @@ -0,0 +1,20 @@ +#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 4
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 5
+
+#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 "Alarms"
+#define __INTERNAL_NAME "Alarms"
+#define __FILENAME "Alarms.dll"
+#define __DESCRIPTION "Set once-off, daily, weekly and weekday alarms."
+#define __AUTHOR "Scott Ellis"
+#define __AUTHOREMAIL "mail@scottellis.com.au"
+#define __AUTHORWEB "http://www.scottellis.com.au"
+#define __COPYRIGHT "© 2005 Scott Ellis"
diff --git a/plugins/Alarms/Version.rc b/plugins/Alarms/Version.rc new file mode 100644 index 0000000000..e637f0cb33 --- /dev/null +++ b/plugins/Alarms/Version.rc @@ -0,0 +1,38 @@ +// Microsoft Visual C++ generated resource script.
+//
+#include "afxres.h"
+#include "version.h"
+
+#ifdef _WIN32
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
+#endif //_WIN32
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION __FILEVERSION_STRING
+ PRODUCTVERSION __FILEVERSION_STRING
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x0L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "000004b0"
+ BEGIN
+ VALUE "FileDescription", __DESCRIPTION
+ VALUE "InternalName", __PLUGIN_NAME
+ VALUE "LegalCopyright", __COPYRIGHT
+ VALUE "OriginalFilename", __FILENAME
+ VALUE "ProductName", __PLUGIN_NAME
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0, 1200
+ END
+END
diff --git a/plugins/Alarms/alarms.cpp b/plugins/Alarms/alarms.cpp index 626b917178..79cea6c27f 100644 --- a/plugins/Alarms/alarms.cpp +++ b/plugins/Alarms/alarms.cpp @@ -33,13 +33,13 @@ WNDPROC old_clist_wndproc; PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
- "Alarms",
- PLUGIN_MAKE_VERSION(0,4,0,5),
- "Set once-off, daily, weekly and weekday alarms.",
- "Scott Ellis",
- "mail@scottellis.com.au",
- "© 2005 Scott Ellis",
- "http://www.scottellis.com.au",
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE, //not transient
0, //doesn't replace anything built-in
{ 0x4dd7762b, 0xd612, 0x4f84, { 0xaa, 0x86, 0x6, 0x8f, 0x17, 0x85, 0x9b, 0x6d } } // {4DD7762B-D612-4f84-AA86-068F17859B6D}
@@ -62,8 +62,6 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) return interfaces;
}
-
-
static int CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch(message) {
diff --git a/plugins/Alarms/alarms_10.vcxproj b/plugins/Alarms/alarms_10.vcxproj index 0e4120925a..64a896c41e 100644 --- a/plugins/Alarms/alarms_10.vcxproj +++ b/plugins/Alarms/alarms_10.vcxproj @@ -204,6 +204,7 @@ <ClInclude Include="resource.h" />
<ClInclude Include="time_utils.h" />
<ClInclude Include="trigger.h" />
+ <ClInclude Include="Version.h" />
</ItemGroup>
<ItemGroup>
<None Include="clock.ico" />
@@ -214,6 +215,7 @@ </ItemGroup>
<ItemGroup>
<ResourceCompile Include="resource.rc" />
+ <ResourceCompile Include="Version.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
diff --git a/plugins/Alarms/alarms_10.vcxproj.filters b/plugins/Alarms/alarms_10.vcxproj.filters index 67fab38b2d..113441daf8 100644 --- a/plugins/Alarms/alarms_10.vcxproj.filters +++ b/plugins/Alarms/alarms_10.vcxproj.filters @@ -71,6 +71,9 @@ <ClInclude Include="trigger.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="Version.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="clock.ico">
@@ -93,5 +96,8 @@ <ResourceCompile Include="resource.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
+ <ResourceCompile Include="Version.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
</ItemGroup>
</Project>
\ No newline at end of file diff --git a/plugins/Alarms/common.h b/plugins/Alarms/common.h index 0186d87228..d675ab1bf1 100644 --- a/plugins/Alarms/common.h +++ b/plugins/Alarms/common.h @@ -15,6 +15,7 @@ #include <commctrl.h>
#include "resource.h"
+#include "version.h"
#include <newpluginapi.h>
#include <m_system.h>
|