-rw-r--r-- | src/eyefiworker.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/eyefiworker.h b/src/eyefiworker.h index 6cdecff..61d92d2 100644 --- a/src/eyefiworker.h +++ b/src/eyefiworker.h | |||
@@ -3,9 +3,21 @@ | |||
3 | 3 | ||
4 | #include <tr1/memory> | ||
5 | using std::tr1::shared_ptr; | ||
6 | |||
4 | #include "soapeyefiService.h" | 7 | #include "soapeyefiService.h" |
5 | 8 | ||
9 | #include "eyekinfig.h" | ||
10 | #include "eyetil.h" | ||
11 | |||
12 | struct eyefi_session; | ||
13 | |||
6 | class eyefiworker : public eyefiService { | 14 | class eyefiworker : public eyefiService { |
7 | public: | 15 | public: |
16 | shared_ptr<eyekinfig_t> kinfig; | ||
17 | shared_ptr<tmpdir_t> indir; | ||
18 | shared_ptr<mimewrite_tarfile> mime_tarfile; | ||
19 | shared_ptr<mimewrite_string> mime_idigest; | ||
8 | 20 | ||
9 | eyefiworker(); | 21 | eyefiworker(); |
10 | ~eyefiworker(); | 22 | ~eyefiworker() { } |
11 | 23 | ||
@@ -26,2 +38,7 @@ class eyefiworker : public eyefiService { | |||
26 | 38 | ||
39 | void *mime_writeopen(void *handle,const char *id,const char *type,const char *description, | ||
40 | enum soap_mime_encoding encoding); | ||
41 | int mime_write(void *handle,const char *buf,size_t len); | ||
42 | void mime_writeclose(void *handle); | ||
43 | |||
27 | eyefiService *copy() { throw std::logic_error("Not meant to be called"); } | 44 | eyefiService *copy() { throw std::logic_error("Not meant to be called"); } |