aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Storage.idl
blob: a0cf16a30380ef91568520d36f91321f2bdb0a7f (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Storage interface for the Evolution shell.
 *
 * Authors:
 *   Ettore Perazzoli <ettore@helixcode.com>
 *
 * Copyright (C) 2000 Helix Code, Inc.
 */

#include <Bonobo.h>

module GNOME {
module Evolution {
    struct Folder {
        string type;
        string description;
        string display_name;
        string physical_uri;
        boolean highlighted;
    };

    interface Storage;
    interface StorageListener;

    interface Storage : Bonobo::Unknown {
        exception AlreadyListening {};
        exception NotFound {};

        attribute string name;

        enum Result {
            OK,
            UNSUPPORTED_OPERATION,
            UNSUPPORTED_TYPE,
            INVALID_URI,
            ALREADY_EXISTS,
            DOES_NOT_EXIST,
            PERMISSION_DENIED,
            NO_SPACE,
            NOT_EMPTY,
            GENERIC_ERROR
        };

        struct FolderResult {
            Result result;
            string path;
        };

        void asyncCreateFolder (in string path,
                    in string type,
                    in string description,
                    in string parent_physical_uri,
                    in Bonobo::Listener listener);

        void asyncRemoveFolder (in string path,
                    in string physical_uri,
                    in Bonobo::Listener listener);

        void addListener       (in StorageListener listener)
            raises (AlreadyListening);

        void removeListener    (in StorageListener listener)
            raises (NotFound);
    };

    interface StorageListener {
        exception Exists {};
        exception NotFound {};

        void notifyDestroyed ();

        /* FIXME exceptions don't make much sense here...  */

        void notifyFolderCreated (in string  path,
                      in Folder  folder)
            raises (Exists);
        
        void notifyFolderUpdated (in string  path,
                      in string  display_name,
                      in boolean highlighted)
            raises (NotFound);

        void notifyFolderRemoved (in string  path)
            raises (NotFound);
    };

    interface StorageRegistry : Bonobo::Unknown {
        exception Exists {};
        exception NotFound {};

        /* FIXME: The toplevel attributes should probably be attributes
                   of the storage instead of being passed here.  */
        StorageListener addStorage (in Storage storage,
                        in string name,
                        in string toplevel_node_uri,
                        in string toplevel_node_type)
            raises (Exists);

        void removeStorageByName (in string name)
            raises (NotFound);
    };
};
};
c1b16cfa15'>Remove expired ports:rene2015-02-031-1/+0 * Remove expired ports:rene2015-01-291-3/+0 * Adding audio/filter_audio, to be used by net-im/qTox.thierry2015-01-151-0/+1 * Add bcg729-1.0.0, a software G729A encoder and decoder library written in C.sobomax2015-01-131-0/+1 * Update audio/speex to 1.2rc2. One of the libraries has been split off intotijl2015-01-091-0/+1 * Big Gstreamer update:kwm2014-12-161-0/+1 * Remove expired ports:rene2014-11-291-1/+0 * The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2.kwm2014-11-191-0/+1 * Remove expired port:rene2014-11-151-1/+0 * Initial import of py-gmusicapiriggs2014-11-091-0/+1 * Remove a useless meta portbapt2014-10-201-1/+0 * Remove duplicate lineantoine2014-09-221-1/+0 * Update CentOS base to 6.5, add userland portsxmj2014-09-221-0/+18 * Remove expired portsrene2014-09-201-2/+0 * Remove 4 (mostly) unstaged freeswitch portsmarino2014-09-071-2/+0 * Remove non staged ports without pending PR from audiobapt2014-09-011-7/+0 * Siren is a text-based audio player for UNIX-like operating systems. Itolivierd2014-08-281-0/+1 * - Add py3-pylast 0.5.11kmoore2014-07-251-0/+1 * - Introduce new port: audio/hydrogen-develriggs2014-07-191-0/+1 * Remove expired ports:rene2014-07-151-2/+0 * Remove expired port:rene2014-07-141-1/+0 * Remove expired portsbapt2014-07-071-1/+0 * Remove expired ports:rene2014-06-301-4/+0 * QmidiNet is a MIDI network gateway application that sends and receivescrees2014-06-291-0/+1 * - Remove audio/libshout2sunpoet2014-05-051-1/+0 * - New port: audio/libgroovegahr2014-05-021-0/+1 * - New port: audio/libebur128gahr2014-05-021-0/+1 * Remove expired ports:rene2014-04-291-2/+0 * Remove a broken for long and not working with any modern compiler portbapt2014-04-291-1/+0 * audio/py-eyed3: update to 0.7.4 (backwards incompatible branch)rm2014-04-211-0/+1 * Add audio/idjc, audio/shout-idjcgjb2014-04-171-0/+1 * Add audio/idjc, audio/shout-idjcgjb2014-04-171-0/+1 * 2014-04-10 deskutils/nautilus-locked-folder: nautilus will be updated to the ...bapt2014-04-111-1/+0 * Resurrect audio/xmms-faad, an MP4/AAC input plugin for XMMS.naddy2014-04-111-0/+1 * Terminal based MP3 search, playback and download.nivit2014-04-091-0/+1 * Remove expired port:antoine2014-04-091-1/+0 * Remove expired ports:rene2014-03-301-2/+0 * Remove expired ports:rene2014-03-281-1/+0 * Remove some expired xmms ports (abandonware, unmaintained):antoine2014-03-231-25/+0 * Remove expired ports:rene2014-03-101-1/+0 * Remove some expired ports:rene2014-03-101-2/+0 * Move libmtp from audio to multimedia.gerald2014-03-101-1/+0 * Remove expired ports with no active website:rene2014-03-081-3/+0 * Remove expired port:rene2014-03-061-1/+0 * Remove expired port:rene2014-03-061-1/+0 * Remove expired ports:rene2014-03-061-9/+0 * Add audio/kid3-qt5: Qt 5 version of kid3makc2014-03-041-0/+1 * Assorted utilities for manipulating MP3 files via MP3::Tag.culot2014-03-021-0/+1 * Remove expired port:rene2014-02-081-1/+0 * - Remove audio/gsi, abandonware not developed in the last 13 yearsgahr2014-01-301-1/+0 * - Keep category Makefiles sortedamdmi32014-01-281-3/+3 * Add new port audio/opusfile:makc2014-01-281-0/+1 * Add new port audio/libsidplayfp:makc2014-01-281-0/+1 * - Copy from audio/csound and apply the patch. The API of the version 6 of cso...danilo2014-01-111-0/+1 * Remove expired ports:rene2013-12-011-1/+0 * - Respect upstream naming: rename rubygem-ogginfo to rubygem-ruby-ogginfosunpoet2013-11-301-1/+1 * Remove expired port:rene2013-11-301-1/+0 * Rename audio/mpc to audio/musicpc to avoid a package name conflictgerald2013-11-261-1/+1 * audio/icecast-kh: a fork of icecast2 project stable and extended with many fe...alexey2013-11-241-0/+1 * Say hello to Mate 1.6.kwm2013-11-231-0/+1 * Update to 1.2.1.kwm2013-11-221-1/+0 * remove graphics/gqview-devel - no active development since 8 yearsoliver2013-11-171-1/+0 * - Update to 3.0.1makc2013-11-131-0/+1 * Remove audio/akode*. This was part of KDE 3.x.tijl2013-10-181-9/+0 * 2013-10-10 audio/ruby-vorbisfile: Does not work with Ruby 1.9tabthorpe2013-10-111-2/+0 * Remove yamt, it is unmaintained and depends on gnome1 librariesbapt2013-10-071-1/+0 * No public distfiles available anymore, pkgname conflict with sysutils/trackerbapt2013-10-021-1/+0 * Remove unsupported and old ices0 (consider using audio/ices if you need the f...bapt2013-09-161-1/+0 * - Disconnect ports removed in r325546bdrewery2013-08-291-1/+0 * Remove expired ports:rene2013-08-111-1/+0 * Chase audio/arts removalbapt2013-07-271-1/+0 * KDE3 and QT3 expired on 2013-07-01, remove these ports.rene2013-07-271-16/+0 * Add py-discogs-client 1.1.1, python interface to Discogs website.feld2013-07-131-0/+1 * Remove expired ports:rene2013-07-101-1/+0 * Welcome SDL2 to the FreeBSD ports system!mva2013-06-221-0/+1 * Restore ventrilo-server, which has been removed by mistake (distfile is still...bapt2013-06-061-0/+1 * Remove expired ports:rene2013-06-031-1/+0 * - Finish removal of support for Linux 2.4 in bsd.linux-apps.mk andrene2013-05-301-12/+0 * audio/id3ren: Resurrect; it lives on github now.crees2013-05-211-0/+1 * 2013-05-20 audio/gogo-petit: No more public distfilesrene2013-05-201-1/+0 * Remove gstreamer1-plugins-pulse. It is not here yet.kwm2013-04-291-1/+0 * Add Gstreamer 1.0.7. This is the new stable version of thekwm2013-04-281-0/+26 * PyAL is a wrapper around the OpenAL library and as such similar to themva2013-04-261-0/+1 * Enhance your listening experience, stay up-to-date with what your friends arepawel2013-04-201-0/+1 * Remove expired ports:rene2013-04-181-1/+0 * Add new port audio/lua51-mpd, a Lua client library for MPD,mandree2013-03-271-0/+1 * A Python interface to Last.fm (and other API compatible social networks)swills2013-03-251-0/+1 * Tkeca is a TCL/TK frontend for Kai Vehmanen's ECASOUND.crees2013-03-231-0/+1 * Add opus audio codec gstreamer plugin.kwm2013-03-231-0/+1 * Russian male voice for festival.fluffy2013-03-191-0/+1 * Tomahawk is a music player that fundamentally changes the way music isnivit2013-03-071-0/+1 * libechonest is a collection of C++/Qt classes designed to make a developer'snivit2013-03-071-0/+1 * Basic GUI for Microsoft's Media Transfer Protocol (MTP)madpilot2013-03-071-0/+1 * Rename laudio to linux-laudio as it is Linux binary port, and clean it up.danfe2013-02-271-1/+1 * Add audio/flake to the Port's Collection.dbn2013-02-261-0/+1 * libshairportmiwi2013-02-181-0/+1 * Add libxmp, a module rendering library for audio/xmp.ehaupt2013-02-151-0/+1 * Webservice bindings for the Musicbrainz NGS site, also known as /ws/2.miwi2013-02-151-0/+1 * Beets is the media library management system formiwi2013-02-151-0/+1 * Bindings for Chromaprint acoustic fingerprinting and the Acoustid APImiwi2013-02-151-0/+1 * GTMixer is a free, simple graphical mixer for FreeBSD.miwi2013-02-121-0/+1 * GVolWheel is a Lightweight application which lets you control the audiomiwi2013-02-101-0/+1 * KDE/FreeBSD team presents KDE SC 4.9.5 ports!makc2013-02-041-0/+5 * ALURE is a utility library to help manage common tasks with OpenAL applications.mva2013-01-191-0/+1 * A fork of the original MPD (Music Player Daemon) client library writtenrene2013-01-041-0/+1 * PyAudio provides Python bindings for PortAudio, the cross-platformmva2012-12-221-0/+1 * DeforaOS desktop audio mixerbapt2012-12-191-0/+1