]> git.sesse.net Git - kdenlive/blobdiff - src/timecode.h
krazy fix: add explicit to declarations
[kdenlive] / src / timecode.h
index 7a2fb91be3870b85eb476e72f2ea6d7d67359670..df31701e49e8ff9cb7f825029693a61e706569ee 100644 (file)
@@ -30,7 +30,7 @@ class Timecode {
 public:
     enum Formats { HH_MM_SS_FF, HH_MM_SS_HH, Frames, Seconds };
 
-    Timecode(Formats format = HH_MM_SS_FF, int framesPerSecond =
+    explicit Timecode(Formats format = HH_MM_SS_FF, int framesPerSecond =
                  25, bool dropFrame = false);
 
     /** Set the current timecode format; this is the output format for this timecode. */
@@ -51,6 +51,7 @@ public:
     int getFrameCount(const QString duration, double fps) const;
     static QString getEasyTimecode(const GenTime & time, const double &fps);
     QString getTimecodeFromFrames(int frames);
+    int fps();
 
 private:
     Formats m_format;