projects
/
profile
/
ivi
/
wrt-plugins-common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update wrt-plugins-common_0.3.53
[profile/ivi/wrt-plugins-common.git]
/
src
/
Commons
/
TimeUtils.h
diff --git
a/src/modules/tizen/Filesystem/System.cpp
b/src/Commons/TimeUtils.h
similarity index 69%
rename from
src/modules/tizen/Filesystem/System.cpp
rename to
src/Commons/TimeUtils.h
index
be68d97
..
27e4038
100644
(file)
--- a/
src/modules/tizen/Filesystem/System.cpp
+++ b/
src/Commons/TimeUtils.h
@@
-13,18
+13,23
@@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include "System.h"
-#include <stdlib.h>
-#include <string.h>
-#include "Command.h"
+/**
+ * @file TimeUtils.h
+ * @author Tae-Jeong Lee (taejeong.lee@samsung.com)
+ */
+
+#ifndef WRTDEVICEAPIS_COMMONS_TIMEUTILS_H_
+#define WRTDEVICEAPIS_COMMONS_TIMEUTILS_H_
+
+#include <time.h>
namespace WrtDeviceApis {
namespace WrtDeviceApis {
-namespace Filesystem {
+namespace Commons {
+namespace Time {
-void System::run(Command* cmd)
-{
- cmd->execute();
-}
+struct tm* localtime_r(long long int* timep, struct tm* result);
-} // Filesystem
-} // WrtDeviceApis
+}
+}
+}
+#endif