X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=remote.h;h=201165469d3a004799d1ed36794006f3a1a0b374;hp=a2801da1dfc463d93a0b2e3e0000742ad434f816;hb=f38dd9bcb0caffd3fc9126b05788c936690e8288;hpb=0dfc70e01ddb7d2bce0db03d5364c0bd3a2bb308 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();