/usr/share/idl/thunderbird/calIDeletedItems.idl is in thunderbird-dev 1:52.7.0+build1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
interface calIDateTime;
[scriptable, uuid(2414729b-37dc-456e-ba72-f9c33891e6ee)]
interface calIDeletedItems : nsISupports
{
/**
* Clean the database of all deleted items older than an internal threshold.
*/
void flush();
/**
* Gets the time the item with given id was deleted at. If passed, the
* search will be restricted to a certain calendar
*
* @param aId The ID of the item to search for.
* @param aCalId The calendar id to restrict the search to.
* @return The date/time the item was deleted, or null if not found.
*/
calIDateTime getDeletedDate(in AUTF8String aId, [optional] in AUTF8String aCalId);
};
|