logo       
Google Custom Search
    AddThis Social Bookmark Button

Fresco/Berlin/src ServerContextImpl.cc,1.8,1.9: msg#00009

Subject: Fresco/Berlin/src ServerContextImpl.cc,1.8,1.9
Update of /cvs/fresco/Fresco/Berlin/src
In directory purcel:/tmp/cvs-serv24256/Berlin/src

Modified Files:
        ServerContextImpl.cc 
Log Message:
Babylon work over:
 * Use iconv to convert characters to/from Babylon
 * Updtae to Unicode Version 4.0
 * Added unit tests (some fail for now, still need to work on that)

 * Removed the VisualTextBuffer from the CommandKit: I still like the idea,
   unfortunately it won't work out in the real world:-|

 * Updated code to the changed Babylon interfaces whereever needed.


Index: ServerContextImpl.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/src/ServerContextImpl.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ServerContextImpl.cc        18 Feb 2003 07:26:40 -0000      1.8
+++ ServerContextImpl.cc        1 Aug 2003 16:47:19 -0000       1.9
@@ -42,14 +42,20 @@
 // (for garbage collection), does security checks for new allocation, and
 // occasionally pings the client to make sure it's still there.
 
-ServerContextImpl::ServerContextImpl(ServerImpl *s, const CORBA::PolicyList 
&policies, ClientContext_ptr c)
-    : my_server(s), my_policies(policies), 
my_client(ClientContext::_duplicate(c))
+ServerContextImpl::ServerContextImpl(ServerImpl *s,
+                                    const CORBA::PolicyList &policies,
+                                    ClientContext_ptr c) :
+    my_server(s),
+    my_policies(policies),
+    my_client(ClientContext::_duplicate(c))
 {
-  Trace trace("ServerContextImpl::ServerContextImpl");
-  Babylon::String title = 
Unicode::to_internal(*my_client->application_title());
-  Logger::log(Logger::corba) << (void *)(this) << " is the ServerContext "
-                            << "for application \"" << title.utf8()
-                            << "\"." << std::endl;
+    Trace trace("ServerContextImpl::ServerContextImpl");
+    Babylon::String title =
+       Unicode::to_internal(*my_client->application_title());
+    Logger::log(Logger::corba) << (void *)(this)
+                              << " is the ServerContext "
+                              << "for application \"" << title.convert()
+                              << "\"." << std::endl;
 }
 
 ServerContextImpl::~ServerContextImpl()



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>