PageRenderTime 122ms CodeModel.GetById 61ms app.highlight 1ms RepoModel.GetById 59ms app.codeStats 0ms

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

http://github.com/tomahawk-player/tomahawk
C++ Header | 44 lines | 15 code | 6 blank | 23 comment | 0 complexity | 349bf60f46f83a98162fac3a61a79d0b MD5 | raw file
 1/*
 2   Copyright 2009 Last.fm Ltd. 
 3      - Primarily authored by Max Howell, Jono Cole and Doug Mansell
 4
 5   This file is part of liblastfm.
 6
 7   liblastfm is free software: you can redistribute it and/or modify
 8   it under the terms of the GNU General Public License as published by
 9   the Free Software Foundation, either version 3 of the License, or
10   (at your option) any later version.
11
12   liblastfm is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16
17   You should have received a copy of the GNU General Public License
18   along with liblastfm.  If not, see <http://www.gnu.org/licenses/>.
19*/
20#ifndef NDIS_EVENTS_H
21#define NDIS_EVENTS_H
22
23#include <windows.h>
24//#include <atlbase.h>
25//#include <WbemCli.h>
26
27class NdisEvents
28{
29public:
30    NdisEvents();
31    ~NdisEvents();
32    HRESULT registerForNdisEvents();
33
34    virtual void onConnectionUp(BSTR name) = 0;
35    virtual void onConnectionDown(BSTR name) = 0;
36
37private:
38//    CComPtr<IWbemLocator> m_pLocator;
39//    CComPtr<IWbemServices> m_pServices;
40    class WmiSink *m_pSink;
41};
42
43#endif
44