Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
telepathy-spec
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
178
Issues
178
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Telepathy
telepathy-spec
Commits
70f2e642
Commit
70f2e642
authored
Feb 04, 2014
by
Guillaume Desmottes
🐐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Logger1.xml: copy from tp-logger
Raw copy, no change yet.
parent
08d793d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
157 additions
and
0 deletions
+157
-0
spec/Logger1.xml
spec/Logger1.xml
+153
-0
spec/all.xml
spec/all.xml
+4
-0
No files found.
spec/Logger1.xml
0 → 100644
View file @
70f2e642
<?xml version="1.0" ?>
<node
name=
"/Logger"
xmlns:tp=
"http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
>
<tp:copyright>
Copyright © 2009-2011 Collabora Ltd.
</tp:copyright>
<tp:license
xmlns=
"http://www.w3.org/1999/xhtml"
>
<p>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
</p>
<p>
This library 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
Lesser General Public License for more details.
</p>
<p>
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</p>
</tp:license>
<interface
name=
"im.telepathy.v1.Logger1"
tp:causes-havoc=
"experimental"
>
<tp:added
version=
"0.3"
>
(as a draft)
</tp:added>
<tp:docstring>
An interface for requesting information from the Telepathy Logger
service.
</tp:docstring>
<method
name=
"GetFavouriteContacts"
tp:name-for-bindings=
"Get_Favourite_Contacts"
>
<arg
direction=
"out"
name=
"Favourite_Contacts"
type=
"a(oas)"
>
<tp:docstring>
The favourite contacts, as an array of TpAccounts and their contact
identifiers.
</tp:docstring>
</arg>
<tp:docstring>
Returns the favourite contacts.
</tp:docstring>
</method>
<method
name=
"AddFavouriteContact"
tp:name-for-bindings=
"Add_Favourite_Contact"
>
<arg
direction=
"in"
name=
"Account"
type=
"o"
tp:type=
"Account"
>
<tp:docstring>
The object path for the TpAccount to which the contact belongs
</tp:docstring>
</arg>
<arg
direction=
"in"
name=
"Identifier"
type=
"s"
>
<tp:docstring>
The favourite contact's identifier
</tp:docstring>
</arg>
<tp:docstring>
Add a contact's designation as a favourite.
</tp:docstring>
</method>
<method
name=
"RemoveFavouriteContact"
tp:name-for-bindings=
"Remove_Favourite_Contact"
>
<arg
direction=
"in"
name=
"Account"
type=
"o"
tp:type=
"Account"
>
<tp:docstring>
The object path for the TpAccount to which the contact belongs
</tp:docstring>
</arg>
<arg
direction=
"in"
name=
"Identifier"
type=
"s"
>
<tp:docstring>
The favourite contact's identifier
</tp:docstring>
</arg>
<tp:docstring>
Remove a contact's designation as a favourite.
</tp:docstring>
</method>
<method
name=
"Clear"
tp:name-for-bindings=
"Clear"
>
<tp:docstring>
Clear all the logs. This will not erase the favourite contacts.
</tp:docstring>
</method>
<method
name=
"ClearAccount"
tp:name-for-bindings=
"Clear_Account"
>
<arg
direction=
"in"
name=
"Account"
type=
"o"
tp:type=
"Account"
>
<tp:docstring>
The object path for the TpAccount in which logs will be cleared.
</tp:docstring>
</arg>
<tp:docstring>
Clear all logs stored for specified account.
</tp:docstring>
</method>
<method
name=
"ClearEntity"
tp:name-for-bindings=
"Clear_Entity"
>
<arg
direction=
"in"
name=
"Account"
type=
"o"
tp:type=
"Account"
>
<tp:docstring>
The object path for the TpAccount in which logs will be cleared.
</tp:docstring>
</arg>
<arg
direction=
"in"
name=
"Identifier"
type=
"s"
>
<tp:docstring>
The entity identifier.
</tp:docstring>
</arg>
<arg
direction=
"in"
name=
"Type"
type=
"i"
>
<tp:docstring>
The entity type, should be one of TPL_ENTITY_CONTACT (1) or TPL_ENTITY_ROOM (2).
</tp:docstring>
</arg>
<tp:docstring>
Clear all logs stored for discussions with entity in account.
</tp:docstring>
</method>
<signal
name=
"FavouriteContactsChanged"
tp:name-for-bindings=
"Favourite_Contacts_Changed"
>
<tp:docstring>
The set of favourite contacts has changed.
</tp:docstring>
<arg
name=
"Account"
type=
"o"
tp:type=
"Account"
>
<tp:docstring>
An account associated with the contact.
</tp:docstring>
</arg>
<arg
name=
"Added"
type=
"as"
>
<tp:docstring>
List of contact identifiers of contacts which are now favourites.
</tp:docstring>
</arg>
<arg
name=
"Removed"
type=
"as"
>
<tp:docstring>
List of contact identifiers of contacts which are no longer favourites.
</tp:docstring>
</arg>
</signal>
</interface>
</node>
<!-- vim:set sw=2 sts=2 et ft=xml: -->
spec/all.xml
View file @
70f2e642
...
...
@@ -293,6 +293,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<xi:include
href=
"Client_Interface_Requests.xml"
/>
</tp:section>
<tp:section
name=
"Logger"
>
<xi:include
href=
"Logger1.xml"
/>
</tp:section>
<xi:include
href=
"errors.xml"
/>
<xi:include
href=
"generic-types.xml"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment