Add 9a03f1d0... changes in autogenerated files
[g2-sharing] / src / gallery2.h
1 /*
2  * This file is part of sharing-plugin-gallery2
3  *
4  * Copyright (C) 2009 Heikki Kallasjoki. All rights reserved.
5  * Copyright (C) 2008-2009 Nokia Corporation. All rights reserved.
6  *
7  * This code is licensed under a MIT-style license, that can be
8  * found in the file called "COPYING" in the root directory.
9  *
10  */
11
12 #ifndef _GALLERY2_H_
13 #define _GALLERY2_H_
14
15 #include <glib.h>
16 #include <sharing-plugin-interface.h>
17 #include <sharing-account.h>
18 #include <sharing-transfer.h>
19 #include <conicconnection.h>
20
21 G_BEGIN_DECLS
22
23 SharingPluginInterfaceAccountValidateResult
24 gallery2_login (ConIcConnection* con,
25                 const gchar* urlbase, const gchar* username, const gchar* password,
26                 GHashTable** cookies, gchar** auth);
27
28 SharingPluginInterfaceAccountValidateResult
29 gallery2_lookup_album (ConIcConnection* con,
30                 const gchar* urlbase, const gchar* albumpath, gchar** album,
31                 GHashTable* cookies, gchar* auth);
32
33 SharingPluginInterfaceSendResult
34 gallery2_send (ConIcConnection* con,
35                 SharingTransfer* transfer, gdouble progress_start, gdouble progress_end, gboolean *dms,
36                 SharingEntryMedia* media,
37                 const gchar* urlbase, const gchar* album, GHashTable* cookies, gchar* auth);
38
39 G_END_DECLS
40
41 #endif // _GALLERY2_H_