Source: Y2CCParted.h


Annotated List
Files
Globals
Hierarchy
Index
#ifndef Y2CCParted_h
#define Y2CCParted_h

#include 
#include "Y2PartedComponent.h"

class Y2CCParted : public Y2ComponentCreator
{
public:
   // Create a parted component creator and register it
   Y2CCParted() : Y2ComponentCreator(Y2ComponentBroker::BUILTIN)
      {}

   // The parted component is a client
   bool isServerCreator() const { return false; }

   // Create a new parted component if name is our name
   Y2Component *create(const char *name) const
      {
	 if (strcmp(name, Y2PartedComponent::component_name().c_str()) == 0)
	    return new Y2PartedComponent();
	 else
	    return 0;
      }
};

#endif // Y2CCParted_h

Generated by: root on D60 on Mon Oct 20 16:16:42 2003, using kdoc 2.0a54.