00001 /***************************************************************************** 00002 * Copyright (C) 2011 by Benjamin Hadorn (b_hadorn@bluewin.ch) 00003 ***************************************************************************** 00004 * Project : Zeus Base Library 00005 * Module : ISimpleCommand 00006 * Package : Zeus.ZeusBase.System.Interfaces 00007 * Author : Benjamin Hadorn 00008 * Date : 24.10.2011 00009 * System : Zeus-Framework 00010 ***************************************************************************** 00011 * Licence: * 00012 * This library is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU Lesser General Public License as * 00014 * published by the Free Software Foundation; either version * 00015 * 2.1 of the License, or (at your option) any later version. * 00016 * * 00017 * This library is distributed in the hope that it will be useful, * 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00020 * GNU Lesser General Public License for more details. * 00021 * * 00022 * You should have received a copy of the GNU Lesser General Public * 00023 * License along with this library; if not, write to the Free Software * 00024 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA * 00025 *****************************************************************************/ 00026 00027 00028 /*************************************************************************** 00029 GENERATED : xIDL COMPILER 1.0 00030 DATE : 2012-01-16 18:50:28 00031 CAUTION : Don't change the file manualy. Change xidl file instead. 00032 ***************************************************************************/ 00033 00034 #ifndef ISimpleCommandHPP 00035 #define ISimpleCommandHPP 00036 00037 #include <zeusbase/System/Interfaces/IZUnknown.hpp> 00038 #include <zeusbase/System/Interfaces/IString.hpp> 00039 00040 BEGIN_NAMESPACE_Zeus 00041 00042 //Forward declarations 00043 class IXObject; 00044 00045 // {F0D110AA-61BA-472f-A805-792EF91247BA} 00046 #define INTERFACE_ISimpleCommand TIID(0xF0D110AA, 0x61BA, 0x472f, 0xA8, 0x05, 0x79, 0x2E, 0xF9, 0x12, 0x47, 0xBA) 00047 00048 /*****************************************************************************/ 00053 /*****************************************************************************/ 00054 class ISimpleCommand : public IZUnknown 00055 { 00056 HIDE_ASSIGNMENT_OPERATOR(ISimpleCommand) 00057 00058 public: 00059 /*************************************************************************/ 00064 /*************************************************************************/ 00065 virtual void MQUALIFIER getTargetObjectName(IString& rstrName) const = 0; 00066 00067 /*************************************************************************/ 00071 /*************************************************************************/ 00072 virtual void MQUALIFIER getMainData(IString& rstrData) const = 0; 00073 00074 /*************************************************************************/ 00078 /*************************************************************************/ 00079 virtual void MQUALIFIER getAddData(IString& rstrData) const = 0; 00080 00081 /*************************************************************************/ 00087 /*************************************************************************/ 00088 virtual void MQUALIFIER getStream(IString& rstrData) const = 0; 00089 00090 /*************************************************************************/ 00095 /*************************************************************************/ 00096 virtual Uint MQUALIFIER getMode() const = 0; 00097 00098 /*************************************************************************/ 00102 /*************************************************************************/ 00103 virtual Uint MQUALIFIER getSecurity() const = 0; 00104 00105 /*************************************************************************/ 00109 /*************************************************************************/ 00110 virtual void MQUALIFIER setTargetObjectName(const IString& rstrName) = 0; 00111 00112 /*************************************************************************/ 00116 /*************************************************************************/ 00117 virtual void MQUALIFIER setMainData(const IString& rstrData) = 0; 00118 00119 /*************************************************************************/ 00123 /*************************************************************************/ 00124 virtual void MQUALIFIER setAddData(const IString& rstrData) = 0; 00125 00126 /*************************************************************************/ 00130 /*************************************************************************/ 00131 virtual void MQUALIFIER setStream(const IString& rstrData) = 0; 00132 00133 /*************************************************************************/ 00137 /*************************************************************************/ 00138 virtual void MQUALIFIER setMode(Uint uiMode) = 0; 00139 00140 /*************************************************************************/ 00144 /*************************************************************************/ 00145 virtual void MQUALIFIER setSecurity(Uint uiValue) = 0; 00146 00147 /*************************************************************************/ 00153 /*************************************************************************/ 00154 virtual void MQUALIFIER execute(Uint uiMode) = 0; 00155 00156 /*************************************************************************/ 00161 /*************************************************************************/ 00162 virtual void MQUALIFIER enableExecuteMode(bool bEnable, Uint uiMode) = 0; 00163 00164 /*************************************************************************/ 00170 /*************************************************************************/ 00171 virtual Retval MQUALIFIER setListener(IXObject* pListener) = 0; 00172 00173 }; 00174 00175 END_NAMESPACE_Zeus 00176 00177 #endif //define ISimpleCommandHPP