1 /* 2 __ 3 / _| 4 __ _ _ _ _ __ ___ _ __ __ _ | |_ ___ ___ ___ 5 / _` | | | | '__/ _ \| '__/ _` | | _/ _ \/ __/ __| 6 | (_| | |_| | | | (_) | | | (_| | | || (_) \__ \__ \ 7 \__,_|\__,_|_| \___/|_| \__,_| |_| \___/|___/___/ 8 9 Copyright (C) 2010 The Android Open Source Project. 10 Copyright (C) 2018-2019 Aurora Free Open Source Software. 11 12 This file is part of the Aurora Free Open Source Software. This 13 organization promote free and open source software that you can 14 redistribute and/or modify under the terms of the GNU Lesser General 15 Public License Version 3 as published by the Free Software Foundation or 16 (at your option) any later version approved by the Aurora Free Open Source 17 Software Organization. The license is available in the package root path 18 as 'LICENSE' file. Please review the following information to ensure the 19 GNU Lesser General Public License version 3 requirements will be met: 20 https://www.gnu.org/licenses/lgpl.html . 21 22 Alternatively, this file may be used under the terms of the GNU General 23 Public License version 3 or later as published by the Free Software 24 Foundation. Please review the following information to ensure the GNU 25 General Public License requirements will be met: 26 https://www.gnu.org/licenses/gpl-3.0.html. 27 28 NOTE: All products, services or anything associated to trademarks and 29 service marks used or referenced on this file are the property of their 30 respective companies/owners or its subsidiaries. Other names and brands 31 may be claimed as the property of others. 32 33 For more info about intellectual property visit: aurorafoss.org or 34 directly send an email to: contact (at) aurorafoss.org . 35 36 This file has bindings for an existing code, part of The Android Open Source 37 Project implementation. Check it out at android.googlesource.com . 38 */ 39 40 module aurorafw.android.platform.obb; 41 42 /** 43 * @addtogroup Storage 44 * @{ 45 */ 46 47 /** 48 * @file aurorafw/android/platform/obb.d 49 */ 50 51 version (Android): 52 extern (C): 53 @system: 54 nothrow: 55 @nogc: 56 57 struct AObbInfo; 58 /** {@link AObbInfo} is an opaque type representing information for obb storage. */ 59 60 /** Flag for an obb file, returned by AObbInfo_getFlags(). */ 61 enum 62 { 63 /** overlay */ 64 AOBBINFO_OVERLAY = 1 65 } 66 67 /** 68 * Scan an OBB and get information about it. 69 */ 70 AObbInfo* AObbScanner_getObbInfo (const(char)* filename); 71 72 /** 73 * Destroy the AObbInfo object. You must call this when finished with the object. 74 */ 75 void AObbInfo_delete (AObbInfo* obbInfo); 76 77 /** 78 * Get the package name for the OBB. 79 */ 80 const(char)* AObbInfo_getPackageName (AObbInfo* obbInfo); 81 82 /** 83 * Get the version of an OBB file. 84 */ 85 int AObbInfo_getVersion (AObbInfo* obbInfo); 86 87 /** 88 * Get the flags of an OBB file. 89 */ 90 int AObbInfo_getFlags (AObbInfo* obbInfo); 91 92 // ANDROID_OBB_H 93 94 /** @} */