00001 /*************************************************************************** 00002 * Copyright (C) 2002 by Yann Hodique * 00003 * Yann.Hodique@lifl.fr * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 ***************************************************************************/ 00010 00011 #ifndef _MTPCONTEXT_H_ 00012 #define _MTPCONTEXT_H_ 00013 00014 #include <qmap.h> 00015 00020 class MtpContext { 00021 00022 public: 00023 MtpContext(); 00024 ~MtpContext(); 00025 void setVar(const QString& name, const QString& value); 00026 void unsetVar(const QString& name); 00027 QString getValue(const QString& name); 00028 00029 private: 00030 QMap<QString,QString> var_map; 00031 }; 00032 00033 #endif