MythTV  master
mythhttpdata.h
Go to the documentation of this file.
1 #ifndef MYTHHTTPDATA_H
2 #define MYTHHTTPDATA_H
3 
4 // Qt
5 #include <QByteArray>
6 
7 // MythTV
9 
10 class MBASE_PUBLIC MythHTTPData : public QByteArray, public MythHTTPContent
11 {
12  public:
13  static HTTPData Create();
14  static HTTPData Create(const QString& Name, const char * Buffer);
15  static HTTPData Create(int Size, char Char);
16  static HTTPData Create(const QByteArray& Other);
17 
18  protected:
19  MythHTTPData();
20  MythHTTPData(const QString& FileName, const char * Buffer);
21  MythHTTPData(int Size, char Char);
22  explicit MythHTTPData(const QByteArray& Other);
23 
24  private:
25  Q_DISABLE_COPY(MythHTTPData)
26 };
27 
28 #endif
MythHTTPData
Definition: mythhttpdata.h:10
HTTPData
std::shared_ptr< MythHTTPData > HTTPData
Definition: mythhttptypes.h:37
MBASE_PUBLIC
#define MBASE_PUBLIC
Definition: mythbaseexp.h:15
mythhttptypes.h
Buffer
Definition: MythExternControl.h:36
Name
Definition: channelsettings.cpp:71
MythHTTPContent
Definition: mythhttptypes.h:164