qtmobility/src/multimedia/qmediatimerange.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    48 
    48 
    49 QT_BEGIN_NAMESPACE
    49 QT_BEGIN_NAMESPACE
    50 
    50 
    51 class QMediaTimeRangePrivate;
    51 class QMediaTimeRangePrivate;
    52 
    52 
    53 class Q_MEDIA_EXPORT QMediaTimeInterval
    53 class Q_MULTIMEDIA_EXPORT QMediaTimeInterval
    54 {
    54 {
    55 public:
    55 public:
    56     QMediaTimeInterval();
    56     QMediaTimeInterval();
    57     QMediaTimeInterval(qint64 start, qint64 end);
    57     QMediaTimeInterval(qint64 start, qint64 end);
    58     QMediaTimeInterval(const QMediaTimeInterval&);
    58     QMediaTimeInterval(const QMediaTimeInterval&);
    72 
    72 
    73     qint64 s;
    73     qint64 s;
    74     qint64 e;
    74     qint64 e;
    75 };
    75 };
    76 
    76 
    77 Q_MEDIA_EXPORT bool operator==(const QMediaTimeInterval&, const QMediaTimeInterval&);
    77 Q_MULTIMEDIA_EXPORT bool operator==(const QMediaTimeInterval&, const QMediaTimeInterval&);
    78 Q_MEDIA_EXPORT bool operator!=(const QMediaTimeInterval&, const QMediaTimeInterval&);
    78 Q_MULTIMEDIA_EXPORT bool operator!=(const QMediaTimeInterval&, const QMediaTimeInterval&);
    79 
    79 
    80 class Q_MEDIA_EXPORT QMediaTimeRange
    80 class Q_MULTIMEDIA_EXPORT QMediaTimeRange
    81 {
    81 {
    82 public:
    82 public:
    83 
    83 
    84     QMediaTimeRange();
    84     QMediaTimeRange();
    85     QMediaTimeRange(qint64 start, qint64 end);
    85     QMediaTimeRange(qint64 start, qint64 end);
   116 
   116 
   117 private:
   117 private:
   118     QSharedDataPointer<QMediaTimeRangePrivate> d;
   118     QSharedDataPointer<QMediaTimeRangePrivate> d;
   119 };
   119 };
   120 
   120 
   121 Q_MEDIA_EXPORT bool operator==(const QMediaTimeRange&, const QMediaTimeRange&);
   121 Q_MULTIMEDIA_EXPORT bool operator==(const QMediaTimeRange&, const QMediaTimeRange&);
   122 Q_MEDIA_EXPORT bool operator!=(const QMediaTimeRange&, const QMediaTimeRange&);
   122 Q_MULTIMEDIA_EXPORT bool operator!=(const QMediaTimeRange&, const QMediaTimeRange&);
   123 Q_MEDIA_EXPORT QMediaTimeRange operator+(const QMediaTimeRange&, const QMediaTimeRange&);
   123 Q_MULTIMEDIA_EXPORT QMediaTimeRange operator+(const QMediaTimeRange&, const QMediaTimeRange&);
   124 Q_MEDIA_EXPORT QMediaTimeRange operator-(const QMediaTimeRange&, const QMediaTimeRange&);
   124 Q_MULTIMEDIA_EXPORT QMediaTimeRange operator-(const QMediaTimeRange&, const QMediaTimeRange&);
   125 
   125 
   126 
   126 
   127 QT_END_NAMESPACE
   127 QT_END_NAMESPACE
   128 
   128 
   129 #endif  // QMEDIATIMERANGE_H
   129 #endif  // QMEDIATIMERANGE_H