Source: LiloAgent.h


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

/**
 * File:
 *   LiloAgent.h
 *
 * Module:
 *   lilo.conf agent
 *
 * Summary:
 *   agent/ycp interface
 *
 * Authors:
 *   dan.meszaros 
 *
 * $Id: LiloAgent.h,v 1.1.1.1 2002/06/27 12:46:35 lslezak Exp $
 *
 * interface for acces to lilo file representation from ycp script
 */


#ifndef __LILOAGENT
#define __LILOAGENT

#undef y2log_component
#define y2log_component "ag_liloconf"
#include 
#include 
#include 

#include "LiloFile.h"

class LiloFile;

/* An interface class between YaST2 and RcFile */
class LiloAgent : public SCRAgent {
//    LiloFile *rc_file;
    liloFile* lilo;
public:
    LiloAgent();
    virtual ~LiloAgent();
    
    virtual YCPValue Read(const YCPPath &path, const YCPValue& arg = YCPNull());
    virtual YCPValue Write(const YCPPath &path, const YCPValue& value, const YCPValue& arg = YCPNull());
    virtual YCPValue Dir(const YCPPath& path);
    
    virtual YCPValue otherCommand(const YCPTerm& term);
};

#endif /* _RcAgent_h */

Generated by: root on D63 on Tue Sep 24 20:20:08 2002, using kdoc 2.0a54.