1 /* Copyright (C) 2007-2008 The Android Open Source Project 2 ** 3 ** This software is licensed under the terms of the GNU General Public 4 ** License version 2, as published by the Free Software Foundation, and 5 ** may be copied, distributed, and modified under those terms. 6 ** 7 ** This program is distributed in the hope that it will be useful, 8 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 9 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 ** GNU General Public License for more details. 11 */ 12 #ifndef _ANDROID_GLOBALS_H 13 #define _ANDROID_GLOBALS_H 14 15 #include "android/avd/info.h" 16 #include "android/avd/hw-config.h" 17 18 /* this structure is setup when loading the virtual device 19 * after that, you can read the 'flags' field to determine 20 * wether a data or cache wipe has been in effect. 21 */ 22 extern AvdInfoParams android_avdParams[1]; 23 24 /* a pointer to the android virtual device information 25 * object, which can be queried for the paths of various 26 * image files or the skin 27 */ 28 extern AvdInfo* android_avdInfo; 29 30 /* the hardware configuration for this specific virtual device */ 31 extern AndroidHwConfig android_hw[1]; 32 33 #endif /* _ANDROID_GLOBALS_H */ 34