The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DefaultCallObserver.h
Go to the documentation of this file.
1 // concrete implementation of ICallObserver
2 
3 #ifndef DEFAULTCALLOBSERVER_H
4 #define DEFAULTCALLOBSERVER_H
5 
6 #include "windows.h"
7 #include <sstream>
8 
9 using namespace WinampRemote::Remoting;
10 
12 
13  public:
14 
15  virtual ~DefaultCallObserver() {};
16 
17  virtual void notifyStatus(const char * status){
18  std::stringstream ss;
19  ss << "status # " << status;
20  OutputDebugString(ss.str().c_str());
21  }
22 
23  virtual void notifyMessage(const char * msg){
24  std::stringstream ss;
25  ss << "message # " << msg;
26  OutputDebugString(ss.str().c_str());
27  }
28 
29 };
30 
31 #endif // DEFAULTCALLOBSERVER_H
32 
33