source: trunk/third/bonobo-activation/idl/Bonobo_ActivationContext.idl @ 18563

Revision 18563, 3.7 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18562, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
2/*
3 *  Bonobo_ActivationContext.idl:
4 *
5 *  Copyright (C) 1999, 2000 Red Hat, Inc.
6 *  Copyright (C) 1999, 2000 Eazel, Inc.
7 *
8 *  This library is free software; you can redistribute it and/or
9 *  modify it under the terms of the GNU General Public License as
10 *  published by the Free Software Foundation; either version 2 of the
11 *  License, or (at your option) any later version.
12 *
13 *  This library is distributed in the hope that it will be useful,
14 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 *  General Public License for more details.
17 *
18 *  You should have received a copy of the GNU General Public License
19 *  along with this library; if not, write to the Free Software
20 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 *
22 *  Authors: Elliot Lee <sopwith@redhat.com>,
23 *           Maciej Stachowiak <mjs@noisehavoc.org>
24 *
25 */
26
27#ifndef __BONOBO_ACTIVATION_CONTEXT_IDL__
28#define __BONOBO_ACTIVATION_CONTEXT_IDL__
29
30#ifndef __Bonobo_ActivationContext_COMPILATION
31#ifdef  __ORBIT_IDL__
32%{
33#pragma include_defs bonobo-activation/Bonobo_ActivationContext.h
34%}
35#pragma inhibit push
36#endif
37#endif
38
39#include <Bonobo_Unknown.idl>
40#include <Bonobo_Activation_types.idl>
41
42/* ObjectDirectory needs a forward declaration of ActivationContext */
43module Bonobo {
44        interface ActivationContext;
45};
46
47#include <Bonobo_ObjectDirectory.idl>
48
49module Bonobo {
50        interface ActivationClient : Bonobo::Unknown {
51                oneway void resetCache ();
52        };
53
54        typedef sequence<ObjectDirectory> ObjectDirectoryList;
55
56        interface ActivationContext : Bonobo::Unknown {
57                readonly attribute ObjectDirectoryList directories;
58                readonly attribute ServerInfoList      servers;
59
60                oneway void addClient (in ActivationClient client,
61                                       in string           locales);
62
63                void addDirectory    (in ObjectDirectory dir) raises (Bonobo::Activation::AlreadyListed);
64                void removeDirectory (in ObjectDirectory dir) raises (Bonobo::Activation::NotListed);
65
66                ServerInfoList query (in string             requirements,
67                                      in Bonobo::StringList selection_order)
68                        raises (Bonobo::Activation::ParseFailed,
69                                Bonobo::Activation::IncompleteContext)
70                        context ("username", "hostname");
71
72                ActivationResult activateMatching (in string                        requirements,
73                                                   in Bonobo::StringList            selection_order,
74                                                   in Bonobo::ActivationEnvironment environment,
75                                                   in ActivationFlags               flags)
76                        raises (Bonobo::Activation::ParseFailed,
77                                Bonobo::Activation::IncompleteContext,
78                                Bonobo::GeneralError)
79                        context ("username", "hostname");
80
81                ActivationResult activateFromAid (in ActivationID    aid,
82                                                  in ActivationFlags flags)
83                        raises (Bonobo::Activation::ParseFailed,
84                                Bonobo::Activation::IncompleteContext,
85                                Bonobo::GeneralError)
86                        context ("username", "hostname");
87        };
88};
89
90#ifndef __Bonobo_ActivationContext_COMPILATION
91#ifdef  __ORBIT_IDL__
92#pragma inhibit pop
93#endif
94#endif
95
96#endif
Note: See TracBrowser for help on using the repository browser.