xref: /AOO41X/main/shell/qa/zip/testimpl/testzipimpl.hxx (revision ed2f6d3b4127aa9576a9667dbd2c62d447976796)
1*ed2f6d3bSAndrew Rist /**************************************************************
25448f169SMichael Stahl  *
3*ed2f6d3bSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*ed2f6d3bSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*ed2f6d3bSAndrew Rist  * distributed with this work for additional information
6*ed2f6d3bSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*ed2f6d3bSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*ed2f6d3bSAndrew Rist  * "License"); you may not use this file except in compliance
9*ed2f6d3bSAndrew Rist  * with the License.  You may obtain a copy of the License at
105448f169SMichael Stahl  *
11*ed2f6d3bSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
125448f169SMichael Stahl  *
13*ed2f6d3bSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*ed2f6d3bSAndrew Rist  * software distributed under the License is distributed on an
15*ed2f6d3bSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*ed2f6d3bSAndrew Rist  * KIND, either express or implied.  See the License for the
17*ed2f6d3bSAndrew Rist  * specific language governing permissions and limitations
18*ed2f6d3bSAndrew Rist  * under the License.
195448f169SMichael Stahl  *
20*ed2f6d3bSAndrew Rist  *************************************************************/
21*ed2f6d3bSAndrew Rist 
22*ed2f6d3bSAndrew Rist 
235448f169SMichael Stahl 
245448f169SMichael Stahl // MARKER(update_precomp.py): autogen include statement, do not remove
255448f169SMichael Stahl #include "precompiled_shell.hxx"
265448f169SMichael Stahl #include "internal/zipfile.hxx"
275448f169SMichael Stahl #include <string>
285448f169SMichael Stahl #include <vector>
295448f169SMichael Stahl #include <algorithm>
305448f169SMichael Stahl #include "sal/types.h"
315448f169SMichael Stahl #if defined(DLLIMPLEMENTATION)
325448f169SMichael Stahl 	#define DLLPUBLIC  SAL_DLLPUBLIC_EXPORT
335448f169SMichael Stahl #else
345448f169SMichael Stahl 	#define DLLPUBLIC  SAL_DLLPUBLIC_IMPORT
355448f169SMichael Stahl #endif
365448f169SMichael Stahl 
375448f169SMichael Stahl using namespace std;
385448f169SMichael Stahl 
395448f169SMichael Stahl class DLLPUBLIC TestZipImpl
405448f169SMichael Stahl {
415448f169SMichael Stahl 		private:
425448f169SMichael Stahl 				ZipFile zipFile;
435448f169SMichael Stahl 		public:
445448f169SMichael Stahl 				TestZipImpl(const char * documentName);
455448f169SMichael Stahl 				~TestZipImpl();
465448f169SMichael Stahl 				bool test_directory();
475448f169SMichael Stahl 				bool test_hasContentCaseInSensitive();
485448f169SMichael Stahl 				bool test_getContent();
495448f169SMichael Stahl };
505448f169SMichael Stahl 
51