diff options
Diffstat (limited to 'printing/print_settings.h')
-rw-r--r-- | printing/print_settings.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/printing/print_settings.h b/printing/print_settings.h index 1f35e90..08c7d56 100644 --- a/printing/print_settings.h +++ b/printing/print_settings.h @@ -26,6 +26,11 @@ PRINTING_EXPORT void GetColorModelForMode(int color_mode, std::string* color_value); #endif +// Inform the printing system that it may embed this user-agent string +// in its output's metadata. +PRINTING_EXPORT void SetAgent(const std::string& user_agent); +PRINTING_EXPORT const std::string& GetAgent(); + // OS-independent print settings. class PRINTING_EXPORT PrintSettings { public: |