Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
queryresult.hpp
1 //This program is free software: you can redistribute it and/or modify
2 //it under the terms of the GNU General Public License as published by
3 //the Free Software Foundation, either version 3 of the License, or
4 //(at your option) any later version.
5 
6 //This program is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
10 
11 #ifndef QUERYRESULT_H
12 #define QUERYRESULT_H
13 
14 #include <QString>
15 
16 namespace Huggle
17 {
18  //! Result of query
20  {
21  public:
22  //! Creates a new instance of query result
23  QueryResult();
24  //! Data retrieved by query
25  QString Data;
26  //! If query is in error the reason for error is stored here
27  QString ErrorMessage;
28  bool Failed;
29  };
30 }
31 
32 #endif // QUERYRESULT_H
Result of query.
Definition: queryresult.hpp:19
QueryResult()
Creates a new instance of query result.
Definition: queryresult.cpp:15
QString ErrorMessage
If query is in error the reason for error is stored here.
Definition: queryresult.hpp:27
QString Data
Data retrieved by query.
Definition: queryresult.hpp:25