blob: 702a1b6ff130e2e6036042323c2ec409462e9282 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/*
* Copyright © 2012 Intel Corp.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*
* Authored by: Rob Staudinger <robsta@linux.intel.com>
*/
#ifndef YTS_OUTGOING_FILE_H
#define YTS_OUTGOING_FILE_H
#include <glib-object.h>
G_BEGIN_DECLS
#define YTS_TYPE_OUTGOING_FILE yts_outgoing_file_get_type()
#define YTS_OUTGOING_FILE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), YTS_TYPE_OUTGOING_FILE, YtsOutgoingFile))
#define YTS_IS_OUTGOING_FILE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), YTS_TYPE_OUTGOING_FILE))
typedef struct YtsOutgoingFile YtsOutgoingFile;
GType
yts_outgoing_file_get_type (void) G_GNUC_CONST;
#define YTS_OUTGOING_FILE_ERROR g_quark_from_static_string (__FILE__)
enum {
YTS_OUTGOING_FILE_ERROR_NO_ACCOUNT,
YTS_OUTGOING_FILE_ERROR_NO_CONNECTION,
YTS_OUTGOING_FILE_ERROR_NO_FILE,
YTS_OUTGOING_FILE_ERROR_READ_FAILED,
YTS_OUTGOING_FILE_ERROR_NO_RECIPIENT_CONTACT,
YTS_OUTGOING_FILE_ERROR_NO_RECIPIENT_SERVICE,
YTS_OUTGOING_FILE_ERROR_CHANNEL_FAILED,
YTS_OUTGOING_FILE_ERROR_TRANSFER_FAILED
};
G_END_DECLS
#endif /* YTS_OUTGOING_FILE_H */
|