Source code upload
[framework/connectivity/libgphoto2.git] / camlibs / lg_gsm / lg_gsm.h
1 /* lg_gsm.h
2  *
3  * Copyright (C) 2005 Guillaume Bedot <littletux@zarb.org>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful, 
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details. 
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __LG_GSM_H__
22 #define __LG_GSM_H__
23
24 #include <gphoto2/gphoto2-port.h>
25
26 typedef unsigned char Info;
27
28 typedef enum {
29         MODEL_LG_T5100
30 } Model;
31
32 int lg_gsm_init              (GPPort *port, Model *model, Info *info);
33 unsigned int lg_gsm_get_picture_size  (GPPort *port, int pic);
34 int lg_gsm_read_picture_data (GPPort *port, char *data, int size, int n);
35 int lg_gsm_list_files (GPPort *port, CameraList *list);
36
37 #endif
38