summaryrefslogtreecommitdiff
path: root/gptpart.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2011-03-21 21:33:57 -0400
committersrs5694 <srs5694@users.sourceforge.net>2011-03-21 21:33:57 -0400
commit699941e25a1fcf0beec124203747c8ed20842989 (patch)
treeeb2629231de8c6a973e3ef449fab80082b87a9ae /gptpart.h
parent815fb65195106b8afe1b8dfec5dae605dbd7ccbe (diff)
downloadsgdisk-699941e25a1fcf0beec124203747c8ed20842989.tar.gz
0.7.1 release version
Diffstat (limited to 'gptpart.h')
-rw-r--r--gptpart.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gptpart.h b/gptpart.h
index d47f505..2686229 100644
--- a/gptpart.h
+++ b/gptpart.h
@@ -61,7 +61,6 @@ class GPTPart {
uint64_t GetLengthLBA(void) const;
Attributes GetAttributes(void) {return attributes;}
void ShowAttributes(uint32_t partNum) {attributes.ShowAttributes(partNum);}
-// string GetDescription(void);
UnicodeString GetDescription(void);
int IsUsed(void);
@@ -74,9 +73,10 @@ class GPTPart {
void SetLastLBA(uint64_t l) {lastLBA = l;}
void SetAttributes(uint64_t a) {attributes = a;}
void SetAttributes(void) {attributes.ChangeAttributes();}
- void SetName(string theName);
- void SetName(UnicodeString theName);
-// void SetName(UChar *theName);
+ void SetName(const string & theName);
+#ifndef _WIN32
+ void SetName(const UnicodeString & theName);
+#endif
void SetDefaultDescription(void);
// Additional functions