diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:55:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:55:43 +0000 |
commit | a28ecf67e43b45f0a4d9787f2eb96de6be0f0b85 (patch) | |
tree | 7758ddda4e733368852ec0e1edf9bea5f5878687 /protocols/AimOscar | |
parent | 2c9a9bfed50529645b5b0d5602b2a94b0b5ef900 (diff) |
unified project for Dummy protocol
git-svn-id: http://svn.miranda-ng.org/main/trunk@13183 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar')
-rw-r--r-- | protocols/AimOscar/aim.vcxproj.filters | 153 | ||||
-rw-r--r-- | protocols/AimOscar/src/services.cpp | 6 | ||||
-rw-r--r-- | protocols/AimOscar/src/ui.cpp | 4 | ||||
-rw-r--r-- | protocols/AimOscar/src/utility.cpp | 6 |
4 files changed, 8 insertions, 161 deletions
diff --git a/protocols/AimOscar/aim.vcxproj.filters b/protocols/AimOscar/aim.vcxproj.filters index d16759a29f..de5ad9f66c 100644 --- a/protocols/AimOscar/aim.vcxproj.filters +++ b/protocols/AimOscar/aim.vcxproj.filters @@ -1,155 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{bb4de2c0-924f-4214-adcd-e1cd6b682aea}</UniqueIdentifier>
- <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{ba3c9a35-574e-4e16-a2c9-c354f38b35a5}</UniqueIdentifier>
- <Extensions>ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{81bc3e1e-e322-4c6c-a73b-fbe6746178a6}</UniqueIdentifier>
- <Extensions>h;hpp;hxx;hm;inl</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="src\aim.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\avatars.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\away.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\chat.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\client.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\connection.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\conv.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\direct_connect.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\error.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\file.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\flap.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\links.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\packets.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\popup.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\proto.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\proxy.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\server.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\services.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\snac.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\theme.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\thread.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\tlv.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\ui.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\utility.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\stdafx.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="res\aim.rc">
- <Filter>Resource Files</Filter>
- </ResourceCompile>
- <ResourceCompile Include="res\version.rc">
- <Filter>Resource Files</Filter>
- </ResourceCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="src\aim.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\avatars.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\conv.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\direct_connect.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\file.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\flap.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\links.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\packets.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\proto.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\proxy.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\resource.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\snac.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\theme.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\tlv.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\ui.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\utility.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\version.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- </ItemGroup>
+ <Import Project="$(ProjectDir)..\..\build\vc.common\common.filters" />
</Project>
\ No newline at end of file diff --git a/protocols/AimOscar/src/services.cpp b/protocols/AimOscar/src/services.cpp index 8e7c2c75db..886e001ef3 100644 --- a/protocols/AimOscar/src/services.cpp +++ b/protocols/AimOscar/src/services.cpp @@ -62,7 +62,7 @@ int CAimProto::OnIdleChanged(WPARAM, LPARAM lParam) return 0;
}
-int CAimProto::OnWindowEvent(WPARAM wParam, LPARAM lParam)
+int CAimProto::OnWindowEvent(WPARAM, LPARAM lParam)
{
MessageWindowEventData* msgEvData = (MessageWindowEventData*)lParam;
@@ -85,7 +85,7 @@ int CAimProto::OnWindowEvent(WPARAM wParam, LPARAM lParam) return 0;
}
-INT_PTR CAimProto::GetProfile(WPARAM wParam, LPARAM lParam)
+INT_PTR CAimProto::GetProfile(WPARAM wParam, LPARAM)
{
if (state != 1)
return 0;
@@ -429,7 +429,7 @@ INT_PTR CAimProto::GetAvatar(WPARAM wParam, LPARAM lParam) return -1;
}
-INT_PTR CAimProto::SetAvatar(WPARAM wParam, LPARAM lParam)
+INT_PTR CAimProto::SetAvatar(WPARAM, LPARAM lParam)
{
TCHAR* szFileName = (TCHAR*)lParam;
diff --git a/protocols/AimOscar/src/ui.cpp b/protocols/AimOscar/src/ui.cpp index c846ab9574..e38ebfe9b6 100644 --- a/protocols/AimOscar/src/ui.cpp +++ b/protocols/AimOscar/src/ui.cpp @@ -1128,7 +1128,7 @@ static INT_PTR CALLBACK privacy_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LP }
-int CAimProto::OnOptionsInit(WPARAM wParam,LPARAM lParam)
+int CAimProto::OnOptionsInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 1003000;
@@ -1209,7 +1209,7 @@ INT_PTR CALLBACK first_run_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM return FALSE;
}
-INT_PTR CAimProto::SvcCreateAccMgrUI(WPARAM wParam, LPARAM lParam)
+INT_PTR CAimProto::SvcCreateAccMgrUI(WPARAM, LPARAM lParam)
{
return (INT_PTR)CreateDialogParam (hInstance, MAKEINTRESOURCE(IDD_AIMACCOUNT),
(HWND)lParam, first_run_dialog, (LPARAM)this);
diff --git a/protocols/AimOscar/src/utility.cpp b/protocols/AimOscar/src/utility.cpp index 7480917b4c..499ab43c8a 100644 --- a/protocols/AimOscar/src/utility.cpp +++ b/protocols/AimOscar/src/utility.cpp @@ -85,10 +85,8 @@ void CAimProto::broadcast_status(int status) ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
}
-void CAimProto::start_connection(void *arg)
+void CAimProto::start_connection(void*)
{
- int status = (int)arg;
-
if (m_iStatus<=ID_STATUS_OFFLINE)
{
offline_contacts();
@@ -539,7 +537,7 @@ int CAimProto::deleteGroupId(MCONTACT hContact, int i) /////////////////////////////////////////////////////////////////////////////////////////
-int CAimProto::open_contact_file(const char* sn, const TCHAR* file, const char* mode, TCHAR* &path, bool contact_dir)
+int CAimProto::open_contact_file(const char*, const TCHAR* file, const char*, TCHAR* &path, bool contact_dir)
{
path = (TCHAR*)mir_alloc(MAX_PATH * sizeof(TCHAR));
|