From 860c0a75da2c97bc1e91ed3b4bb958cb7e3cb934 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Thu, 24 Feb 2011 13:46:11 +0000 Subject: Update the Logger dbus API for the new version --- extensions/Logger.xml | 114 +++++++++++++++++++++----------------------------- 1 file changed, 47 insertions(+), 67 deletions(-) diff --git a/extensions/Logger.xml b/extensions/Logger.xml index a3778296d..cf5e067dc 100644 --- a/extensions/Logger.xml +++ b/extensions/Logger.xml @@ -1,7 +1,7 @@ - Copyright © 2009 Collabora Ltd. + Copyright © 2009-2011 Collabora Ltd.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -19,78 +19,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - (as a draft) + (as a draft) An interface for requesting information from the Telepathy Logger service. - - - - The identifier of the contact who originated this message. - - - - - - The body of the message sent to a 1-1 Chat or a Chat Room. - - - - - - Unix timestamp for the log entry - - - - -

It represents a single message, received or sent.

-

The receiver is implicit in the request: if the sender is the user, - the receiver is the identifier in chat_id paramenter, if the sender is - not the user, the user is consequently the receiver of the message

- - - - - - - The account path for the TpAccount to which the conversation is related - - - - - - The buddy's identifier for the conversation - - - - - - Whether the conversation is a chatroom (i.e., XMPP MUC) or not - - - - - - how many entries will be returned. - - NOTE: to retreive information that would generate high traffic, use - the library API approach instead of DBus. - - - - - - - Request the last Lines entries of logs for the specified couple - Account+Identifier. - - - @@ -149,6 +84,51 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + + Clear all the logs. This will not erase the favourite contacts. + + + + + + + The object path for the TpAccount in which logs will be cleared. + + + + + Clear all logs stored for specified account. + + + + + + + The object path for the TpAccount in which logs will be cleared. + + + + + + The entity identifier. + + + + + + The entity type, should be one of TPL_ENTITY_CONTACT (1) or TPL_ENTITY_ROOM (2). + + + + + Clear all logs stored for discussions with entity in account. + + + -- cgit v1.2.3