10 #ifndef _SnapperAgent_h
11 #define _SnapperAgent_h
14 #include <scr/SCRAgent.h>
16 #include <snapper/Snapper.h>
17 #include <snapper/Factory.h>
18 #include <snapper/Snapshot.h>
19 #include <snapper/Comparison.h>
20 #include <snapper/File.h>
21 #include <snapper/Logger.h>
41 string getValue (
const YCPMap &map,
const YCPString &key,
const string &deflt);
49 int getIntValue (
const YCPMap &map,
const YCPString &key,
const int deflt);
55 YCPList
getListValue (
const YCPMap &map,
const YCPString &key);
73 virtual YCPValue
Read (
const YCPPath &path,
74 const YCPValue& arg = YCPNull(),
75 const YCPValue& opt = YCPNull());
80 virtual YCPBoolean
Write(
const YCPPath &path,
82 const YCPValue& arg2 = YCPNull());
87 virtual YCPValue
Execute(
const YCPPath &path,
88 const YCPValue& arg = YCPNull(),
89 const YCPValue& arg2 = YCPNull());
94 virtual YCPList
Dir(
const YCPPath& path);