summaryrefslogtreecommitdiffabout
path: root/src/eyefiworker.h
authorMichael Krelin <hacker@klever.net>2013-02-12 18:47:34 (UTC)
committer Michael Krelin <hacker@klever.net>2013-02-12 18:47:34 (UTC)
commitb80844f51353339cfbb8b35a5585911cdb4301e2 (patch) (side-by-side diff)
treea314f93bd5192c9d68b5ad9ea3ff9a8f70b2259b /src/eyefiworker.h
parentb1f275528c0a5502d9739948f131a0993f90cfbc (diff)
downloadiii-b80844f51353339cfbb8b35a5585911cdb4301e2.zip
iii-b80844f51353339cfbb8b35a5585911cdb4301e2.tar.gz
iii-b80844f51353339cfbb8b35a5585911cdb4301e2.tar.bz2
moved everything into worker class.
Diffstat (limited to 'src/eyefiworker.h') (more/less context) (show whitespace changes)
-rw-r--r--src/eyefiworker.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/eyefiworker.h b/src/eyefiworker.h
index afb97c7..6d4082c 100644
--- a/src/eyefiworker.h
+++ b/src/eyefiworker.h
@@ -1,15 +1,29 @@
#ifndef __EYEFIWORKER_H
#define __EYEFIWORKER_H
#include "soapeyefiService.h"
class eyefiworker : public eyefiService {
public:
eyefiworker();
int run(int port) __attribute__ ((noreturn));
+ int StartSession(std::string macaddress, std::string cnonce,
+ int transfermode, long transfermodetimestamp,
+ struct rns__StartSessionResponse &r);
+ int GetPhotoStatus(std::string credential, std::string macaddress,
+ std::string filename, long filesize, std::string filesignature, int flags,
+ struct rns__GetPhotoStatusResponse &r);
+ int MarkLastPhotoInRoll(std::string macaddress, int mergedelta,
+ struct rns__MarkLastPhotoInRollResponse &r);
+ int UploadPhoto(int fileid, std::string macaddress,
+ std::string filename, long filesize, std::string filesignature,
+ std::string encryption, int flags,
+ struct rns__UploadPhotoResponse &r);
+
+ eyefiService *copy() { throw std::logic_error("Not meant to be called"); }
};
#endif /* __EYEFIWORKER_H */