From cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 21 Apr 2011 14:14:52 +0000 Subject: svn.miranda.im is moving to a new home! git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- useactions/res/UseActions.rc | 156 +++++++++++++++++++++++++++++++++++++++++++ useactions/res/action.ico | Bin 0 -> 2550 bytes useactions/res/resource.h | 50 ++++++++++++++ useactions/res/resource.rc | 2 + useactions/res/version.h | 58 ++++++++++++++++ useactions/res/version.rc | 39 +++++++++++ 6 files changed, 305 insertions(+) create mode 100644 useactions/res/UseActions.rc create mode 100644 useactions/res/action.ico create mode 100644 useactions/res/resource.h create mode 100644 useactions/res/resource.rc create mode 100644 useactions/res/version.h create mode 100644 useactions/res/version.rc (limited to 'useactions/res') diff --git a/useactions/res/UseActions.rc b/useactions/res/UseActions.rc new file mode 100644 index 0000000..849825f --- /dev/null +++ b/useactions/res/UseActions.rc @@ -0,0 +1,156 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Neutral resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU) +#ifdef _WIN32 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +#endif //_WIN32 + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_OPTIONS DIALOGEX 0, 0, 312, 232 +STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_CHILD +EXSTYLE WS_EX_CONTROLPARENT +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + GROUPBOX "The way actions could be called",IDC_GB,7,2,297,226 + CONTROL "",IDC_ACTIONSLIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,15,12,115,210 + CONTROL "CList_Modern",IDC_CHBMTBB,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,19,76,8 + CONTROL "Core Hotkey",IDC_CHBHOTKEY,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,208,146,8 + CONTROL "Enable",IDC_CHBMMENUITEM,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,54,50,8 + CONTROL "Enable",IDC_CHBCMENUITEM,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,106,50,8 + CONTROL "TopToolBar",IDC_CHBTTBB,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,28,68,8 + EDITTEXT IDC_EDMMENUPN,218,60,78,12,ES_AUTOHSCROLL | WS_GROUP + EDITTEXT IDC_EDCMENUPN,218,112,78,12,ES_AUTOHSCROLL | WS_GROUP + RTEXT "Root popup:",IDC_STMMIROOTPOPN,150,62,65,8 + RTEXT "Root popup:",IDC_STCMIROOTPOPN,150,114,65,8 + CONTROL "show only if variables return 1",IDC_CHBCMVARS,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_GROUP | WS_TABSTOP,162,142,134,8 + EDITTEXT IDC_EDCMENUVARSTR,162,151,120,12,ES_AUTOHSCROLL | WS_GROUP + CONTROL "",IDC_BTCMSVARSHELP,"MButtonClass",WS_TABSTOP,282,151,14,12 + LTEXT "Toolbar buttons",IDC_STTOOLBAR,140,10,145,8 + LTEXT "Main menu item",IDC_STMMI,140,44,156,8 + LTEXT "Contact menu item",IDC_STCMI,140,96,156,8 + LTEXT "Other",IDC_STOTHER,140,199,156,8 + LTEXT "Tray menu item",IDC_STTMI,140,169,156,8 + EDITTEXT IDC_EDTMENUPN,220,185,76,12,ES_AUTOHSCROLL | WS_GROUP + CONTROL "Enable",IDC_CHBTMENUITEM,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,150,178,50,8 + RTEXT "Root popup:",IDC_STTMIROOTPOPN,150,187,65,8 + EDITTEXT IDC_EDMMENUN,218,73,63,12,ES_AUTOHSCROLL | WS_GROUP + RTEXT "Name through vars:",IDC_STMMIVARNAME,150,75,65,8 + CONTROL "",IDC_BTMMNVARSHELP,"MButtonClass",WS_TABSTOP,282,73,14,12 + EDITTEXT IDC_EDCMENUN,218,125,63,12,ES_AUTOHSCROLL | WS_GROUP + RTEXT "Name through vars:",IDC_STCMIVARNAME,150,127,65,8 + CONTROL "",IDC_BTCMNVARSHELP,"MButtonClass",WS_TABSTOP,282,125,14,12 + CONTROL "TabButtonBar",IDC_CHBTABBB,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,228,19,68,8 + CONTROL "separated",IDC_CHBMMENUSEP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,219,50,77,10 + CONTROL "separated",IDC_CHBCMENUSEP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,219,102,77,10 +END + +IDD_ELEMOPTS DIALOGEX 0, 0, 316, 182 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU +EXSTYLE WS_EX_TOOLWINDOW +CAPTION "Dialog" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + DEFPUSHBUTTON "OK",IDOK,205,161,50,14 + PUSHBUTTON "Cancel",IDCANCEL,259,161,50,14 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ACTION ICON ".\\action.ico" + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_OPTIONS, DIALOG + BEGIN + VERTGUIDE, 140 + VERTGUIDE, 150 + VERTGUIDE, 162 + VERTGUIDE, 200 + VERTGUIDE, 215 + VERTGUIDE, 228 + VERTGUIDE, 268 + VERTGUIDE, 296 + VERTGUIDE, 304 + HORZGUIDE, 27 + END + + IDD_ELEMOPTS, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 309 + TOPMARGIN, 7 + BOTTOMMARGIN, 175 + END +END +#endif // APSTUDIO_INVOKED + +#endif // Neutral resources +///////////////////////////////////////////////////////////////////////////// + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/useactions/res/action.ico b/useactions/res/action.ico new file mode 100644 index 0000000..9e4c60d Binary files /dev/null and b/useactions/res/action.ico differ diff --git a/useactions/res/resource.h b/useactions/res/resource.h new file mode 100644 index 0000000..05d165e --- /dev/null +++ b/useactions/res/resource.h @@ -0,0 +1,50 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by UseActions.rc +// +#define IDI_ACTION 101 +#define IDD_OPTIONS 102 +#define IDD_ELEMOPTS 104 +#define IDC_ACTIONSLIST 1001 +#define IDC_CHBMTBB 1002 +#define IDC_CHBHOTKEY 1003 +#define IDC_CHBMMENUITEM 1004 +#define IDC_CHBCMENUITEM 1005 +#define IDC_CHBTTBB 1006 +#define IDC_EDMMENUPN 1007 +#define IDC_EDCMENUPN 1008 +#define IDC_EDTMENUPN 1009 +#define IDC_CHBTABBB 1010 +#define IDC_CHBTMENUITEM 1012 +#define IDC_EDMMENUN 1013 +#define IDC_EDCMENUN 1014 +#define IDC_CHBCMVARS 1015 +#define IDC_EDCMENUVARSTR 1016 +#define IDC_BTCMSVARSHELP 1017 +#define IDC_STTOOLBAR 1018 +#define IDC_GB 1019 +#define IDC_STMMI 1020 +#define IDC_STCMI 1021 +#define IDC_STTMI 1022 +#define IDC_STOTHER 1023 +#define IDC_STMMIROOTPOPN 1024 +#define IDC_STCMIROOTPOPN 1025 +#define IDC_STTMIROOTPOPN 1026 +#define IDC_STMMIVARNAME 1027 +#define IDC_BTMMNVARSHELP 1028 +#define IDC_STCMIVARNAME 1029 +#define IDC_BTCMNVARSHELP 1030 +#define IDC_CHBMMENUSEP 1031 +#define IDC_CHBCMENUSEP 1032 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NO_MFC 1 +#define _APS_NEXT_RESOURCE_VALUE 105 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1032 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/useactions/res/resource.rc b/useactions/res/resource.rc new file mode 100644 index 0000000..16c9fa2 --- /dev/null +++ b/useactions/res/resource.rc @@ -0,0 +1,2 @@ +#include "UseActions.rc" +#include "version.rc" \ No newline at end of file diff --git a/useactions/res/version.h b/useactions/res/version.h new file mode 100644 index 0000000..94df319 --- /dev/null +++ b/useactions/res/version.h @@ -0,0 +1,58 @@ +// Set the version number here - it will affect the version resource and the version field of the pluginInfo structure +// (Be careful that you don't have the resource file open when you change this and rebuild, otherwise the changes may not +// take effect within the version resource) +// Do not forget to define symbol "_DEBUG" for resource compiler if you use debug configuration (in VisualStudio you can +// find it under Project properties - Configuration properties - Resource - General - Preprocessor definitions) + +// plugin version part +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 3 +// plugin SVN Revision number +//#define __REV_NUM 5678 + +// minimal MirandaIM version number, with which this plugin supposed to work +#define __PROD_MAJOR_VERSION 0 +#define __PROD_MINOR_VERSION 7 +#define __PROD_RELEASE_NUM 13 +#define __PROD_BUILD_NUM 0 +// if your plugin works only with Miranda core beginning from specific revision, you can include this information in Product Version resource +//#define __PROD_REV_NUM 1234 + +// stuff that will be used in PluginInfo section and in Version resource +#define __PLUGIN_NAME "UseActions" +#define __FILENAME "UseActions.dll" +#define __DESC "This plugin makes use of actions, serviced by Actions Manager plugin (ActMan, by Awkward)" +#define __AUTHOR "Igor Abakumov" +#define __AUTHOREMAIL "abakumoff@mail.ru" +#define __AUTHORWEB "http://vasilich.org/blog" +#define __COPYRIGHT "© 2009 Igor Abakumov" + +// other stuff for Version resource +#define __STRINGIFY_IMPL(x) #x +#define __STRINGIFY(x) __STRINGIFY_IMPL(x) + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM +#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM +#ifdef _UNICODE +#ifdef __REV_NUM +#define __VERSION_STRING __STRINGIFY(__FILEVERSION_STRING_DOTS rev. __REV_NUM Unicode) +#else +#define __VERSION_STRING __STRINGIFY(__FILEVERSION_STRING_DOTS Unicode) +#endif +#else +#ifdef __REV_NUM +#define __VERSION_STRING __STRINGIFY(__FILEVERSION_STRING_DOTS rev. __REV_NUM) +#else +#define __VERSION_STRING __STRINGIFY(__FILEVERSION_STRING_DOTS) +#endif +#endif + +#define __PRODVERSION_STRING __PROD_MAJOR_VERSION,__PROD_MINOR_VERSION,__PROD_RELEASE_NUM,__PROD_BUILD_NUM +#define __PRODVERSION_STRING_DOTS __PROD_MAJOR_VERSION.__PROD_MINOR_VERSION.__PROD_RELEASE_NUM.__PROD_BUILD_NUM +#ifdef __PROD_REV_NUM +#define __PROD_VERSION_STRING __STRINGIFY(__PRODVERSION_STRING_DOTS rev. __PROD_REV_NUM) +#else +#define __PROD_VERSION_STRING __STRINGIFY(__PRODVERSION_STRING_DOTS+) +#endif diff --git a/useactions/res/version.rc b/useactions/res/version.rc new file mode 100644 index 0000000..ae94064 --- /dev/null +++ b/useactions/res/version.rc @@ -0,0 +1,39 @@ +#include "version.h" + +#ifdef _WIN32 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +#endif //_WIN32 + +VS_VERSION_INFO VERSIONINFO + FILEVERSION __FILEVERSION_STRING + PRODUCTVERSION __PRODVERSION_STRING + FILEFLAGSMASK VS_FFI_FILEFLAGSMASK +#ifdef _DEBUG + FILEFLAGS VS_FF_DEBUG +//#else +// FILEFLAGS 0x0L +#endif + + FILEOS VOS__WINDOWS32 + FILETYPE VFT_DLL + FILESUBTYPE VFT2_UNKNOWN +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" // LOCALE_NEUTRAL<<16 + 1200 (ANSI - Unicode) + BEGIN + VALUE "Author", __AUTHOR + VALUE "FileDescription", __DESC + VALUE "InternalName", __PLUGIN_NAME + VALUE "LegalCopyright", __COPYRIGHT + VALUE "OriginalFilename", __FILENAME + VALUE "FileVersion", __VERSION_STRING + VALUE "ProductName", "Miranda IM" + VALUE "ProductVersion", __PROD_VERSION_STRING + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", /*LOCALE_NEUTRAL from WinNT.h */ 0x0, 1200 + END +END -- cgit v1.2.3