1983d4c8aSAndrew Rist /************************************************************** 2983d4c8aSAndrew Rist * 3983d4c8aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4983d4c8aSAndrew Rist * or more contributor license agreements. See the NOTICE file 5983d4c8aSAndrew Rist * distributed with this work for additional information 6983d4c8aSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7983d4c8aSAndrew Rist * to you under the Apache License, Version 2.0 (the 8983d4c8aSAndrew Rist * "License"); you may not use this file except in compliance 9983d4c8aSAndrew Rist * with the License. You may obtain a copy of the License at 10983d4c8aSAndrew Rist * 11983d4c8aSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12983d4c8aSAndrew Rist * 13983d4c8aSAndrew Rist * Unless required by applicable law or agreed to in writing, 14983d4c8aSAndrew Rist * software distributed under the License is distributed on an 15983d4c8aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16983d4c8aSAndrew Rist * KIND, either express or implied. See the License for the 17983d4c8aSAndrew Rist * specific language governing permissions and limitations 18983d4c8aSAndrew Rist * under the License. 19983d4c8aSAndrew Rist * 20983d4c8aSAndrew Rist *************************************************************/ 21983d4c8aSAndrew Rist 22*79cb83d0SHerbert Dürr #ifndef L10NTOOLS_FILE_HXX 23*79cb83d0SHerbert Dürr #define L10NTOOLS_FILE_HXX 24*79cb83d0SHerbert Dürr 25cdf0e10cSrcweir #include "rtl/ustring.hxx" 26cdf0e10cSrcweir 27cdf0e10cSrcweir namespace transex 28cdf0e10cSrcweir { 29cdf0e10cSrcweir 30cdf0e10cSrcweir class File 31cdf0e10cSrcweir { 32cdf0e10cSrcweir private: 33cdf0e10cSrcweir rtl::OUString sFileName; 34cdf0e10cSrcweir rtl::OUString sFullName; 35cdf0e10cSrcweir 36cdf0e10cSrcweir public: getFileName()37cdf0e10cSrcweir rtl::OUString getFileName(){ return sFileName; } getFullName()38cdf0e10cSrcweir rtl::OUString getFullName(){ return sFullName; } 39cdf0e10cSrcweir 40cdf0e10cSrcweir File( const rtl::OUString sFile ); 41cdf0e10cSrcweir File( const rtl::OUString sFullName , const rtl::OUString sFile ); 42cdf0e10cSrcweir 43cdf0e10cSrcweir static bool lessFile ( const File& rKey1, const File& rKey2 ); 44cdf0e10cSrcweir 45cdf0e10cSrcweir }; 46cdf0e10cSrcweir 47cdf0e10cSrcweir } 48*79cb83d0SHerbert Dürr 49*79cb83d0SHerbert Dürr #endif // L10NTOOLS_FILE_HXX 50*79cb83d0SHerbert Dürr 51