00001 /* 00002 Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. 00003 Copyright (C) 2002 Thomas Stephens 00004 00005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public 00006 License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later 00007 version. 00008 00009 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the 00010 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 00011 Public License for more details. 00012 00013 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free 00014 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00015 */ 00016 00017 #include <qpe/config.h> 00018 #include <qstringlist.h> 00019 00020 class MainConfig 00021 { 00022 public: 00023 RemoteConfig *getRemote(const char *name); 00024 QStringList *getRemoteList(); 00025 Config *getConfig(); 00026 void update(); 00027 private: 00028 RemoteConfig *remotes; 00029 Config cfg; 00030 QStringList *remoteList; 00031 };
1.4.2