00001 /* 00002 00003 Copyright 2004 Bastiaan Veelo 00004 00005 This file is part of dcouple. 00006 00007 Dcouple is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (at your option) any later version. 00011 00012 You are free to negociate a different license with the copyright holder. 00013 00014 Dcouple is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with dcouple; if not, write to the Free Software 00021 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 00023 */ 00024 00025 module dcouple.signalslot; 00026 00027 import dcouple.signal; 00028 import dcouple.slot; 00029 00030 interface SignalSlotManager : SignalManager, SlotManager {} 00031 00032 /*! Implementation of a SignalSlotManager. To be mixed in: 00033 \code 00034 class MyClass : SignalSlotManager 00035 { 00036 mixin SignalSlotManagement; 00037 //... 00038 } 00039 \endcode */ 00040 template SignalSlotManagement() 00041 { 00042 mixin SignalManagement; 00043 mixin SlotManagement; 00044 ~this() 00045 { 00046 deleteSignals(); 00047 deleteSlots(); 00048 } 00049 }