summaryrefslogtreecommitdiff
path: root/gptpart.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2009-09-21 20:51:47 -0400
committersrs5694 <srs5694@users.sourceforge.net>2009-09-21 20:51:47 -0400
commit978041ca613dcb881763b36cf53639d924e52a56 (patch)
treebcb9e01e2c62812085a7195b0e8cc4bc20cc4c2d /gptpart.h
parente35eb1beb6381977ff0dd8443d91f4569779cf2d (diff)
downloadsgdisk-978041ca613dcb881763b36cf53639d924e52a56.tar.gz
GPT fdisk 0.5.0
Added several features, including a restructuring of the menu system, GPT-to-MBR conversion, and the ability to re-read the MBR to generate a fresh GPT from the current on-disk MBR.
Diffstat (limited to 'gptpart.h')
-rw-r--r--gptpart.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/gptpart.h b/gptpart.h
index 6b834ca..8d396df 100644
--- a/gptpart.h
+++ b/gptpart.h
@@ -9,8 +9,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
-/* This program is copyright (c) 2009 by Roderick W. Smith. It is distributed
- under the terms of the GNU GPL version 2, as detailed in the COPYING file. */
+// This program is copyright (c) 2009 by Roderick W. Smith. It is distributed
+// under the terms of the GNU GPL version 2, as detailed in the COPYING file.
#ifndef __GPTPART_H
#define __GPTPART_H
@@ -23,11 +23,11 @@
using namespace std;
-/*****************************************
- * *
- * GUIDPart class and related structures *
- * *
- *****************************************/
+/****************************************
+ * *
+ * GPTPart class and related structures *
+ * *
+ ****************************************/
class GPTPart {
protected:
@@ -73,7 +73,7 @@ class GPTPart {
// Additional functions
GPTPart & operator=(const GPTPart & orig);
- void ShowSummary(int i, uint32_t blockSize, char* sizeInSI); // display summary information (1-line)
+ void ShowSummary(int partNum, uint32_t blockSize); // display summary information (1-line)
void ShowDetails(uint32_t blockSize); // display detailed information (multi-line)
void BlankPartition(void); // empty partition of data
int DoTheyOverlap(GPTPart* other); // returns 1 if there's overlap