/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
void CreateSensor()
{
mTiltSensor = TiltSensor::Get();
- if ( mTiltSensor.Enable() )
+ if ( mTiltSensor.Start() )
{
// Get notifications when the device is tilted
mTiltSensor.TiltedSignal().Connect( this, &TiltController::OnTilted );
TextLabel mTextLabel;
};
-// Entry point for Linux & Tizen applications
-//
int DALI_EXPORT_API main( int argc, char **argv )
{
Application application = Application::New( &argc, &argv );