00001 00006 /* 00007 MUnDoCAAD MUD Engine 00008 Copyright (C) 2002-2005 José Manuel Ferrer Ortiz 00009 00010 ***************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify it * 00013 * under the terms of the GNU General Public License version 2, as * 00014 * published by the Free Software Foundation. * 00015 * * 00016 * This program is distributed in the hope that it will be useful, but * 00017 * WITHOUT ANY WARRANTY; without even the implied warranty of * 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00019 * General Public License version 2 for more details. * 00020 * * 00021 * You should have received a copy of the GNU General Public License * 00022 * version 2 along with this program; if not, write to the Free Software * 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 00024 * * 00025 ***************************************************************************** 00026 */ 00027 00028 00029 #include "Librero.hpp" 00030 00031 #include "Archivero.hpp" 00032 #include "Mensajero.hpp" 00033 00034 00035 extern Archivero *miArchiv; 00036 extern Mensajero *miMensaj; 00037 00038 00040 Librero::Librero () 00041 { 00042 this->setObjectName ("motor"); 00043 } 00044 00046 Librero::~Librero () 00047 { 00048 qDebug ("Destructor de Librero"); 00049 } 00050 00052 const QString Librero::DaPropiedad (const QString &entidad, 00053 const QString &propiedad) 00054 { 00055 return (miArchiv->DaPropiedad (entidad, propiedad)); 00056 } 00057 00059 void Librero::EnviaMensaje (const QString &receptor, const QString &mensaje) 00060 { 00061 miMensaj->EnviaMensaje (receptor, mensaje); 00062 }
1.4.4