Source: Y2CCMakefs.h


Annotated List
Files
Globals
Hierarchy
Index
// -*- c++ -*-

/*
 *  Maintainer: Arvin Schnell 
 */


#ifndef Y2CCMakefs_h
#define Y2CCMakefs_h


#include 

#include "Y2MakefsComponent.h"


class Y2CCMakefs : public Y2ComponentCreator
{
    
public:
    
    // Create a makefs component creator and register it
    Y2CCMakefs () :
	Y2ComponentCreator (Y2ComponentBroker::BUILTIN)
    {
    }
    
    // The makefs component is a client
    bool isServerCreator () const { return false; }
    
    // Create a new makefs component if name is our name
    Y2Component *create (const char *name) const
    {
	if (strcmp (name, Y2MakefsComponent::component_name ().c_str ()) == 0)
	    return new Y2MakefsComponent ();
	else
	    return 0;
    }
    
};


#endif // Y2CCMakefs_h

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