summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/aim.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-03 15:16:59 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-03 15:16:59 +0000
commit4fa696b9543d75bc455ae3c5e1fa832f517a62a0 (patch)
treeb645e50d56a6d81e02b5f80fcc54e7a2595e4b4f /protocols/AimOscar/src/aim.cpp
parente4638514cc2346378e5d47c7911b8d2156d3f92b (diff)
removed not used icon
standard plugin description and version info git-svn-id: http://svn.miranda-ng.org/main/trunk@2928 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/aim.cpp')
-rw-r--r--protocols/AimOscar/src/aim.cpp21
1 files changed, 10 insertions, 11 deletions
diff --git a/protocols/AimOscar/src/aim.cpp b/protocols/AimOscar/src/aim.cpp
index c619194e18..4af78fae52 100644
--- a/protocols/AimOscar/src/aim.cpp
+++ b/protocols/AimOscar/src/aim.cpp
@@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "aim.h"
-#include "version.h"
char AIM_CAP_MIRANDA[16] = "MirandaA";
@@ -37,7 +36,6 @@ OBJLIST<CAimProto> g_Instances(1, sttCompareProtocols);
/////////////////////////////////////////////////////////////////////////////////////////
// Dll entry point
-extern "C"
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD /*fdwReason*/,LPVOID /*lpvReserved*/)
{
hInstance = hinstDLL;
@@ -50,21 +48,22 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD /*fdwReason*/,LPVOID /*lpvReserved*
static const PLUGININFOEX pluginInfo =
{
sizeof(PLUGININFOEX),
- "AIM Protocol",
- __VERSION_DWORD,
- "Provides support for AOL Instant Messenger (AIM) protocol.",
- "Boris Krasnovskiy, Aaron Myles Landwehr",
- "borkra@miranda-im.org",
- "© 2008-2011 Boris Krasnovskiy, 2005-2006 Aaron Myles Landwehr",
- "http://miranda-ng.org/",
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
- {0x3750a5a3, 0xbf0d, 0x490e, {0xb6, 0x5d, 0x41, 0xac, 0x4d, 0x29, 0xae, 0xb3}} // {3750A5A3-BF0D-490e-B65D-41AC4D29AEB3}
+ // {3750A5A3-BF0D-490e-B65D-41AC4D29AEB3}
+ {0x3750a5a3, 0xbf0d, 0x490e, {0xb6, 0x5d, 0x41, 0xac, 0x4d, 0x29, 0xae, 0xb3}}
};
extern "C" __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
*(unsigned long*)(&AIM_CAP_MIRANDA[8]) = _htonl(mirandaVersion);
- *(unsigned long*)(&AIM_CAP_MIRANDA[12]) = _htonl(__VERSION_DWORD);
+ *(unsigned long*)(&AIM_CAP_MIRANDA[12]) = _htonl(PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM));
return &pluginInfo;
}