1228b4580SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3228b4580SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4228b4580SAndrew Rist * or more contributor license agreements. See the NOTICE file 5228b4580SAndrew Rist * distributed with this work for additional information 6228b4580SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7228b4580SAndrew Rist * to you under the Apache License, Version 2.0 (the 8228b4580SAndrew Rist * "License"); you may not use this file except in compliance 9228b4580SAndrew Rist * with the License. You may obtain a copy of the License at 10228b4580SAndrew Rist * 11228b4580SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12228b4580SAndrew Rist * 13228b4580SAndrew Rist * Unless required by applicable law or agreed to in writing, 14228b4580SAndrew Rist * software distributed under the License is distributed on an 15228b4580SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16228b4580SAndrew Rist * KIND, either express or implied. See the License for the 17228b4580SAndrew Rist * specific language governing permissions and limitations 18228b4580SAndrew Rist * under the License. 19228b4580SAndrew Rist * 20228b4580SAndrew Rist *************************************************************/ 21228b4580SAndrew Rist 22228b4580SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef __FRAMEWORK_COMMANDS_H_ 25cdf0e10cSrcweir #define __FRAMEWORK_COMMANDS_H_ 26cdf0e10cSrcweir 27cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 28cdf0e10cSrcweir // includes 29cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 30cdf0e10cSrcweir 31cdf0e10cSrcweir #include <macros/generic.hxx> 32cdf0e10cSrcweir #include <vos/process.hxx> 33cdf0e10cSrcweir #include <rtl/ustring.hxx> 34cdf0e10cSrcweir 35cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 36cdf0e10cSrcweir // namespace 37cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 38cdf0e10cSrcweir 39cdf0e10cSrcweir namespace framework{ 40cdf0e10cSrcweir 41cdf0e10cSrcweir /*-************************************************************************************************************//** 42cdf0e10cSrcweir @short These values describe some command line arguments of our office. 43cdf0e10cSrcweir We need it e.g. to detect running mode of it - plugin, headless ... 44cdf0e10cSrcweir *//*-*************************************************************************************************************/ 45cdf0e10cSrcweir 46cdf0e10cSrcweir #define COMMAND_PLUGIN DECLARE_ASCII("-plugin" ) /// office is plugged into a browser 47cdf0e10cSrcweir #define COMMAND_HEADLESS DECLARE_ASCII("-headless" ) /// office runs in headless mode for scripting 48*07a3d7f1SPedro Giffuni #define COMMAND_INVISIBLE DECLARE_ASCII("-invisible" ) /// office runs in invisible mode which suppress splash screen and first empry document 49cdf0e10cSrcweir #define COMMAND_SERVER DECLARE_ASCII("-server" ) /// office runs as server 50cdf0e10cSrcweir } // namespace framework 51cdf0e10cSrcweir 52cdf0e10cSrcweir #endif // #ifndef __FRAMEWORK_TARGETS_H_ 53