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
ICallObserver.h
Go to the documentation of this file.
1 // abstract interface defining the operations of a Message Observer
2 
3 #ifndef ICALLOBSERVER_H
4 #define ICALLOBSERVER_H
5 
6 
7 namespace WinampRemote
8 {
9 
13 namespace Remoting
14 {
15 
20 
21  public:
22 
26  virtual ~ICallObserver() {}
27 
32  virtual void notifyStatus(const char * status) = 0;
33 
38  virtual void notifyMessage(const char * msg ) = 0;
39 
44  virtual void notifyException(const char * msg ) = 0;
45 
46 };
47 
52 
53  public:
54 
55  virtual ~StubCallObserver() {};
56 
57  virtual void notifyStatus(const char * status){
58  }
59 
60  virtual void notifyMessage(const char * msg){
61  }
62 
63  virtual void notifyException(const char * msg){
64  }
65 
66 };
67 
68 
69 } // end of namespace Remoting
70 } // end of namespace WinampRemote
71 
72 #endif ICALLOBSERVER_H