The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ConsoleCallObserver.cpp
Go to the documentation of this file.
1
// implementation of ICallObserver
2
3
#include "
ConsoleCallObserver.h
"
4
#include <iostream>
5
6
7
namespace
WinampRemote
8
{
9
namespace
Remoting
10
{
11
12
void
ConsoleCallObserver::notifyStatus
(
const
char
* status){
13
14
// output to console
15
std::cout <<
"status: "
<< ((status)?status:
"(null)"
) << std::endl;
16
17
}
18
19
void
ConsoleCallObserver::notifyMessage
(
const
char
* msg ){
20
21
// output to console
22
std::cout <<
"msg : "
<< ((msg)?msg:
"(null)"
) << std::endl;
23
24
}
25
26
void
ConsoleCallObserver::notifyException
(
const
char
* msg )
27
{
28
// output to console
29
std::cerr <<
"error: "
<< ((msg)?msg:
"(null)"
) << std::endl;
30
}
31
32
}
// end of namespace Remoting
33
}
// end of namespace WinampRemote
ConsoleCallObserver.cpp
Generated by
1.8.1.1