+class AuthFilesSection : SessionSection
+{
+public:
+ ///
+ explicit AuthFilesSection();
+
+ ///
+ void read(std::istream & is) override;
+
+ ///
+ void write(std::ostream & os) const override;
+
+ ///
+ bool find(std::string const & name) const;
+
+ ///
+ void insert(std::string const & name);
+
+private:
+ /// set of document files authorized for external conversion
+ std::set<std::string> auth_files_;
+};
+
+
+class ShellEscapeSection : SessionSection
+{
+public:
+ ///
+ explicit ShellEscapeSection() {};
+
+ ///
+ void read(std::istream & is) override;
+
+ ///
+ void write(std::ostream & os) const override;
+
+ ///
+ bool find(std::string const & name) const;
+
+ ///
+ bool findAuth(std::string const & name) const;
+
+ ///
+ void insert(std::string const & name, bool auth = false);
+
+ ///
+ void remove(std::string const & name);
+
+private:
+ /// set of document files authorized for external conversion
+ std::set<std::string> shellescape_files_;
+};
+
+