1f8e07b45SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3f8e07b45SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4f8e07b45SAndrew Rist * or more contributor license agreements. See the NOTICE file 5f8e07b45SAndrew Rist * distributed with this work for additional information 6f8e07b45SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7f8e07b45SAndrew Rist * to you under the Apache License, Version 2.0 (the 8f8e07b45SAndrew Rist * "License"); you may not use this file except in compliance 9f8e07b45SAndrew Rist * with the License. You may obtain a copy of the License at 10f8e07b45SAndrew Rist * 11f8e07b45SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12f8e07b45SAndrew Rist * 13f8e07b45SAndrew Rist * Unless required by applicable law or agreed to in writing, 14f8e07b45SAndrew Rist * software distributed under the License is distributed on an 15f8e07b45SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16f8e07b45SAndrew Rist * KIND, either express or implied. See the License for the 17f8e07b45SAndrew Rist * specific language governing permissions and limitations 18f8e07b45SAndrew Rist * under the License. 19f8e07b45SAndrew Rist * 20f8e07b45SAndrew Rist *************************************************************/ 21f8e07b45SAndrew Rist 22f8e07b45SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef __FRAMEWORK_JOBS_JOBCONST_HXX_ 25cdf0e10cSrcweir #define __FRAMEWORK_JOBS_JOBCONST_HXX_ 26cdf0e10cSrcweir 27cdf0e10cSrcweir //_______________________________________ 28cdf0e10cSrcweir // my own includes 29cdf0e10cSrcweir 30cdf0e10cSrcweir #include <stdtypes.h> 31cdf0e10cSrcweir #include <general.h> 32cdf0e10cSrcweir 33cdf0e10cSrcweir //_______________________________________ 34cdf0e10cSrcweir // interface includes 35cdf0e10cSrcweir 36cdf0e10cSrcweir //_______________________________________ 37cdf0e10cSrcweir // other includes 38cdf0e10cSrcweir 39cdf0e10cSrcweir #include <rtl/ustring.hxx> 40cdf0e10cSrcweir #include <fwidllapi.h> 41cdf0e10cSrcweir 42cdf0e10cSrcweir //_______________________________________ 43cdf0e10cSrcweir // namespace 44cdf0e10cSrcweir 45cdf0e10cSrcweir namespace framework{ 46cdf0e10cSrcweir 47cdf0e10cSrcweir //_______________________________________ 48cdf0e10cSrcweir // public const 49cdf0e10cSrcweir 50cdf0e10cSrcweir //_______________________________________ 51cdf0e10cSrcweir /** 52cdf0e10cSrcweir @short defines all constant values used within a job environment. 53cdf0e10cSrcweir 54cdf0e10cSrcweir @descr The protocol between job executor/dispatch and jobs is fix and well defined. 55cdf0e10cSrcweir But why every implemented job should write such constant values directly into 56*07a3d7f1SPedro Giffuni it's code. Typos can occur or code will be changed by new developers ... 57cdf0e10cSrcweir Shared set of constant values can help to improve the mentainance of this code. 58cdf0e10cSrcweir */ 59cdf0e10cSrcweir class FWI_DLLPUBLIC JobConst 60cdf0e10cSrcweir { 61cdf0e10cSrcweir public: 62cdf0e10cSrcweir static const ::rtl::OUString ANSWER_DEACTIVATE_JOB(); 63cdf0e10cSrcweir static const ::rtl::OUString ANSWER_SAVE_ARGUMENTS(); 64cdf0e10cSrcweir static const ::rtl::OUString ANSWER_SEND_DISPATCHRESULT(); 65cdf0e10cSrcweir }; 66cdf0e10cSrcweir 67cdf0e10cSrcweir } // namespace framework 68cdf0e10cSrcweir 69cdf0e10cSrcweir #endif // __FRAMEWORK_JOBS_JOBCONST_HXX_ 70