~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/tztime.h

Removed the inclusion of drizzled/field.h in the server_includes header file.

Created a time.h header file and records.h header file. This allowed me to move the declarations of
a number of methods from the server_includes header file into these respective header files. I
updated numerous files to reflect this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_TZTIME_H
22
22
#define DRIZZLED_TZTIME_H
23
23
 
 
24
typedef struct st_drizzle_time DRIZZLE_TIME;
 
25
 
24
26
/**
25
27
  This class represents abstract time zone and provides
26
28
  basic interface for DRIZZLE_TIME <-> time_t conversion.
38
40
    falls into spring time-gap (or lefts it untouched otherwise).
39
41
  */
40
42
  virtual time_t TIME_to_gmt_sec(const DRIZZLE_TIME *t,
41
 
                                    bool *in_dst_time_gap) const = 0;
 
43
                                 bool *in_dst_time_gap) const = 0;
42
44
  /**
43
45
    Converts time in time_t representation to local time in
44
46
    broken down DRIZZLE_TIME representation.