From a3a512a3e5756adb9b5ec097b4e97a7c373a90bd Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 8 Jul 2002 19:01:37 +0000 Subject: New helper function. (e_folder_to_corba): Use it here. * e-folder.c (safe_corba_string_dup): New helper function. (e_folder_to_corba): Use it here. * Makefile.am (libeshell_la_SOURCES): Move e-folder.c here, from evolution_SOURCES. (eshellinclude_HEADERS): Likewise, move e-folder.h here. * evolution-storage.c (impl_Storage_getFolderAtPath): New, implementation for Evoluiton::Storage::getFolderAtPath. (evolution_storage_get_epv): Install CORBA method here. * Evolution-Storage.idl (getFolderAtPath): New method in Evolution::Storage. svn path=/trunk/; revision=17383 --- shell/Evolution-Storage.idl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shell/Evolution-Storage.idl') diff --git a/shell/Evolution-Storage.idl b/shell/Evolution-Storage.idl index dcc87ca6dd..e4ce3f1f1a 100644 --- a/shell/Evolution-Storage.idl +++ b/shell/Evolution-Storage.idl @@ -42,6 +42,12 @@ module Evolution { /* Whether the storage has folders from other user's. */ readonly attribute boolean hasSharedFolders; + + /* Get informatino for a folder. NOTE: evolutionUri in the + returned Folder is going to be an empty string if you use + this function. */ + Folder getFolderAtPath (in string path) + raises (NotFound); /* Flat list of the folders in the storage. */ readonly attribute FolderList folderList; -- cgit v1.2.3