Cherry pick the banglets and such from wip-l1summercoat, this will be the basis for...
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / palmos / PalmDatabaseAttribute.java
blob796533a4092961dbfc3e0aea22f2479907739a63
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.plugin.palmos;
12 /**
13 * This represents an attribute for the Palm Database.
15 * @since 2019/07/13
17 public enum PalmDatabaseAttribute
19 /** This is a resource database. */
20 RESOURCE_DATABASE(0x0001),
22 /** Read-only. */
23 READ_ONLY(0x0002),
25 /** Info block is dirty. */
26 APP_INFO_DIRTY(0x0004),
28 /** Database should be packed up to the PC. */
29 BACKUP(0x0008),
31 /** Is okay to install newer version? */
32 OK_TO_INSTALL_NEWER(0x0010),
34 /** Requires a reset after install. */
35 RESET_AFTER_INSTALL(0x0020),
37 /** Copy protection (prevent beaming/copy). */
38 COPY_PROTECTION(0x0040),
40 /** Used as a file stream. */
41 STREAM(0x0080),
43 /** Is hidden. */
44 HIDDEN(0x0100),
46 /** Is a data resource which can be launched. */
47 LAUNCHABLE_DATA(0x0200),
49 /** The database can be recycled. */
50 RECYCLABLE(0x0400),
52 /** Is a bundle, always beam with the same creator type. */
53 BUNDLE(0x0800),
55 /** Database is open and has not been closed properly. */
56 OPEN(0x8000),
58 /** End. */
61 /** The bit used. */
62 public final int bit;
64 /**
65 * Initializes the attribute.
67 * @param __bit The bit used.
68 * @since 2019/07/13
70 PalmDatabaseAttribute(int __bit)
72 this.bit = __bit;