LibreOffice Module framework (master) 1
Static Public Attributes | List of all members
framework::JobConst Class Reference

defines all constant values used within a job environment. More...

#include <jobconst.hxx>

Static Public Attributes

static constexpr OUStringLiteral ANSWER_DEACTIVATE_JOB = u"Deactivate"
 
static constexpr OUStringLiteral ANSWER_SAVE_ARGUMENTS = u"SaveArguments"
 
static constexpr OUStringLiteral ANSWER_SEND_DISPATCHRESULT = u"SendDispatchResult"
 

Detailed Description

defines all constant values used within a job environment.

@descr The protocol between job executor/dispatch and jobs is fix and well defined. But why every implemented job should write such constant values directly into it's code. Typos can occur or code will be changed by new developers ... Shared set of constant values can help to improve the maintenance of this code.

Definition at line 34 of file jobconst.hxx.

Member Data Documentation

◆ ANSWER_DEACTIVATE_JOB

constexpr OUStringLiteral framework::JobConst::ANSWER_DEACTIVATE_JOB = u"Deactivate"
staticconstexpr

◆ ANSWER_SAVE_ARGUMENTS

constexpr OUStringLiteral framework::JobConst::ANSWER_SAVE_ARGUMENTS = u"SaveArguments"
staticconstexpr

Definition at line 38 of file jobconst.hxx.

Referenced by framework::JobResult::JobResult().

◆ ANSWER_SEND_DISPATCHRESULT

constexpr OUStringLiteral framework::JobConst::ANSWER_SEND_DISPATCHRESULT = u"SendDispatchResult"
staticconstexpr

Definition at line 39 of file jobconst.hxx.

Referenced by framework::JobResult::JobResult().


The documentation for this class was generated from the following file: