tdecmoduleproxyIface.h
00001 /* This file is part of the KDE libraries 00002 Copyright (C) 2004 Frans Englich <frans.englich@telia.com> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License as published by the Free Software Foundation; either 00007 version 2 of the License, or (at your option) any later version. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef __TDECMODULEPROXYIFACE_H__ 00021 #define __TDECMODULEPROXYIFACE_H__ 00022 00023 #include <dcopobject.h> 00024 00036 class TDECModuleProxyIface : virtual public DCOPObject 00037 { 00038 K_DCOP 00039 00040 k_dcop: 00041 00048 virtual TQString applicationName() = 0; 00049 00053 virtual void save() = 0; 00054 00058 virtual void load() = 0; 00059 00063 virtual void defaults() = 0; 00064 00068 virtual TQString quickHelp() = 0; 00069 00074 virtual bool changed() = 0; 00075 00076 k_dcop_signals: 00077 00086 virtual void changed( bool c ); 00087 00088 virtual void quickHelpChanged(); 00089 00090 }; 00091 00107 class TDECModuleProxyRootDispatcher : virtual public DCOPObject 00108 { 00109 K_DCOP 00110 00111 k_dcop: 00112 00116 virtual void changed( bool c ) = 0; 00117 00118 virtual void quickHelpChanged() = 0; 00119 }; 00120 00121 #endif // __TDECMODULEPROXYIFACE_H__