diff options
author | Benjamin Dobell <benjamin.dobell@glassechidna.com.au> | 2011-07-17 11:50:07 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell@glassechidna.com.au> | 2011-07-17 11:50:07 +0200 |
commit | 8cb7f6ee8f872938e257541c07d0e4b2ad0e3f35 (patch) | |
tree | 7b40d7e1a5c28b2e05b01cd9e348aabd60f2d19c /heimdall/source/Interface.h | |
parent | Altered the user interface slightly to prevent clipping on certain OS. (diff) | |
download | Heimdall-8cb7f6ee8f872938e257541c07d0e4b2ad0e3f35.tar Heimdall-8cb7f6ee8f872938e257541c07d0e4b2ad0e3f35.tar.gz Heimdall-8cb7f6ee8f872938e257541c07d0e4b2ad0e3f35.tar.bz2 Heimdall-8cb7f6ee8f872938e257541c07d0e4b2ad0e3f35.tar.lz Heimdall-8cb7f6ee8f872938e257541c07d0e4b2ad0e3f35.tar.xz Heimdall-8cb7f6ee8f872938e257541c07d0e4b2ad0e3f35.tar.zst Heimdall-8cb7f6ee8f872938e257541c07d0e4b2ad0e3f35.zip |
Diffstat (limited to '')
-rw-r--r-- | heimdall/source/Interface.h | 35 |
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); |