From 3c0233134bc5a8e42e3a621f0a5eef2aaf487474 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 17 Nov 2011 12:37:21 +0000 Subject: adding from berlios: dbx_tree, lastseen-mod, nudge, yamn git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@173 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- dbx_tree/Services.h | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 dbx_tree/Services.h (limited to 'dbx_tree/Services.h') diff --git a/dbx_tree/Services.h b/dbx_tree/Services.h new file mode 100644 index 0000000..0d75552 --- /dev/null +++ b/dbx_tree/Services.h @@ -0,0 +1,69 @@ +/* + +dbx_tree: tree database driver for Miranda IM + +Copyright 2007-2010 Michael "Protogenes" Kunz, + +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. + +*/ + +#pragma once + +#include "Interface.h" +#include "DataBase.h" + +bool RegisterServices(); + + +INT_PTR DBEntityGetRoot(WPARAM wParam, LPARAM lParam); +INT_PTR DBEntityChildCount(WPARAM hEntity, LPARAM lParam); +INT_PTR DBEntityGetParent(WPARAM hEntity, LPARAM lParam); +INT_PTR DBEntityMove(WPARAM hEntity, LPARAM hParent); +INT_PTR DBEntityGetFlags(WPARAM hEntity, LPARAM lParam); +INT_PTR DBEntityIterInit(WPARAM pFilter, LPARAM hParent); +INT_PTR DBEntityIterNext(WPARAM hIteration, LPARAM lParam); +INT_PTR DBEntityIterClose(WPARAM hIteration, LPARAM lParam); +INT_PTR DBEntityDelete(WPARAM hEntity, LPARAM lParam); +INT_PTR DBEntityCreate(WPARAM pEntity, LPARAM lParam); +INT_PTR DBEntityGetAccount(WPARAM hEntity, LPARAM lParam); + +INT_PTR DBVirtualEntityCreate(WPARAM hEntity, LPARAM hParent); +INT_PTR DBVirtualEntityGetParent(WPARAM hVirtualEntity, LPARAM lParam); +INT_PTR DBVirtualEntityGetFirst(WPARAM hEntity, LPARAM lParam); +INT_PTR DBVirtualEntityGetNext(WPARAM hVirtualEntity, LPARAM lParam); + +INT_PTR DBSettingFind(WPARAM pSettingDescriptor, LPARAM lParam); +INT_PTR DBSettingDelete(WPARAM pSettingDescriptor, LPARAM lParam); +INT_PTR DBSettingDeleteHandle(WPARAM hSetting, LPARAM lParam); +INT_PTR DBSettingWrite(WPARAM pSetting, LPARAM lParam); +INT_PTR DBSettingWriteHandle(WPARAM pSetting, LPARAM hSetting); +INT_PTR DBSettingRead(WPARAM pSetting, LPARAM lParam); +INT_PTR DBSettingReadHandle(WPARAM pSetting, LPARAM hSetting); +INT_PTR DBSettingIterInit(WPARAM pFilter, LPARAM lParam); +INT_PTR DBSettingIterNext(WPARAM hIteration, LPARAM lParam); +INT_PTR DBSettingIterClose(WPARAM hIteration, LPARAM lParam); + +INT_PTR DBEventGetBlobSize(WPARAM hEvent, LPARAM lParam); +INT_PTR DBEventGet(WPARAM hEvent, LPARAM pEvent); +INT_PTR DBEventGetCount(WPARAM hEntity, LPARAM lParam); +INT_PTR DBEventDelete(WPARAM hEvent, LPARAM lParam); +INT_PTR DBEventAdd(WPARAM hEntity, LPARAM pEvent); +INT_PTR DBEventMarkRead(WPARAM hEvent, LPARAM lParam); +INT_PTR DBEventWriteToDisk(WPARAM hEvent, LPARAM lParam); +INT_PTR DBEventGetEntity(WPARAM hEvent, LPARAM lParam); +INT_PTR DBEventIterInit(WPARAM pFilter, LPARAM lParam); +INT_PTR DBEventIterNext(WPARAM hIteration, LPARAM lParam); +INT_PTR DBEventIterClose(WPARAM hIteration, LPARAM lParam); -- cgit v1.2.3