X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FCommons%2FTimeUtils.h;fp=src%2Fmodules%2Ftizen%2FFilesystem%2FSystem.cpp;h=27e40382fbde6f7841e665728cb32f974bc94245;hb=078de8647f9c6321fd32e7c3b7594466eb6d65f8;hp=be68d976cb04dd7bb4b36cd28ca0e8030379ecfc;hpb=da854ef348cf918993a95adeeffa616db2dca6f7;p=profile%2Fivi%2Fwrt-plugins-common.git 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 --- 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. */ -#include "System.h" -#include -#include -#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 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