~bcurtiswx/ubuntu/precise/empathy/3.4.2.3-0ubuntu1

« back to all changes in this revision

Viewing changes to libempathy/empathy-ft-handler.h

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-12-21 15:12:56 UTC
  • mfrom: (1.1.84)
  • Revision ID: package-import@ubuntu.com-20111221151256-9b1pny75wphfmqd6
Tags: 3.3.3-0ubuntu1
* New upstream version
  - Require folks >= 0.6.6 (LP: #907501)
* debian/control
  - bump build depends for folks to >= 0.6.6
* debian/watch
  - use the .xz file

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <glib-object.h>
28
28
#include <gio/gio.h>
29
29
 
30
 
#include "empathy-tp-file.h"
 
30
#include <telepathy-glib/file-transfer-channel.h>
 
31
 
31
32
#include "empathy-contact.h"
32
33
 
33
34
G_BEGIN_DECLS
56
57
  GObjectClass parent_class;
57
58
} EmpathyFTHandlerClass;
58
59
 
 
60
#define EMPATHY_FT_ERROR_QUARK g_quark_from_static_string ("EmpathyFTError")
 
61
 
 
62
typedef enum {
 
63
        EMPATHY_FT_ERROR_FAILED,
 
64
        EMPATHY_FT_ERROR_HASH_MISMATCH,
 
65
        EMPATHY_FT_ERROR_TP_ERROR,
 
66
        EMPATHY_FT_ERROR_SOCKET,
 
67
        EMPATHY_FT_ERROR_NOT_SUPPORTED,
 
68
        EMPATHY_FT_ERROR_INVALID_SOURCE_FILE,
 
69
        EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE
 
70
} EmpathyFTErrorEnum;
 
71
 
59
72
/**
60
73
 * EmpathyFTHandlerReadyCallback:
61
74
 * @handler: the handler which is now ready
75
88
    EmpathyFTHandlerReadyCallback callback,
76
89
    gpointer user_data);
77
90
 
78
 
void empathy_ft_handler_new_incoming (EmpathyTpFile *tp_file,
 
91
void empathy_ft_handler_new_incoming (TpFileTransferChannel *channel,
79
92
    EmpathyFTHandlerReadyCallback callback,
80
93
    gpointer user_data);
81
94
void empathy_ft_handler_incoming_set_destination (EmpathyFTHandler *handler,