diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-27 05:29:06 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-27 05:29:06 +0000 |
commit | 9f5f3d03bbbaddc45e69c44f5e37fb5b324e03ef (patch) | |
tree | 46d32f7ff4a4347ab83a62df014538d728408ec7 /plugins/Clist_blind/src/stdafx.h | |
parent | 80a0da76eb4d30ffb40374587b3d675052edfc64 (diff) |
Clist_blind common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13187 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_blind/src/stdafx.h')
-rw-r--r-- | plugins/Clist_blind/src/stdafx.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/plugins/Clist_blind/src/stdafx.h b/plugins/Clist_blind/src/stdafx.h new file mode 100644 index 0000000000..122cd16ca1 --- /dev/null +++ b/plugins/Clist_blind/src/stdafx.h @@ -0,0 +1,61 @@ +/*
+
+Miranda NG: the free IM client for Microsoft* Windows*
+
+Copyright (ñ) 2012-15 Miranda NG project (http://miranda-ng.org)
+Copyright (c) 2000-05 Miranda ICQ/IM project,
+all portions of this codebase are copyrighted to the people
+listed in contributors.txt.
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+
+#include <windows.h>
+#include <vssym32.h>
+#include <Uxtheme.h>
+
+#include <newpluginapi.h>
+#include <m_clistint.h>
+#include <m_clui.h>
+#include <m_database.h>
+#include <m_langpack.h>
+#include <m_options.h>
+#include <m_protosvc.h>
+#include <win2k.h>
+
+#include "resource.h"
+#include "Version.h"
+
+struct ClcContact : public ClcContactBase {};
+
+struct ClcData : public ClcDataBase
+{
+ HWND hwnd_list;
+ BOOL need_rebuild;
+};
+
+// shared vars
+extern HINSTANCE g_hInst;
+extern CLIST_INTERFACE coreCli;
+
+/* most free()'s are invalid when the code is executed from a dll, so this changes
+ all the bad free()'s to good ones, however it's still incorrect code. The reasons for not
+ changing them include:
+
+ * db_free has a CallService() lookup
+ * free() is executed in some large loops to do with clist creation of group data
+ * easy search and replace
+
+*/
|