File: AppImageFormat.h

package info (click to toggle)
libappimage 1.0.4-5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,320 kB
  • sloc: cpp: 4,678; ansic: 1,325; sh: 169; python: 27; makefile: 19
file content (16 lines) | stat: -rw-r--r-- 735 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

namespace appimage {
    namespace core {
        /**
         * The AppImage format determines how an AppImage is represented on disk. See the link below for more details
         * https://github.com/AppImage/AppImageSpec/blob/master/draft.md#image-format
         */
        enum class AppImageFormat {
            INVALID = -1,   // Not an AppImage file
            LEGACY = 0,     // portable binaries that look and behave like AppImages but do not follow the standard
            TYPE_1 = 1,      // https://github.com/AppImage/AppImageSpec/blob/master/draft.md#type-1-image-format
            TYPE_2 = 2       // https://github.com/AppImage/AppImageSpec/blob/master/draft.md#type-2-image-format
        };
    }
}