Nemiver  0.3
nmv-date-utils.h
Go to the documentation of this file.
1 /* -*- Mode: C++; indent-tabs-mode:nil; c-basic-offset:4; -*- */
2 
3 /*Copyright (c) 2005-2006 Dodji Seketeli
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a copy of this
6  * software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute,
9  * sublicense, and/or sell copies of the Software, and to permit
10  * persons to whom the Software is furnished to do so,
11  * subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in all copies
14  * or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS",
17  * WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
18  * INCLUDING BUT NOT LIMITED TO THE
19  * WARRANTIES OF MERCHANTABILITY,
20  * FITNESS FOR A PARTICULAR PURPOSE
21  * AND NONINFRINGEMENT.
22  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
23  * HOLDERS BE LIABLE FOR ANY CLAIM,
24  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
25  * CONTRACT, TORT OR OTHERWISE,
26  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
27  * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28  *
29  */
30 #ifndef __NMV_DATE_UTILS_H__
31 #define __NMV_DATE_UTILS_H__
32 
33 #include <sys/time.h>
34 #include "nmv-api-macros.h"
35 
36 namespace nemiver {
37 namespace common {
38 
39 class UString;
40 
41 namespace dateutils
42 {
43 
45 void NEMIVER_API get_current_datetime (struct tm &a_tm);
46 void NEMIVER_API get_current_datetime (UString &a_datetime);
47 
48 }//end namespace dateutils
49 }//end namespace common
50 }//end namespace nemiver
51 
52 #endif //__NMV_DATE_UTILS_H__
53 
nemiver
Definition: nmv-address.h:31
NEMIVER_API
#define NEMIVER_API
Definition: nmv-api-macros.h:53
nmv-api-macros.h
nemiver::common::UString
Definition: nmv-ustring.h:45
nemiver::common::dateutils::get_current_datetime
time_t get_current_datetime()
common
Definition: nmv-proc-list-dialog.h:32