Files
evolution/shell/Evolution-ConfigControl.idl
Ettore Perazzoli 9a3b0141da Update to create an EvolutionConfigControl instead of just a
* evolution-test-component.c (create_configuration_page): Update
to create an EvolutionConfigControl instead of just a
BonoboControl.

* e-corba-config-page.c (e_corba_config_page_construct): Get a
GNOME_Evolution_ConfigControl instead of a CORBA_Object.  Retrieve
the control from it using ::_get_control instead of just assuming
it's a control.  Also return a boolen indicating success or
failure.
(e_corba_config_page_new): Likewise, get a
GNOME_Evolution_ConfigControl.
(setup_listener): Renamed from `setup_config_control_interface'.
Get a ::ConfigControl instead of a CORBA::Object.  Thus, no need
to queryInterface here anymore.

* evolution-config-control.c, evolution-config-control.h: New,
implementation for the Evolution::ConfigControl interface.

* Evolution-ConfigControl.idl: New attribute `control'.

svn path=/trunk/; revision=16134
2002-03-13 04:50:30 +00:00

35 lines
921 B
Plaintext

/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Additional interfaces for the Controls used in configuration dialogs.
*
* Authors:
* Ettore Perazzoli <ettore@ximian.com>
*
* Copyright (C) 2002 Ximian, Inc.
*/
module GNOME {
module Evolution {
interface ConfigControl : Bonobo::Unknown {
/* Apply the current settings. */
void apply ();
/* The actual Control. */
readonly attribute Bonobo::Control control;
/* Get the event source for this control. */
readonly attribute Bonobo::EventSource eventSource;
/* These are the events that get emitted when the properties of
the dialog change:
- "changed"
Emitted when the data entered changes, and thus
doesn't match the applied settings anymore. The user must
assume this to be true until ::apply gets invoked.
*/
};
}; /* module Evolution */
}; /* module GNOME */