| 1 | /***************************************************************************** |
| 2 | ** QNapi |
| 3 | ** Copyright (C) 2008-2017 Piotr KrzemiĆski <[email protected]> |
| 4 | ** |
| 5 | ** This program is free software; you can redistribute it and/or modify |
| 6 | ** it under the terms of the GNU General Public License as published by |
| 7 | ** the Free Software Foundation; either version 2 of the License, or |
| 8 | ** (at your option) any later version. |
| 9 | ** |
| 10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
| 11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | ** |
| 13 | *****************************************************************************/ |
| 14 | |
| 15 | #ifndef MOVIEINFO_H |
| 16 | #define MOVIEINFO_Hcxx . . $ `libqnapi/src/movieinfo/movieinfo.h:16:9`! |
| 17 | |
| 18 | #include <QMetaType> |
| 19 | #include <QObject> |
| 20 | |
| 21 | class MovieInfocxx . . $ MovieInfo# { |
| 22 | private: |
| 23 | int width_cxx . . $ MovieInfo#width_.; |
| 24 | int height_cxx . . $ MovieInfo#height_.; |
| 25 | double frameRate_cxx . . $ MovieInfo#frameRate_.; |
| 26 | double durationSecs_cxx . . $ MovieInfo#durationSecs_.; |
| 27 | |
| 28 | public: |
| 29 | MovieInfocxx . . $ MovieInfo#MovieInfo(37e84e2efb9d205c).(const int& width, const int& height, const double& frameRate, |
| 30 | const double& durationSecs) |
| 31 | : width_cxx . . $ MovieInfo#width_.(width), |
| 32 | height_cxx . . $ MovieInfo#height_.(height), |
| 33 | frameRate_cxx . . $ MovieInfo#frameRate_.(frameRate), |
| 34 | durationSecs_cxx . . $ MovieInfo#durationSecs_.(durationSecs) {} |
| 35 | |
| 36 | MovieInfocxx . . $ MovieInfo#MovieInfo(49f6e7a06ebc5aa8).() : width_cxx . . $ MovieInfo#width_.(0), height_cxx . . $ MovieInfo#height_.(0), frameRate_cxx . . $ MovieInfo#frameRate_.(0.0), durationSecs_cxx . . $ MovieInfo#durationSecs_.(0.0) {} |
| 37 | |
| 38 | virtual ~cxx . . $ MovieInfo#`~MovieInfo`(49f6e7a06ebc5aa8).MovieInfocxx . . $ MovieInfo#() {} |
| 39 | |
| 40 | int widthcxx . . $ MovieInfo#width(455f465bc33b4cdf).() const { return width_cxx . . $ MovieInfo#width_.; } |
| 41 | int heightcxx . . $ MovieInfo#height(455f465bc33b4cdf).() const { return height_cxx . . $ MovieInfo#height_.; } |
| 42 | double frameRatecxx . . $ MovieInfo#frameRate(21b6c25e127938e2).() const { return frameRate_cxx . . $ MovieInfo#frameRate_.; } |
| 43 | double durationSecscxx . . $ MovieInfo#durationSecs(21b6c25e127938e2).() const { return durationSecs_cxx . . $ MovieInfo#durationSecs_.; } |
| 44 | |
| 45 | const MovieInfocxx . . $ MovieInfo# setWidthcxx . . $ MovieInfo#setWidth(629fbef72bee9b7f).(const int& width) const { |
| 46 | return MovieInfocxx . . $ MovieInfo#MovieInfo(37e84e2efb9d205c).(width, height_cxx . . $ MovieInfo#height_., frameRate_cxx . . $ MovieInfo#frameRate_., durationSecs_cxx . . $ MovieInfo#durationSecs_.); |
| 47 | } |
| 48 | const MovieInfocxx . . $ MovieInfo# setHeightcxx . . $ MovieInfo#setHeight(629fbef72bee9b7f).(const int& height) const { |
| 49 | return MovieInfocxx . . $ MovieInfo#MovieInfo(37e84e2efb9d205c).(width_cxx . . $ MovieInfo#width_., height, frameRate_cxx . . $ MovieInfo#frameRate_., durationSecs_cxx . . $ MovieInfo#durationSecs_.); |
| 50 | } |
| 51 | const MovieInfocxx . . $ MovieInfo# setFrameRatecxx . . $ MovieInfo#setFrameRate(99eceb1bb34397cb).(const double& frameRate) const { |
| 52 | return MovieInfocxx . . $ MovieInfo#MovieInfo(37e84e2efb9d205c).(width_cxx . . $ MovieInfo#width_., height_cxx . . $ MovieInfo#height_., frameRate, durationSecs_cxx . . $ MovieInfo#durationSecs_.); |
| 53 | } |
| 54 | const MovieInfocxx . . $ MovieInfo# setDurationSecscxx . . $ MovieInfo#setDurationSecs(99eceb1bb34397cb).(const double& durationSecs) const { |
| 55 | return MovieInfocxx . . $ MovieInfo#MovieInfo(37e84e2efb9d205c).(width_cxx . . $ MovieInfo#width_., height_cxx . . $ MovieInfo#height_., frameRate_cxx . . $ MovieInfo#frameRate_., durationSecs); |
| 56 | } |
| 57 | }; |
| 58 | |
| 59 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(MovieInfo); |
| 60 | |
| 61 | #endif |