#include <WIN_Partition.h>
Public Member Functions | |
WIN_Partition (string partition_name) | |
~WIN_Partition () | |
int | status () |
bool | get_progress_status (string &message_progress, string &message_directory, string &message_exception) |
void | resize (string partition_start, string partition_length, ExternalProgram::Stderr_Disposition stderr_disp=ExternalProgram::Stderr_To_Stdout) |
Private Attributes | |
string | partition |
string | partition_device |
string | partition_minor |
string | partition_start |
string | partition_end |
ExternalProgram * | process |
int | exit_code |
|
Create an new instance. |
|
Clean up. |
|
Read progress indication of the parted process. |
|
Run parted with the specified arguments and route stderr to stdout. |
|
Return the exit status of the parted process, closing the connection if not already done. |
|
The exit code of the parted process, or -1 if not yet known. |
|
The full name of the partition e.g. /dev/sda1 |
|
The device of the partition e.g. /dev/sda |
|
New end of partition in MB on device (will be calculated) |
|
The minor number of the partition e.g. 1 |
|
New start of partition in MB on device (as provided by caller) |
|
The connection to the parted process. |