summaryrefslogtreecommitdiff
path: root/plugins/FileAsMessage/src/main.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-24 13:54:34 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-24 13:54:34 +0000
commit6d48c17d8555d18288c26967d8c013de36fce676 (patch)
treea18d0b55ed96e6650ea13db3a5fa4f3e529703fe /plugins/FileAsMessage/src/main.cpp
parentb5f57615680d9cf6d8fd890df48efb71fa4bc299 (diff)
added precompiled header
added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3751 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FileAsMessage/src/main.cpp')
-rw-r--r--plugins/FileAsMessage/src/main.cpp24
1 files changed, 11 insertions, 13 deletions
diff --git a/plugins/FileAsMessage/src/main.cpp b/plugins/FileAsMessage/src/main.cpp
index 23170b405f..3c6d397aef 100644
--- a/plugins/FileAsMessage/src/main.cpp
+++ b/plugins/FileAsMessage/src/main.cpp
@@ -3,16 +3,16 @@
PLUGININFOEX pluginInfo =
{
sizeof(PLUGININFOEX),
- SERVICE_TITLE,
- PLUGIN_MAKE_VERSION( 0,0,2,4 ),
- "File tranfer by using the messaging services - as plain text.",
- "Denis Stanishevskiy // StDenis",
- "stdenformiranda(at)fromru(dot)com",
- "Copyright (c) 2004, Denis Stanishevskiy",
- PLUGIN_URL,
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
// {34B5A402-1B79-4246-B041-43D0B590AE2C}
- { 0x34b5a402, 0x1b79, 0x4246, { 0xb0, 0x41, 0x43, 0xd0, 0xb5, 0x90, 0xae, 0x2c } }
+ {0x34b5a402, 0x1b79, 0x4246, {0xb0, 0x41, 0x43, 0xd0, 0xb5, 0x90, 0xae, 0x2c}}
};
HANDLE hFileList;
@@ -23,8 +23,6 @@ char *szServiceTitle = SERVICE_TITLE;
char *szServicePrefix = SERVICE_PREFIX;
HANDLE hHookDbSettingChange, hHookContactAdded, hHookSkinIconsChanged;
-extern INT_PTR CALLBACK OptionsDlgProc( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );
-
HICON hIcons[5];
static IconItem iconList[] =
@@ -119,7 +117,7 @@ INT_PTR OnSendFile(WPARAM wParam, LPARAM lParam)
return 1;
}
-INT_PTR OnRecvMessage( WPARAM wParam, LPARAM lParam )
+INT_PTR OnRecvMessage(WPARAM wParam, LPARAM lParam)
{
CCSDATA *pccsd = (CCSDATA *)lParam;
PROTORECVEVENT *ppre = ( PROTORECVEVENT * )pccsd->lParam;
@@ -241,8 +239,8 @@ extern "C" __declspec(dllexport) int Unload(void)
//
// DllMain()
//
-int WINAPI DllMain( HINSTANCE hInstance, DWORD dwReason, LPVOID pReserved )
+int WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID pReserved)
{
hInst = hInstance;
- return 1;
+ return TRUE;
}