summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/time-date/Time_Date_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/time-date/Time_Date_i.cpp')
-rw-r--r--TAO/examples/Simple/time-date/Time_Date_i.cpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/TAO/examples/Simple/time-date/Time_Date_i.cpp b/TAO/examples/Simple/time-date/Time_Date_i.cpp
deleted file mode 100644
index b65fcbf3705..00000000000
--- a/TAO/examples/Simple/time-date/Time_Date_i.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-#include "Time_Date_i.h"
-#include "tao/corba.h"
-
-// Default constructor.
-
-Time_Date_i::Time_Date_i (void)
-{
- //no-op
-}
-
-// Default destructor.
-
-Time_Date_i::~Time_Date_i (void)
-{
- // no-op.
-}
-
-// Obtain the time and date in binary format.
-
-void
-Time_Date_i::bin_date (CORBA::Long_out time_date,
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- time_date = ACE_OS::time (0);
-}
-
-// Obtain the time and date in string format.
-
-void
-Time_Date_i::str_date (CORBA::String_out time_date,
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- const time_t time = ACE_OS::time (0);
-
- time_date = CORBA::string_dup (ACE_OS::ctime (&time));
-}
-
-void
-Time_Date_i::orb (CORBA::ORB_ptr orb_ptr)
-{
- orb_var_ = CORBA::ORB::_duplicate (orb_ptr);
-}