upgtools: allow creation of a UPG archive + improvements
[maemo-rb.git] / tools / creative.h
blobee2cf90582072f975a9d845ed569db424fa5b0dd
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2008 by Maurus Cuelenaere
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef CREATIVE_H_
23 #define CREATIVE_H_
25 enum
27 ZENVISIONM = 0,
28 ZENVISIONM60 = 1,
29 ZENVISION = 2,
30 ZENV = 3,
31 ZEN = 4
34 struct device_info
36 const char* cinf; /*Must be Unicode encoded*/
37 const unsigned int cinf_size;
38 const char* null;
41 int zvm_encode(const char *iname, const char *oname, int device, bool enable_ciff);
43 #endif /*CREATIVE_H_*/