3 Copyright (c) 1990-2000 Info-ZIP. All rights reserved.
5 See the accompanying file LICENSE, version 2000-Apr-09 or later
6 (the contents of which are also included in unzip.h) for terms of use.
7 If, for some reason, all these files are missing, the Info-ZIP license
8 also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
11 // WARNING: This is C++, not C! GNU C is not supported here!
15 // BeOS-specific C++ routines for use with Info-ZIP's UnZip 5.30 or later.
17 // This is necessary because we need to have an app_server connection to be
18 // able to ask the system to assign a MIME type to an un-typed file. Strange
19 // but true (the update_mime_info() call needs to send/receive messages).
21 // If you're writing your own Zip application, you probably DO NOT want to
24 #include <app/Application.h>
27 const static char *unzip_signature
= "application/x-vnd.Info-ZIP.UnZipSFX";
29 const static char *unzip_signature
= "application/x-vnd.Info-ZIP.UnZip";
32 extern "C" int main_stub( int argc
, char *argv
[] );
34 int main( int argc
, char **argv
)
36 BApplication
app( unzip_signature
);
38 return main_stub( argc
, argv
);