History

First cut of a snapshot uploader

Will need to test end-to-end shortly, etc...

David Kelly committed 10 years ago

Commit c8f3a891 parent e0973f37 files · +126 −2Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 7 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.h+2−0
@@ -55,12 +55,14 @@ public slots: · 54 unmodified lines
5555 QScriptValue save(const QString& title = "", const QString& directory = "", const QString& nameFilter = "");
5656 void copyToClipboard(const QString& text);
5757 void takeSnapshot(bool notify);
58+ void shareSnapshot(const QString& path);
5859
5960 signals:
6061 void domainChanged(const QString& domainHostname);
6162 void svoImportRequested(const QString& url);
6263 void domainConnectionRefused(const QString& reasonMessage, int reasonCode);
6364 void snapshotTaken(const QString& path, bool notify);
65+ void snapshotShared(bool success);
6466
6567 private slots:
6668 WebWindowClass* doCreateWebWindow(const QString& title, const QString& url, int width, int height);