mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-30 15:30:20 +00:00
Remove MOC for QtLottie.
This commit is contained in:
parent
0e7cefb69c
commit
38e2837cb6
Telegram
ThirdParty
gyp
2
Telegram/ThirdParty/qtlottie
vendored
2
Telegram/ThirdParty/qtlottie
vendored
@ -1 +1 @@
|
||||
Subproject commit 4ca937ed0f7158b5510c54429cc5e57adcf85f10
|
||||
Subproject commit 2fa825bfd9384b864e79861e8fa41273da8ab973
|
@ -66,8 +66,6 @@ public:
|
||||
|
||||
virtual BMBase *clone(BMBase *parent) const;
|
||||
|
||||
virtual bool setProperty(BMLiteral::PropertyType propertyType, QVariant value);
|
||||
|
||||
QString name() const;
|
||||
|
||||
int type() const;
|
||||
|
@ -62,28 +62,6 @@ Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinUpdate);
|
||||
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRender);
|
||||
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRenderThread);
|
||||
|
||||
class BODYMOVIN_EXPORT BMLiteral : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum ElementType {
|
||||
Animation = 0,
|
||||
LayerImage,
|
||||
LayerNull,
|
||||
LayerPrecomp,
|
||||
LayerShape
|
||||
};
|
||||
|
||||
enum PropertyType {
|
||||
RectPosition,
|
||||
RectSize,
|
||||
RectRoundness
|
||||
};
|
||||
Q_ENUM(PropertyType)
|
||||
|
||||
explicit BMLiteral(QObject *parent = nullptr) : QObject(parent) {}
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // BMCONSTANTS_P_H
|
||||
|
@ -63,8 +63,6 @@ public:
|
||||
|
||||
BMBase *clone(BMBase *parent) const override;
|
||||
|
||||
bool setProperty(BMLiteral::PropertyType propertyType, QVariant value) override;
|
||||
|
||||
void updateProperties(int frame) override;
|
||||
void render(LottieRenderer &renderer, int frame) const override;
|
||||
bool acceptsTrim() const override;
|
||||
|
@ -8,12 +8,6 @@
|
||||
'includes': [
|
||||
'common.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'variables': {
|
||||
'moc_to_sources%': '1',
|
||||
},
|
||||
'moc_to_sources%': '<(moc_to_sources)',
|
||||
},
|
||||
'targets': [{
|
||||
'target_name': 'lib_lottie',
|
||||
'type': 'static_library',
|
||||
@ -21,7 +15,6 @@
|
||||
'common.gypi',
|
||||
'openssl.gypi',
|
||||
'qt.gypi',
|
||||
'qt_moc.gypi',
|
||||
'telegram_linux.gypi',
|
||||
'pch.gypi',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user