1*2037b4deSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*2037b4deSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*2037b4deSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*2037b4deSAndrew Rist * distributed with this work for additional information 6*2037b4deSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*2037b4deSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*2037b4deSAndrew Rist * "License"); you may not use this file except in compliance 9*2037b4deSAndrew Rist * with the License. You may obtain a copy of the License at 10*2037b4deSAndrew Rist * 11*2037b4deSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*2037b4deSAndrew Rist * 13*2037b4deSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*2037b4deSAndrew Rist * software distributed under the License is distributed on an 15*2037b4deSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*2037b4deSAndrew Rist * KIND, either express or implied. See the License for the 17*2037b4deSAndrew Rist * specific language governing permissions and limitations 18*2037b4deSAndrew Rist * under the License. 19*2037b4deSAndrew Rist * 20*2037b4deSAndrew Rist *************************************************************/ 21*2037b4deSAndrew Rist 22*2037b4deSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_JAVAOPTIONS_HXX 25cdf0e10cSrcweir #define INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_JAVAOPTIONS_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include "codemaker/options.hxx" 28cdf0e10cSrcweir 29cdf0e10cSrcweir class JavaOptions : public Options 30cdf0e10cSrcweir { 31cdf0e10cSrcweir public: JavaOptions()32cdf0e10cSrcweir JavaOptions() 33cdf0e10cSrcweir : Options() {} 34cdf0e10cSrcweir ~JavaOptions()35cdf0e10cSrcweir ~JavaOptions() {} 36cdf0e10cSrcweir 37cdf0e10cSrcweir sal_Bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False) 38cdf0e10cSrcweir throw( IllegalArgument ); 39cdf0e10cSrcweir 40cdf0e10cSrcweir ::rtl::OString prepareHelp(); 41cdf0e10cSrcweir 42cdf0e10cSrcweir ::rtl::OString prepareVersion(); 43cdf0e10cSrcweir 44cdf0e10cSrcweir protected: 45cdf0e10cSrcweir }; 46cdf0e10cSrcweir 47cdf0e10cSrcweir #endif // INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_JAVAOPTIONS_HXX 48