diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-11 22:04:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-11 22:04:58 +0000 |
commit | 6dfb8adb67adb1c01105804e329fcd4a2b152c06 (patch) | |
tree | ab8371809437508a19ce524eef625c0e3fe89f75 /plugins | |
parent | e27c16fd6a4a1f5b1191c0fd68c53ae459df386d (diff) |
all database functions moved to m_database.h
git-svn-id: http://svn.miranda-ng.org/main/trunk@12385 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ExternalAPI/m_notify.h | 2 | ||||
-rw-r--r-- | plugins/ModernOpt/src/commonheaders.h | 1 | ||||
-rw-r--r-- | plugins/NotesAndReminders/src/globals.h | 1 | ||||
-rw-r--r-- | plugins/SimpleStatusMsg/src/commonheaders.h | 1 | ||||
-rw-r--r-- | plugins/SimpleStatusMsg/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/SkypeStatusChange/src/stdafx.h | 1 | ||||
-rw-r--r-- | plugins/StartPosition/src/Common.h | 1 | ||||
-rw-r--r-- | plugins/UserGuide/src/commonheaders.h | 1 | ||||
-rwxr-xr-x | plugins/Watrack_MPD/src/commonheaders.h | 1 | ||||
-rw-r--r-- | plugins/WinterSpeak/src/Common.h | 1 | ||||
-rw-r--r-- | plugins/mTextControl/src/headers.h | 1 |
11 files changed, 12 insertions, 1 deletions
diff --git a/plugins/ExternalAPI/m_notify.h b/plugins/ExternalAPI/m_notify.h index 91c9bf4712..27d92f842e 100644 --- a/plugins/ExternalAPI/m_notify.h +++ b/plugins/ExternalAPI/m_notify.h @@ -1,6 +1,8 @@ #ifndef __m_notify_h__
#define __m_notify_h__
+#include <m_database.h>
+
/*** Miranda Notify Dispatcher ************************************************\
Notify Dispatcher provides common interface to different notification plugins
like osd, popup, ticker etc.
diff --git a/plugins/ModernOpt/src/commonheaders.h b/plugins/ModernOpt/src/commonheaders.h index c69438e42c..186bc8226b 100644 --- a/plugins/ModernOpt/src/commonheaders.h +++ b/plugins/ModernOpt/src/commonheaders.h @@ -34,6 +34,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <win2k.h>
#include <newpluginapi.h>
+#include <m_database.h>
#include <m_utils.h>
#include <m_langpack.h>
#include <m_clistint.h>
diff --git a/plugins/NotesAndReminders/src/globals.h b/plugins/NotesAndReminders/src/globals.h index e63446f5c9..246f71d23b 100644 --- a/plugins/NotesAndReminders/src/globals.h +++ b/plugins/NotesAndReminders/src/globals.h @@ -7,6 +7,7 @@ #include <win2k.h>
#include <newpluginapi.h>
+#include <m_database.h>
#include <m_utils.h>
#include <m_clist.h>
#include <m_langpack.h>
diff --git a/plugins/SimpleStatusMsg/src/commonheaders.h b/plugins/SimpleStatusMsg/src/commonheaders.h index b709b87837..26b6c9355e 100644 --- a/plugins/SimpleStatusMsg/src/commonheaders.h +++ b/plugins/SimpleStatusMsg/src/commonheaders.h @@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <time.h>
#include <newpluginapi.h>
+#include <m_database.h>
#include <m_clistint.h>
#include <m_skin.h>
#include <m_options.h>
diff --git a/plugins/SimpleStatusMsg/src/options.cpp b/plugins/SimpleStatusMsg/src/options.cpp index a43ff3519a..73ce676ee0 100644 --- a/plugins/SimpleStatusMsg/src/options.cpp +++ b/plugins/SimpleStatusMsg/src/options.cpp @@ -942,7 +942,7 @@ INT_PTR CALLBACK DlgOptionsProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l if (data->proto_msg[j].flags & PROTO_THIS_MSG)
{
- int len = mir_tstrlen(data->proto_msg[j].msg);
+ size_t len = mir_tstrlen(data->proto_msg[j].msg);
if (len > 0)
{
if (data->proto_msg[k+1].msg == NULL)
diff --git a/plugins/SkypeStatusChange/src/stdafx.h b/plugins/SkypeStatusChange/src/stdafx.h index c144cc9082..8acc6f684e 100644 --- a/plugins/SkypeStatusChange/src/stdafx.h +++ b/plugins/SkypeStatusChange/src/stdafx.h @@ -9,6 +9,7 @@ #include <commctrl.h>
#include <newpluginapi.h>
+#include <m_database.h>
#include <m_protocols.h>
#include <m_protosvc.h>
#include <m_awaymsg.h>
diff --git a/plugins/StartPosition/src/Common.h b/plugins/StartPosition/src/Common.h index 53509894d8..b962157adc 100644 --- a/plugins/StartPosition/src/Common.h +++ b/plugins/StartPosition/src/Common.h @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <windows.h>
#include <newpluginapi.h>
+#include <m_database.h>
#include <m_langpack.h>
#include <m_utils.h>
#include <m_options.h>
diff --git a/plugins/UserGuide/src/commonheaders.h b/plugins/UserGuide/src/commonheaders.h index e698d2adc0..341ac9537d 100644 --- a/plugins/UserGuide/src/commonheaders.h +++ b/plugins/UserGuide/src/commonheaders.h @@ -3,6 +3,7 @@ #include <windows.h>
#include <newpluginapi.h>
+#include <m_database.h>
#include <m_langpack.h>
#include <m_utils.h>
#include <m_clist.h>
diff --git a/plugins/Watrack_MPD/src/commonheaders.h b/plugins/Watrack_MPD/src/commonheaders.h index 0a8fe4494a..6accba7365 100755 --- a/plugins/Watrack_MPD/src/commonheaders.h +++ b/plugins/Watrack_MPD/src/commonheaders.h @@ -21,6 +21,7 @@ #include <windows.h> #include <newpluginapi.h> +#include <m_database.h>
#include <m_netlib.h> #include <m_utils.h> #include <m_options.h> diff --git a/plugins/WinterSpeak/src/Common.h b/plugins/WinterSpeak/src/Common.h index 59763967e0..07e2c85fbf 100644 --- a/plugins/WinterSpeak/src/Common.h +++ b/plugins/WinterSpeak/src/Common.h @@ -7,6 +7,7 @@ #include <newpluginapi.h>
#include <m_langpack.h>
+#include <m_database.h>
#include <m_genmenu.h>
#include <m_utils.h>
#include <win2k.h>
diff --git a/plugins/mTextControl/src/headers.h b/plugins/mTextControl/src/headers.h index c9eaed3639..3d81d9245e 100644 --- a/plugins/mTextControl/src/headers.h +++ b/plugins/mTextControl/src/headers.h @@ -33,6 +33,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include <textserv.h>
#include <newpluginapi.h>
+#include <m_database.h>
#include <m_langpack.h>
#include <m_utils.h>
|