summaryrefslogtreecommitdiff
path: root/gpttext.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2011-09-10 20:30:20 -0400
committersrs5694 <srs5694@users.sourceforge.net>2011-09-10 20:30:20 -0400
commita17fe69ec07c93a24894e4c4243f05af2bfc5bd7 (patch)
treee79312858bcf530d1d27d7112dd03e433c947b44 /gpttext.h
parent3860cbe1cafb88d70097bdfb8d84cc0029f1738e (diff)
downloadsgdisk-a17fe69ec07c93a24894e4c4243f05af2bfc5bd7.tar.gz
Changes for version 0.8.0
Diffstat (limited to 'gpttext.h')
-rw-r--r--gpttext.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/gpttext.h b/gpttext.h
index 553efa2..1c74105 100644
--- a/gpttext.h
+++ b/gpttext.h
@@ -1,5 +1,5 @@
/*
- <one line to give the program's name and a brief idea of what it does.>
+ Implementation of GPTData class derivative with basic text-mode interaction
Copyright (C) 2010-2011 Roderick W. Smith
This program is free software; you can redistribute it and/or modify
@@ -33,7 +33,7 @@ class GPTDataTextUI : public GPTData {
~GPTDataTextUI(void);
// This one needs to be explicitly defined, even though it does nothing new....
- const GPTPart & operator[](uint32_t partNum) {return GPTData::operator[](partNum);}
+// const GPTPart & operator[](uint32_t partNum) {return GPTData::operator[](partNum);}
// Extended (interactive) versions of some base-class functions
WhichToUse UseWhichPartitions(void);
@@ -53,6 +53,14 @@ class GPTDataTextUI : public GPTData {
void ShowDetails(void);
void MakeHybrid(void);
int XFormToMBR(void); // convert GPT to MBR, wiping GPT afterwards. Returns 1 if successful
+
+ // Main menu functions
+ void MainMenu(string filename);
+ void ShowCommands(void);
+ void ExpertsMenu(string filename);
+ void ShowExpertCommands(void);
+ void RecoveryMenu(string filename);
+ void ShowRecoveryCommands(void);
}; // class GPTDataTextUI
int GetMBRTypeCode(int defType);