Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / DevGuideExamples / SmartProxies / Messenger_i.cpp
blob09098dc809f7c82ef53a2cd7ba7e2ec9be995b39
1 /* -*- C++ -*- */
3 // ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
4 // TAO and the TAO IDL Compiler have been developed by the Center for
5 // Distributed Object Computing at Washington University, St. Louis.
6 //
7 // Information about TAO is available at:
8 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
10 #include "Messenger_i.h"
11 #include <iostream>
12 // Implementation skeleton constructor
13 Messenger_i::Messenger_i ()
17 // Implementation skeleton destructor
18 Messenger_i::~Messenger_i ()
22 CORBA::Boolean Messenger_i::send_message (
23 const char * user_name,
24 const char * subject,
25 char *& message
28 //Add your implementation here
29 std::cerr << "Message from: " << user_name << std::endl;
30 std::cerr << "Subject: " << subject << std::endl;
31 std::cerr << "Message: " << message << std::endl;
32 return true;