/thirdparty/liblastfm2/src/ws/win/WNetworkConnectionMonitor.h

http://github.com/tomahawk-player/tomahawk · C Header · 44 lines · 17 code · 8 blank · 19 comment · 0 complexity · ff9f1c03c5aee17c4bd1ec0fc8ce575e MD5 · raw file

  1. /*
  2. Copyright 2010 Last.fm Ltd.
  3. - Primarily authored by Jono Cole, Michael Coffey, and William Viana
  4. This file is part of liblastfm.
  5. liblastfm 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. liblastfm is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with liblastfm. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #ifndef WNETWORK_CONNECTION_MONITOR_H
  17. #define WNETWORK_CONNECTION_MONITOR_H
  18. #include "../NetworkConnectionMonitor.h"
  19. #include <lastfm/global.h>
  20. #include <QObject>
  21. namespace lastfm { class NdisEventsProxy; }
  22. class WNetworkConnectionMonitor : public NetworkConnectionMonitor
  23. {
  24. Q_OBJECT
  25. public:
  26. friend class lastfm::NdisEventsProxy;
  27. WNetworkConnectionMonitor( QObject* parent = 0 );
  28. ~WNetworkConnectionMonitor();
  29. private:
  30. lastfm::NdisEventsProxy* m_ndisEventsProxy;
  31. };
  32. #endif // WNETWORK_CONNECTION_MONITOR_H