1*5c66ce18SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*5c66ce18SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*5c66ce18SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*5c66ce18SAndrew Rist  * distributed with this work for additional information
6*5c66ce18SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*5c66ce18SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*5c66ce18SAndrew Rist  * "License"); you may not use this file except in compliance
9*5c66ce18SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*5c66ce18SAndrew Rist  *
11*5c66ce18SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*5c66ce18SAndrew Rist  *
13*5c66ce18SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*5c66ce18SAndrew Rist  * software distributed under the License is distributed on an
15*5c66ce18SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*5c66ce18SAndrew Rist  * KIND, either express or implied.  See the License for the
17*5c66ce18SAndrew Rist  * specific language governing permissions and limitations
18*5c66ce18SAndrew Rist  * under the License.
19*5c66ce18SAndrew Rist  *
20*5c66ce18SAndrew Rist  *************************************************************/
21*5c66ce18SAndrew Rist 
22*5c66ce18SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #import <Cocoa/Cocoa.h>
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include "unzip.h" //for unzFile
27cdf0e10cSrcweir 
28cdf0e10cSrcweir @interface OOoSpotlightImporter : NSObject {
29cdf0e10cSrcweir }
30cdf0e10cSrcweir 
importDocument:contentType:attributes:(NSString*,NSString*,NSMutableDictionary*)31cdf0e10cSrcweir - (BOOL)importDocument:(NSString*)pathToFile contentType:(NSString*)contentTypeUTI attributes:(NSMutableDictionary*)attributes;
32cdf0e10cSrcweir 
openZipFileAtPath:(NSString*)33cdf0e10cSrcweir - (unzFile)openZipFileAtPath:(NSString*)pathToFile;
34cdf0e10cSrcweir 
metaDataFileFromZip:(unzFile)35cdf0e10cSrcweir - (NSData*)metaDataFileFromZip:(unzFile)unzipFile;
36cdf0e10cSrcweir 
contentDataFileFromZip:(unzFile)37cdf0e10cSrcweir - (NSData*)contentDataFileFromZip:(unzFile)unzipFile;
38cdf0e10cSrcweir @end
39