00001 /*************************************************************************** 00002 * * 00003 * Powersave Daemon * 00004 * * 00005 * Copyright (C) 2005 SUSE Linux Products GmbH * 00006 * * 00007 * Author(s): Holger Macht <hmacht@suse.de> * 00008 * * 00009 * This program is free software; you can redistribute it and/or modify it * 00010 * under the terms of the GNU General Public License as published by the * 00011 * Free Software Foundation; either version 2 of the License, or (at you * 00012 * option) any later version. * 00013 * * 00014 * This program is distributed in the hope that it will be useful, but * 00015 * WITHOUT ANY WARRANTY; without even the implied warranty of * 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00017 * General Public License for more details. * 00018 * * 00019 * You should have received a copy of the GNU General Public License along * 00020 * with this program; if not, write to the Free Software Foundation, Inc., * 00021 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * 00022 * * 00023 ***************************************************************************/ 00024 00025 #ifndef POWERSAVE_GLOBALS_H 00026 #define POWERSAVE_GLOBALS_H 00027 00028 class PM_Interface; 00029 class GeneralConfig; 00030 class CpufreqManagement; 00031 class MainLoop; 00032 00033 namespace Powersave { 00034 00035 namespace Globals { 00036 00041 extern PM_Interface *pm; 00042 00044 extern GeneralConfig *config_obj; 00045 00047 extern CpufreqManagement *cpufreq; 00048 00050 extern MainLoop *main_loop; 00051 }; 00052 00053 }; 00054 00055 00056 #endif