pragma Style_Checks ("NM32766");
pragma Wide_Character_Encoding (Brackets);

---------------------------------------------------
--  This file has been generated automatically from
--  /wrkdirs/usr/ports/net/polyorb/work/polyorb-2.9.0/idls/cos/time/CosTime.idl
--  by IAC (IDL to Ada Compiler) 2.9.0 (rev. unknown).
---------------------------------------------------
--  NOTE: If you modify this file by hand, your
--  changes will be lost when you re-run the
--  IDL to Ada compiler.
---------------------------------------------------

with CORBA.Object;
with PolyORB.Std;
with CosTime.UTO;
with TimeBase;
with CosTime.TIO;
with CORBA;
pragma Elaborate_All (CORBA);

package CosTime.TimeService is

   type Ref is
     new CORBA.Object.Ref with null record;

   Repository_Id : constant PolyORB.Std.String :=
     "IDL:omg.org/CosTime/TimeService:1.0";

   function universal_time
     (Self : Ref)
     return CosTime.UTO.Ref;

   universal_time_Repository_Id : constant PolyORB.Std.String :=
     "IDL:omg.org/CosTime/TimeService/universal_time:1.0";

   function secure_universal_time
     (Self : Ref)
     return CosTime.UTO.Ref;

   secure_universal_time_Repository_Id : constant PolyORB.Std.String :=
     "IDL:omg.org/CosTime/TimeService/secure_universal_time:1.0";

   function new_universal_time
     (Self : Ref;
      time : TimeBase.TimeT;
      inaccuracy : TimeBase.InaccuracyT;
      tdf : TimeBase.TdfT)
     return CosTime.UTO.Ref;

   new_universal_time_Repository_Id : constant PolyORB.Std.String :=
     "IDL:omg.org/CosTime/TimeService/new_universal_time:1.0";

   function uto_from_utc
     (Self : Ref;
      utc : TimeBase.UtcT)
     return CosTime.UTO.Ref;

   uto_from_utc_Repository_Id : constant PolyORB.Std.String :=
     "IDL:omg.org/CosTime/TimeService/uto_from_utc:1.0";

   function new_interval
     (Self : Ref;
      lower : TimeBase.TimeT;
      upper : TimeBase.TimeT)
     return CosTime.TIO.Ref;

   new_interval_Repository_Id : constant PolyORB.Std.String :=
     "IDL:omg.org/CosTime/TimeService/new_interval:1.0";

   function Is_A
     (Self : Ref;
      Logical_Type_Id : PolyORB.Std.String)
     return CORBA.Boolean;

private
   function Is_A
     (Logical_Type_Id : PolyORB.Std.String)
     return CORBA.Boolean;

end CosTime.TimeService;
