iARSConfig_8h-source.html

iARSConfig.h

00001 /*************************************************************
00002  *
00003  *    IAEM-iARS project
00004  *
00005  * File: iARSConfig.h
00006  *
00007  * Description: Configuration File Management
00008  *
00009  * Created: 3.6.2004
00010  * Author: Christopher Frauenberger (frauenberger@iem.at)
00011  * Version: $Id: iARSConfig.h,v 1.1 2004/06/03 09:00:48 frauenberger Exp $
00012  *
00013  * Copyright (C) IEM 2004, Christopher Frauenberger [frauenberger@iem.at]
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Lesser General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2.1 of the License, or (at your option) any later version.
00019  * 
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00023  * Lesser General Public License for more details.
00024  * 
00025  * You should have received a copy of the GNU Lesser General Public
00026  * License along with this library; if not, write to the Free Software
00027  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00028  *
00029  * IEM - Institute of Electronic Music and Acoustics, Graz
00030  * Inffeldgasse 10/3, 8010 Graz, Austria
00031  * http://iem.at 
00032  *************************************************************/
00033 
00034 #ifndef _IARSCONFIG_H_
00035 #define _IARSCONFIG_H_
00036 
00037 #include "config.h"
00038 #include <stdlib.h> 
00039 
00046 class iARSConfig {
00047 
00048 public: 
00049 
00051   void getEntry(const QString &key, int *result);
00053   void getEntry(const QString &key, QString *result);
00055   void getEntry(const QString &key, bool *result);
00056 
00057 private: 
00058   
00060   Config *conf;
00062   bool openConfigFile ();
00063 };
00064 
00065 #endif

Generated on Thu Nov 25 15:57:05 2004 for iARS(internetAudioRenderingSystem) by  doxygen 1.3.9.1