You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
1.6 KiB

  1. /*
  2. * Copyright © 2010 Codethink Limited
  3. *
  4. * This library is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU Lesser General Public License as
  6. * published by the Free Software Foundation; either version 2 of the
  7. * licence, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful, but
  10. * WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library; if not, write to the Free Software
  16. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
  17. * USA.
  18. *
  19. * Author: Ryan Lortie <desrt@desrt.ca>
  20. */
  21. #if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
  22. #error "Only <glib.h> can be included directly."
  23. #endif
  24. #ifndef __G_TIME_ZONE_H__
  25. #define __G_TIME_ZONE_H__
  26. #include <glib/gtypes.h>
  27. G_BEGIN_DECLS
  28. typedef struct _GTimeZone GTimeZone;
  29. GTimeZone * g_time_zone_new (const gchar *identifier);
  30. GTimeZone * g_time_zone_new_utc (void);
  31. GTimeZone * g_time_zone_new_local (void);
  32. GTimeZone * g_time_zone_ref (GTimeZone *tz);
  33. void g_time_zone_unref (GTimeZone *tz);
  34. G_END_DECLS
  35. #endif /* __G_TIME_ZONE_H__ */