WebRadioApp  0.1
_CoreTime.h
Go to the documentation of this file.
1 /*******************************************************************************
2 *
3 * E M B E D D E D W I Z A R D P R O J E C T
4 *
5 * Copyright (c) TARA Systems GmbH
6 * written by Paul Banach and Manfred Schweyer
7 *
8 ********************************************************************************
9 *
10 * This file was generated automatically by Embedded Wizard Studio.
11 *
12 * Please do not make any modifications of this file! The modifications are lost
13 * when the file is generated again by Embedded Wizard Studio!
14 *
15 * The template of this heading text can be found in the file 'head.ewt' in the
16 * directory 'Platforms' of your Embedded Wizard installation directory. If you
17 * wish to adapt this text, please copy the template file 'head.ewt' into your
18 * project directory and edit the copy only. Please avoid any modifications of
19 * the original template file!
20 *
21 * Version : 10.00
22 * Profile : STM32H747
23 * Platform : STM.STM32.RGB565
24 *
25 *******************************************************************************/
26 
27 #ifndef _CoreTime_H
28 #define _CoreTime_H
29 
30 #ifdef __cplusplus
31  extern "C"
32  {
33 #endif
34 
35 #include "ewrte.h"
36 #if EW_RTE_VERSION != 0x000A0000
37  #error Wrong version of Embedded Wizard Runtime Environment.
38 #endif
39 
40 #include "ewgfx.h"
41 #if EW_GFX_VERSION != 0x000A0000
42  #error Wrong version of Embedded Wizard Graphics Engine.
43 #endif
44 
45 /* Forward declaration of the class Core::Time */
46 #ifndef _CoreTime_
47  EW_DECLARE_CLASS( CoreTime )
48 #define _CoreTime_
49 #endif
50 
51 
52 /* The class Core::Time is used for date and time operations. Objects of this class
53  can store the time, convert it and format strings with the time, etc. */
54 EW_DEFINE_FIELDS( CoreTime, XObject )
55  EW_PROPERTY( Second, XInt32 )
56  EW_PROPERTY( Minute, XInt32 )
57  EW_PROPERTY( Hour, XInt32 )
58  EW_PROPERTY( Day, XInt32 )
59  EW_PROPERTY( Month, XInt32 )
60  EW_PROPERTY( Year, XInt32 )
61 EW_END_OF_FIELDS( CoreTime )
62 
63 /* Virtual Method Table (VMT) for the class : 'Core::Time' */
64 EW_DEFINE_METHODS( CoreTime, XObject )
65 EW_END_OF_METHODS( CoreTime )
66 
67 /* 'C' function for method : 'Core::Time.getMonthName()' */
68 XString CoreTime_getMonthName( CoreTime _this, XInt32 aMonth, XBool aAbbreviated );
69 
70 /* 'C' function for method : 'Core::Time.getDayOfWeekName()' */
71 XString CoreTime_getDayOfWeekName( CoreTime _this, XInt32 aDayOfWeek, XBool aAbbreviated );
72 
73 /* 'C' function for method : 'Core::Time.getCurrentTime()' */
74 XInt64 CoreTime_getCurrentTime( CoreTime _this );
75 
76 /* 'C' function for method : 'Core::Time.OnSetTime()' */
77 void CoreTime_OnSetTime( CoreTime _this, XInt64 value );
78 
79 /* 'C' function for method : 'Core::Time.OnGetCurrentTime()' */
80 CoreTime CoreTime_OnGetCurrentTime( CoreTime _this );
81 
82 /* 'C' function for method : 'Core::Time.OnGetDayOfWeek()' */
83 XInt32 CoreTime_OnGetDayOfWeek( CoreTime _this );
84 
85 /* 'C' function for method : 'Core::Time.OnSetSecond()' */
86 void CoreTime_OnSetSecond( CoreTime _this, XInt32 value );
87 
88 /* 'C' function for method : 'Core::Time.OnSetMinute()' */
89 void CoreTime_OnSetMinute( CoreTime _this, XInt32 value );
90 
91 /* 'C' function for method : 'Core::Time.OnSetHour()' */
92 void CoreTime_OnSetHour( CoreTime _this, XInt32 value );
93 
94 /* 'C' function for method : 'Core::Time.OnSetDay()' */
95 void CoreTime_OnSetDay( CoreTime _this, XInt32 value );
96 
97 /* 'C' function for method : 'Core::Time.OnSetMonth()' */
98 void CoreTime_OnSetMonth( CoreTime _this, XInt32 value );
99 
100 /* The method Initialize() initializes this Core::Time object with the given time
101  as number of seconds since 1.1.1970 and returns this object. */
102 CoreTime CoreTime_Initialize( CoreTime _this, XInt64 aTime );
103 
104 #ifdef __cplusplus
105  }
106 #endif
107 
108 #endif /* _CoreTime_H */
109 
110 /* Embedded Wizard */
ewrte.h
CoreTime_OnSetDay
void CoreTime_OnSetDay(CoreTime _this, XInt32 value)
Definition: Core.c:7603
EW_END_OF_FIELDS
#define EW_END_OF_FIELDS(aClass)
Definition: ewrte.h:460
EW_DECLARE_CLASS
#define EW_DECLARE_CLASS(aClass)
Definition: ewrte.h:393
ewgfx.h
_obj_XObject
Definition: ewrte.h:281
XInt32
signed long XInt32
Definition: ewrte.h:1586
value
XRect CoreOutline aOutline XPoint value
Definition: _ViewsWarpView.h:137
CoreTime_getCurrentTime
XInt64 CoreTime_getCurrentTime(CoreTime _this)
Definition: Core.c:7489
XBool
char XBool
Definition: ewrte.h:1592
CoreTime_getMonthName
XString CoreTime_getMonthName(CoreTime _this, XInt32 aMonth, XBool aAbbreviated)
Definition: Core.c:7335
XInt64
signed long long XInt64
Definition: ewrte.h:1587
EW_DEFINE_METHODS
#define EW_DEFINE_METHODS(aClass, aSuperClass)
Definition: ewrte.h:524
CoreTime_OnSetMonth
void CoreTime_OnSetMonth(CoreTime _this, XInt32 value)
Definition: Core.c:7615
CoreTime_OnSetMinute
void CoreTime_OnSetMinute(CoreTime _this, XInt32 value)
Definition: Core.c:7579
CoreTime_OnSetSecond
void CoreTime_OnSetSecond(CoreTime _this, XInt32 value)
Definition: Core.c:7567
CoreTime_Initialize
CoreTime CoreTime_Initialize(CoreTime _this, XInt64 aTime)
Definition: Core.c:7628
CoreTime_getDayOfWeekName
XString CoreTime_getDayOfWeekName(CoreTime _this, XInt32 aDayOfWeek, XBool aAbbreviated)
Definition: Core.c:7427
CoreTime_OnSetTime
void CoreTime_OnSetTime(CoreTime _this, XInt64 value)
Definition: Core.c:7502
CoreTime_OnGetCurrentTime
CoreTime CoreTime_OnGetCurrentTime(CoreTime _this)
Definition: Core.c:7543
CoreTime_OnGetDayOfWeek
XInt32 CoreTime_OnGetDayOfWeek(CoreTime _this)
Definition: Core.c:7550
EW_PROPERTY
#define EW_PROPERTY(aName, aType)
Definition: ewrte.h:466
CoreTime_OnSetHour
void CoreTime_OnSetHour(CoreTime _this, XInt32 value)
Definition: Core.c:7591
XString
XChar * XString
Definition: ewrte.h:1656
EW_END_OF_METHODS
#define EW_END_OF_METHODS(aClass)
Definition: ewrte.h:539
EW_DEFINE_FIELDS
#define EW_DEFINE_FIELDS(aClass, aSuperClass)
Definition: ewrte.h:451