My Project
imagepacket.h
1 #ifndef IMAGEPACKET_H
2 #define IMAGEPACKET_H
3 
4 #include <QByteArray>
5 #include <string>
6 #include <QString>
7 #include <QStringList>
8 #include <QDebug>
9 #include <QFileInfo>
10 
11 using namespace std ;
17 {
18  QString imageurl ;
19  QStringList extensions ;
21 public:
22 
28  imagepacket();
29 
43  bool isImage(string payload) ;
44 
52  QString getImage() ;
53 };
54 
55 #endif // HTTPRESPONSEIMAGE_H
The imagepacket class is used to determine if an http packet is an image request. ...
Definition: imagepacket.h:16
QStringList extensions
Definition: imagepacket.h:19
QString imageurl
Definition: imagepacket.h:18