~ubuntu-branches/ubuntu/maverick/usb-creator/maverick

« back to all changes in this revision

Viewing changes to tools/pylauncher/unpack.h

  • Committer: Bazaar Package Importer
  • Author(s): Evan Dandrea, Evan Dandrea, Roderick B. Greening
  • Date: 2009-08-26 21:16:18 UTC
  • Revision ID: james.westby@ubuntu.com-20090826211618-d1p2wkg661375fz9
Tags: 0.2.3
[ Evan Dandrea ]
* Depend on python-qt4-dbus.  Thanks Daniel T. Chen (LP: #404553).
* New KDE icon.  Thanks Jonathan Riddell and Ken Wimer!
* Massively cleaned up the structure of the usb-creator code.
* Replaced the HAL backend with a DeviceKit-disks backend.
* Added a Windows frontend and backend (built outside the archive).
* Manage the install routine and progress feedback in separate threads,
  rather than a separate process.
* Replace dependency on parted and mtools with devicekit-disks.

[ Roderick B. Greening ]
* Update ui file name for KDE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2007, 2008 Agostino Russo
 
3
 *
 
4
 *  Written by Agostino Russo <agostino.russo@gmail.com>
 
5
 *  Heavily inspired by exemaker from Fredrik Lundh
 
6
 *
 
7
 *  pylauncher is free software; you can redistribute it and/or modify
 
8
 *  it under the terms of the GNU General Public License as
 
9
 *  published by the Free Software Foundation; either version 2 of
 
10
 *  the License, or (at your option) any later version.
 
11
 *
 
12
 *  pylauncher is distributed in the hope that it will be useful,
 
13
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 *  GNU General Public License for more details.
 
16
 *
 
17
 *  You should have received a copy of the GNU General Public License
 
18
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
19
 *
 
20
 * DESCRIPTION:
 
21
 * Unpacks an lzma archive
 
22
 */
 
23
 
 
24
#include <string.h>
 
25
#include <stdio.h>
 
26
#include <stdlib.h>
 
27
#include <sys/stat.h>
 
28
#include <io.h>
 
29
 
 
30
#include "../7z/C/Archive/7z/7zIn.h"
 
31
#include "../7z/C/Archive/7z/7zExtract.h"
 
32
#include "../7z/C/7zCrc.h"
 
33
 
 
34
#ifdef USE_WINDOWS_FUNCTIONS
 
35
#include <windows.h>
 
36
#endif
 
37
 
 
38
int unpack(char *archive);