diff options
Diffstat (limited to 'desktop/inc/lib/init.hxx')
-rw-r--r-- | desktop/inc/lib/init.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx index 2ba5595d8b46..013162aa990f 100644 --- a/desktop/inc/lib/init.hxx +++ b/desktop/inc/lib/init.hxx @@ -116,6 +116,9 @@ namespace desktop { /// Validate that the payload and parsed object match. bool validate() const; + /// Returns true iff there is cached data. + bool isCached() const { return PayloadObject.which() != 0; } + int Type; std::string PayloadString; |