X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=sharing-plugin-gallery2%2Fsrc%2Fgallery2.h;fp=sharing-plugin-gallery2%2Fsrc%2Fgallery2.h;h=195f2033190071251213273c2b779bbc50d31020;hb=0086d868075333d8836da2ebcdd19ff09e400926;hp=0000000000000000000000000000000000000000;hpb=52d8bba29f59b9d4db33e5eec903487587b9539c;p=g2-sharing diff --git a/sharing-plugin-gallery2/src/gallery2.h b/sharing-plugin-gallery2/src/gallery2.h new file mode 100644 index 0000000..195f203 --- /dev/null +++ b/sharing-plugin-gallery2/src/gallery2.h @@ -0,0 +1,41 @@ +/* + * This file is part of sharing-plugin-gallery2 + * + * Copyright (C) 2009 Heikki Kallasjoki. All rights reserved. + * Copyright (C) 2008-2009 Nokia Corporation. All rights reserved. + * + * This code is licensed under a MIT-style license, that can be + * found in the file called "COPYING" in the root directory. + * + */ + +#ifndef _GALLERY2_H_ +#define _GALLERY2_H_ + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +SharingPluginInterfaceAccountValidateResult +gallery2_login (ConIcConnection* con, + const gchar* urlbase, const gchar* username, const gchar* password, + GHashTable** cookies, gchar** auth); + +SharingPluginInterfaceAccountValidateResult +gallery2_lookup_album (ConIcConnection* con, + const gchar* urlbase, const gchar* albumpath, gchar** album, + GHashTable* cookies, gchar* auth); + +SharingPluginInterfaceSendResult +gallery2_send (ConIcConnection* con, + SharingTransfer* transfer, gdouble progress_start, gdouble progress_end, gboolean *dms, + SharingEntryMedia* media, + const gchar* urlbase, const gchar* album, GHashTable* cookies, gchar* auth); + +G_END_DECLS + +#endif // _GALLERY2_H_