00001 /***************************************************************************** 00002 * Copyright (C) 2011 by Benjamin Hadorn (b_hadorn@bluewin.ch) 00003 ***************************************************************************** 00004 * Project : Zeus Base Library 00005 * Module : IZeusAPI 00006 * Package : Zeus.ZeusBase.MOM.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 IZeusAPIHPP 00035 #define IZeusAPIHPP 00036 00037 #include <zeusbase/System/Interfaces/IZUnknown.hpp> 00038 #include <zeusbase/System/Interfaces/IString.hpp> 00039 #include <zeusbase/System/Interfaces/IXObjectCollection.hpp> 00040 #include <zeusbase/System/Interfaces/IXObject.hpp> 00041 #include <zeusbase/System/Interfaces/ILibraryManager.hpp> 00042 00043 BEGIN_NAMESPACE_Zeus 00044 00045 // {275C6930-F4C3-4943-8C87-6530913A5C80} 00046 #define INTERFACE_IZeusAPI TIID(0x275C6930, 0xF4C3, 0x4943, 0x8C, 0x87, 0x65, 0x30, 0x91, 0x3A, 0x5C, 0x80) 00047 00048 /*****************************************************************************/ 00052 /*****************************************************************************/ 00053 class IZeusAPI : public IZUnknown 00054 { 00055 HIDE_ASSIGNMENT_OPERATOR(IZeusAPI) 00056 00057 public: 00058 /*************************************************************************/ 00069 /*************************************************************************/ 00070 virtual Retval MQUALIFIER createObjectOfModule(const IString& rstrModuleName, const InterfaceID& rInterfaceID, IZUnknown*& rpIface) = 0; 00071 00072 /*************************************************************************/ 00084 /*************************************************************************/ 00085 virtual Retval MQUALIFIER executeCommand(Uint uiMode, const IString& rstrTarget, const IString& rstrMainData, const IString& rstrAddData, const IString& rstrStreamData, Uint uiSecurity, Uint uiExecutionMode) = 0; 00086 00087 /*************************************************************************/ 00096 /*************************************************************************/ 00097 virtual Retval MQUALIFIER getCastedObject(const IString& rstrPath, const InterfaceID& rIfaceID, IZUnknown*& rpObj) = 0; 00098 00099 /*************************************************************************/ 00106 /*************************************************************************/ 00107 virtual Retval MQUALIFIER getObject(const IString& rstrPath, IXObject*& rpObj) = 0; 00108 00109 /*************************************************************************/ 00116 /*************************************************************************/ 00117 virtual Retval MQUALIFIER getObjects(const IString& rstrPath, IXObjectCollection*& rpCollection) = 0; 00118 00119 /*************************************************************************/ 00122 /*************************************************************************/ 00123 virtual Retval MQUALIFIER getPropertyValue(const IString& rstrName, IString& rstrValue) const = 0; 00124 00125 /*************************************************************************/ 00130 /*************************************************************************/ 00131 virtual Retval MQUALIFIER getUserValue(const IString& rstrName, IString& rstrValue) const = 0; 00132 00133 /*************************************************************************/ 00138 /*************************************************************************/ 00139 virtual void MQUALIFIER logMessage(Uint uiMode, const IString& rstrMessage) = 0; 00140 00141 /*************************************************************************/ 00144 /*************************************************************************/ 00145 virtual Retval MQUALIFIER setPropertyValue(const IString& rstrName, const IString& rstrValue) = 0; 00146 00147 /*************************************************************************/ 00152 /*************************************************************************/ 00153 virtual Retval MQUALIFIER setUserValue(const IString& rstrName, const IString& rstrValue) = 0; 00154 00155 }; 00156 00157 END_NAMESPACE_Zeus 00158 00159 #endif //define IZeusAPIHPP