source: SMSSender/lib/datatypes/src/snetworkreply.h @ 236:4ae05876cecb

Last change on this file since 236:4ae05876cecb was 236:4ae05876cecb, checked in by Sämy Zehnder <saemy.zehnder@…>, 7 years ago
  • Added missing visibility macros in some class definitions.
  • Subclassing some interfaces from QObject since they had only inline functions and therefore were not made visible in the shared library by g++ on windows (why?!).
  • Using de_DE instead of de_CH if no locale is defined yet.
File size: 1.4 KB
Line 
1/*
2 smssender - A frontend for fast and easy SMS sending over different gateways.
3 Copyright (C) 2007-2012, gorrión. See http://smssender.gorrion.ch
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef SNETWORKREPLY_H_
20#define SNETWORKREPLY_H_
21
22#include <QExplicitlySharedDataPointer>
23#include <QSharedData>
24
25#include "datatypes_global.h"
26
27#include "smacros.h"
28#include "sshared.h"
29
30class QNetworkReply;
31
32class SNetworkReplyData;
33
34class DATATYPES_SHARED_EXPORT SNetworkReply {
35    S_SHARED(SNetworkReply, public)
36    S_QHASH_FRIEND(SNetworkReply)
37
38public:
39    SNetworkReply(QNetworkReply* reply);
40    ~SNetworkReply();
41
42public:
43    void reset();
44
45public:
46    operator QNetworkReply* () const;
47    QNetworkReply* operator->();
48    QNetworkReply* operator->() const;
49};
50DATATYPES_SHARED_EXPORT S_QHASH(SNetworkReply)
51
52#endif /* SNETWORKREPLY_H_ */
Note: See TracBrowser for help on using the repository browser.