X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=remote.h;h=201165469d3a004799d1ed36794006f3a1a0b374;hb=ac2119cf623ab1c2ea2a4e46005c2eee94a85ec0;hp=a2801da1dfc463d93a0b2e3e0000742ad434f816;hpb=0dfc70e01ddb7d2bce0db03d5364c0bd3a2bb308;p=cumulus.git diff --git a/remote.h b/remote.h index a2801da..2011654 100644 --- a/remote.h +++ b/remote.h @@ -39,10 +39,8 @@ class RemoteStore { public: static const size_t MAX_QUEUE_SIZE = 4; - RemoteStore(const std::string &stagedir); + RemoteStore(const std::string &stagedir, const std::string &script = ""); ~RemoteStore(); - void set_script(const std::string &script) - { backup_script = script; } RemoteFile *alloc_file(const std::string &name, const std::string &type); void enqueue(RemoteFile *file); void sync();