diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-11-01 10:48:02 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2017-11-14 11:14:53 -0600 |
commit | 1d6ca484ee58c9ab44b4efc66c5b7dfc89b0c2f1 (patch) | |
tree | df06b6ead4b55d080ada945577c05de73e5a6dca /src/templates | |
parent | f55c1eed445c28d3e666223cecbcde759b0cfb0e (diff) | |
download | phosphor-dbus-monitor-1d6ca484ee58c9ab44b4efc66c5b7dfc89b0c2f1.tar.gz phosphor-dbus-monitor-1d6ca484ee58c9ab44b4efc66c5b7dfc89b0c2f1.zip |
Add resolve callout rule support to YAML parser
The callout to resolve is specified in the YAML.
Change-Id: If613fae1959c6a54279b2a50c7d858f3e7d831b9
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/generated.mako.hpp | 1 | ||||
-rw-r--r-- | src/templates/resolve_errors.mako.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/templates/generated.mako.hpp b/src/templates/generated.mako.hpp index 04f2bde..740acfa 100644 --- a/src/templates/generated.mako.hpp +++ b/src/templates/generated.mako.hpp @@ -12,6 +12,7 @@ #include "errors.hpp" #include "method.hpp" #include "propertywatchimpl.hpp" +#include "resolve_errors.hpp" #include "sdbusplus.hpp" #include "sdevent.hpp" diff --git a/src/templates/resolve_errors.mako.cpp b/src/templates/resolve_errors.mako.cpp new file mode 100644 index 0000000..8b49031 --- /dev/null +++ b/src/templates/resolve_errors.mako.cpp @@ -0,0 +1 @@ +std::make_unique<ResolveCallout>("${c.callout}")\ |