summaryrefslogtreecommitdiffstats
path: root/heimdall/source/Interface.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--heimdall/source/Interface.h35
1 files changed, 34 insertions, 1 deletions
diff --git a/heimdall/source/Interface.h b/heimdall/source/Interface.h
index 81f17e5..338445b 100644
--- a/heimdall/source/Interface.h
+++ b/heimdall/source/Interface.h
@@ -76,6 +76,8 @@ namespace Heimdall
kActionVersion,
kActionHelp,
kActionDetect,
+ kActionDownloadPit,
+ kActionInfo,
kActionCount
};
@@ -182,6 +184,18 @@ namespace Heimdall
kHelpValuelessArgCount = 0
};
+ // Info value arguments
+ enum
+ {
+ kInfoValueArgCount = 0
+ };
+
+ // Info valueless arguments
+ enum
+ {
+ kInfoValuelessArgCount = 0
+ };
+
// Detect value arguments
enum
{
@@ -194,6 +208,19 @@ namespace Heimdall
kDetectValuelessArgCount = 0
};
+ // Download PIT value arguments
+ enum
+ {
+ kDownloadPitValueArgOutput = 0,
+ kDownloadPitValueArgCount
+ };
+
+ // Download PIT valueless arguments
+ enum
+ {
+ kDownloadPitValuelessArgCount = 0
+ };
+
// Common value arguments
enum
{
@@ -218,7 +245,8 @@ namespace Heimdall
static const char *version;
static const char *usage;
- static const char *releaseInfo;
+ static const char *releaseInfo;
+ static const char *extraInfo;
// Flash arguments
static string flashValueArguments[kFlashValueArgCount];
@@ -227,6 +255,10 @@ namespace Heimdall
static string flashValuelessArguments[kFlashValuelessArgCount];
static string flashValuelessShortArguments[kFlashValuelessArgCount];
+ // Download PIT arguments
+ static string downloadPitValueArguments[kDownloadPitValueArgCount];
+ static string downloadPitValueShortArguments[kDownloadPitValueArgCount];
+
// Dump arguments
static string dumpValueArguments[kDumpValueArgCount];
static string dumpValueShortArguments[kDumpValueArgCount];
@@ -251,6 +283,7 @@ namespace Heimdall
static void PrintVersion(void);
static void PrintUsage(void);
static void PrintReleaseInfo(void);
+ static void PrintFullInfo(void);
static void PrintPit(const PitData *pitData);