2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

xcode build support started

This commit is contained in:
John Preston
2014-06-14 23:32:11 +04:00
parent 30a07de8e7
commit cace79bc18
110 changed files with 17740 additions and 3535 deletions

View File

@@ -1026,6 +1026,10 @@ public:
}
virtual void drawInDialog(QPainter &p, const QRect &r, bool act, const HistoryItem *&cacheFor, Text &cache) const = 0;
virtual QString notificationHeader() const {
return QString();
}
virtual QString notificationText() const = 0;
void markRead();
int32 y, id;
@@ -1275,7 +1279,9 @@ public:
bool getVideoCoords(VideoData *video, int32 &x, int32 &y, int32 &w) const;
void drawInDialog(QPainter &p, const QRect &r, bool act, const HistoryItem *&cacheFor, Text &cache) const;
QString notificationHeader() const;
QString notificationText() const;
void updateMedia(const MTPMessageMedia &media) {
if (this->media) this->media->updateFrom(media);
}
@@ -1348,6 +1354,8 @@ public:
bool getPhotoCoords(PhotoData *photo, int32 &x, int32 &y, int32 &w) const;
void drawInDialog(QPainter &p, const QRect &r, bool act, const HistoryItem *&cacheFor, Text &cache) const;
QString notificationText() const;
bool needCheck() const {
return false;
}
@@ -1402,6 +1410,8 @@ public:
int32 resize(int32 width);
void drawInDialog(QPainter &p, const QRect &r, bool act, const HistoryItem *&cacheFor, Text &cache) const;
QString notificationText() const;
QString selectedText(uint32 selection) const {
return QString();
}