diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-05 15:39:50 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-05 15:39:50 +0000 |
commit | 357af8c5a3cf922818ee014a8f2b54a799917eea (patch) | |
tree | 2ed1b38f979d7b3991f9ca9a4103347f2fddfe62 /plugins/CountryFlags | |
parent | a039e3378554f4f7b12a38722f72dfded2f4b277 (diff) |
removed old PLUGININFO. plugin info cleanup starts
git-svn-id: http://svn.miranda-ng.org/main/trunk@312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CountryFlags')
-rw-r--r-- | plugins/CountryFlags/main.c | 27 | ||||
-rw-r--r-- | plugins/CountryFlags/version.h | 3 |
2 files changed, 2 insertions, 28 deletions
diff --git a/plugins/CountryFlags/main.c b/plugins/CountryFlags/main.c index 5496f0fdbd..cb2f36b2e8 100644 --- a/plugins/CountryFlags/main.c +++ b/plugins/CountryFlags/main.c @@ -26,30 +26,20 @@ struct MM_INTERFACE mmi; int nCountriesCount;
struct CountryListEntry *countries;
int hLangpack;
-static char szEmail[100] = PLUGIN_EMAIL;
static PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
"Country Flags",
PLUGIN_VERSION,
-#if defined(_DEBUG)
- "Development build not intended for release. ("__DATE__")", /* autotranslated */
-#else
"Service offering misc country utilities as flag icons and a IP-to-Country database.", /* autotranslated */
-#endif
"H. Herkenrath",
- szEmail, /* @ will be set later */
+ "hrathh@users.sourceforge.net",
"© 2006-2007 H. Herkenrath",
PLUGIN_WEBSITE,
UNICODE_AWARE,
0,
-#if defined(_UNICODE)
// {68C36842-3D95-4f4a-AB81-014D6593863B}
- {0x68c36842,0x3d95,0x4f4a,{0xab,0x81,0x1,0x4d,0x65,0x93,0x86,0x3b}},
-#else
- // {E0C4681C-E680-4262-8B44-7A9540C064FF}
- {0xe0c4681c,0xe680,0x4262,{0x8b,0x44,0x7a,0x95,0x40,0xc0,0x64,0xff}}
-#endif
+ {0x68c36842,0x3d95,0x4f4a,{0xab,0x81,0x1,0x4d,0x65,0x93,0x86,0x3b}}
};
static const MUUID interfaces[]={MIID_FLAGS,MIID_LAST};
@@ -96,21 +86,8 @@ static void InstallFile(const TCHAR *pszFileName,const TCHAR *pszDestSubDir) extern "C" {
#endif
-__declspec(dllexport) const PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
-{
- if(mirandaVersion<PLUGIN_MAKE_VERSION(0,1,0,1)) return NULL;
- pluginInfo.cbSize=sizeof(PLUGININFO); /* needed as v0.6 does equality check */
- /* email obfuscated, made .rdata writable */
- szEmail[PLUGIN_EMAIL_ATT_POS-1] = '@';
- return (PLUGININFO*)&pluginInfo; /* header is the same */
-}
-
__declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
- UNREFERENCED_PARAMETER(mirandaVersion);
- pluginInfo.cbSize=sizeof(PLUGININFOEX);
- /* email obfuscated, made .rdata writable */
- szEmail[PLUGIN_EMAIL_ATT_POS-1] = '@';
return &pluginInfo;
}
diff --git a/plugins/CountryFlags/version.h b/plugins/CountryFlags/version.h index b1c58f55cc..9154d087e9 100644 --- a/plugins/CountryFlags/version.h +++ b/plugins/CountryFlags/version.h @@ -28,9 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define FILE_VERSION_STR "0.1.0.3"
#endif
-#define PLUGIN_EMAIL "hrathh users.sourceforge.net"
-#define PLUGIN_EMAIL_ATT_POS 7 /* position of the @-sign in the email adress above */
-
#ifdef _UNICODE
#define PLUGIN_WEBSITE "http://addons.miranda-im.org/details.php?action=viewfile&id=3463"
#else
|