QTfrontend/util/libav_iteraction.h
changeset 7280 fd707afbc3a2
parent 7235 baa69bd025d9
child 7631 01b599d6f72d
--- a/QTfrontend/util/libav_iteraction.h	Sun Jun 24 20:31:26 2012 +0400
+++ b/QTfrontend/util/libav_iteraction.h	Sun Jun 24 20:57:02 2012 +0400
@@ -34,8 +34,16 @@
 
     static LibavIteraction & instance();
 
-    void FillFormats(QComboBox * pFormats);
-    void FillCodecs(const QVariant & format, QComboBox * pVCodecs, QComboBox * pACodecs);
+    // fill combo box with known file formats
+    void fillFormats(QComboBox * pFormats);
+
+    // fill combo boxes with known codecs for given formats
+    void fillCodecs(const QString & format, QComboBox * pVCodecs, QComboBox * pACodecs);
+
+    QString getExtension(const QString & format);
+
+    // get information about file (duration, resolution etc) in multiline string
+    QString getFileInfo(const QString & filepath);
 };
 
 #endif // LIBAV_ITERACTION