Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Y2MakefsComponent Class Reference

Install and uninstall packages. More...

#include <Y2MakefsComponent.h>

Inheritance diagram for Y2MakefsComponent:

Y2Component List of all members.

Public Member Functions

 Y2MakefsComponent ()
string name () const
YCPValue doActualWork (const YCPList &options, Y2Component *displayserver)

Static Public Member Functions

string component_name ()

Private Member Functions

YCPValue report_progress (Y2Component *displayserver, double percent)

Private Attributes

Y2Namespacereport_macro
string module
string symbol
string partition_type
string partition_name
YCPList partition_options

Detailed Description

Install and uninstall packages.


Constructor & Destructor Documentation

Y2MakefsComponent::Y2MakefsComponent  )  [inline]
 

Create a new makefs component


Member Function Documentation

string Y2MakefsComponent::component_name  )  [inline, static]
 

What I'm called: "makefs"

YCPValue Y2MakefsComponent::doActualWork const YCPList options,
Y2Component displayserver
[virtual]
 

Do the actual work of formatting.

makefs (macro, partition_type, partition_name, partition_options)

  • macro is either nil or a symbol that is called during formatting as macro (partitionname, percent)
    • partitionname name of current partiton
    • percent how much of the current partition is formatted

  • partition_type either "ext2", "reiserfs", "fat", "xfs" or "jfs"

  • partition_name

  • partition_options a list of strings with some options

Reimplemented from Y2Component.

string Y2MakefsComponent::name  )  const [inline, virtual]
 

Implements Y2Component.

YCPValue Y2MakefsComponent::report_progress Y2Component displayserver,
double  percent
[private]
 


Member Data Documentation

string Y2MakefsComponent::module [private]
 

string Y2MakefsComponent::partition_name [private]
 

name of partition

YCPList Y2MakefsComponent::partition_options [private]
 

options for partiton

string Y2MakefsComponent::partition_type [private]
 

type of partition (e.g. "ext2", "reiserfs", ...)

Y2Namespace* Y2MakefsComponent::report_macro [private]
 

A namespace to provide progress bar, or NULL if quiet or error

string Y2MakefsComponent::symbol [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jul 17 04:36:08 2007 for yast2-storage by doxygen 1.3.6