From b41e007b3cc5cd3cdba4f06237d0d5ccd0585ca3 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 12 Jun 2014 20:40:18 +0000 Subject: changed header name git-svn-id: http://svn.miranda-ng.org/main/trunk@9446 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/delphi/m_dbeditor.inc | 20 -------------- plugins/ExternalAPI/delphi/m_dbeditorpp.inc | 20 ++++++++++++++ plugins/ExternalAPI/m_dbeditorpp.h | 42 +++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 20 deletions(-) delete mode 100644 plugins/ExternalAPI/delphi/m_dbeditor.inc create mode 100644 plugins/ExternalAPI/delphi/m_dbeditorpp.inc create mode 100644 plugins/ExternalAPI/m_dbeditorpp.h (limited to 'plugins') diff --git a/plugins/ExternalAPI/delphi/m_dbeditor.inc b/plugins/ExternalAPI/delphi/m_dbeditor.inc deleted file mode 100644 index e6e9a0c5c8..0000000000 --- a/plugins/ExternalAPI/delphi/m_dbeditor.inc +++ /dev/null @@ -1,20 +0,0 @@ -{$IFNDEF M_DBEDITOR} -{$DEFINE M_DBEDITOR} - -const -{ - wParam: hContact - lParam: 0 - Affect: Open user tree in DBE++ -} - MS_DBEDIT_MENUCOMMAND:PAnsiChar = 'DBEditorpp/MenuCommand'; - -{ - Import settings\contacts from file - wParam=(HANDLE)hContact - lParam=(char*)FilePath - always returns 0 -} - MS_DBEDIT_IMPORT:PAnsiChar = 'DBEditorpp/Import'; - -{$ENDIF} diff --git a/plugins/ExternalAPI/delphi/m_dbeditorpp.inc b/plugins/ExternalAPI/delphi/m_dbeditorpp.inc new file mode 100644 index 0000000000..e6e9a0c5c8 --- /dev/null +++ b/plugins/ExternalAPI/delphi/m_dbeditorpp.inc @@ -0,0 +1,20 @@ +{$IFNDEF M_DBEDITOR} +{$DEFINE M_DBEDITOR} + +const +{ + wParam: hContact + lParam: 0 + Affect: Open user tree in DBE++ +} + MS_DBEDIT_MENUCOMMAND:PAnsiChar = 'DBEditorpp/MenuCommand'; + +{ + Import settings\contacts from file + wParam=(HANDLE)hContact + lParam=(char*)FilePath + always returns 0 +} + MS_DBEDIT_IMPORT:PAnsiChar = 'DBEditorpp/Import'; + +{$ENDIF} diff --git a/plugins/ExternalAPI/m_dbeditorpp.h b/plugins/ExternalAPI/m_dbeditorpp.h new file mode 100644 index 0000000000..d728de9ddc --- /dev/null +++ b/plugins/ExternalAPI/m_dbeditorpp.h @@ -0,0 +1,42 @@ +/* + +Miranda NG: the free IM client for Microsoft* Windows* + +Copyright (c) 2012-14 Miranda NG project (http://miranda-ng.org), +Copyright (c) 2003-11 Bio, Jonathan Gordon + +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. +*/ + +#ifndef M_DBEDITOR +#define M_DBEDITOR + +/* +Open user tree in DBE++ +wParam=(HANDLE)hContact +lParam=0 +always returns 0 +*/ +#define MS_DBEDIT_MENUCOMMAND "DBEditorpp/MenuCommand" + +/* +Import settings\contacts from file +wParam=(HANDLE)hContact +lParam=(char*)FilePath +always returns 0 +*/ +#define MS_DBEDIT_IMPORT "DBEditorpp/Import" + +#endif \ No newline at end of file -- cgit v1.2.3