src/prompts.h

changeset 26
9aab482c9125
parent 20
a5457405cc9b
child 30
6b82f6a3ad53
--- a/src/prompts.h	Sun Sep 08 19:56:11 2013 +0300
+++ b/src/prompts.h	Sun Sep 08 21:02:10 2013 +0300
@@ -25,7 +25,10 @@
 
 class QAbstractButton;
 class Ui_UnknownVersion;
+class Ui_FindFile;
 
+// =============================================================================
+// -----------------------------------------------------------------------------
 class UnknownVersionPrompt : public QDialog {
 	Q_OBJECT
 	
@@ -39,9 +42,27 @@
 	void addBinary();
 	
 private:
-	Ui_UnknownVersion* ui;
-	QString m_binaryString;
-	bool m_isRelease;
+	Ui_UnknownVersion*   ui;
+	QString            m_binaryString;
+	bool               m_isRelease;
+};
+
+// =============================================================================
+// -----------------------------------------------------------------------------
+class FindFilePrompt : public QDialog {
+	Q_OBJECT
+	
+public:
+	explicit FindFilePrompt (QWidget* parent = 0, Qt::WindowFlags f = 0);
+	virtual ~FindFilePrompt();
+	
+	str path() const;
+	
+public slots:
+	void findDemo();
+	
+private:
+	Ui_FindFile* m_ui;
 };
 
 #endif // ZANDEMO_PROMPTS_H
\ No newline at end of file

mercurial