_EXPORT_ int
OspMain(int argc, char* pArgv[])
{
- AppLog("Application started.");
- ArrayList args(SingleObjectDeleter);
- args.Construct();
- for (int i = 0; i < argc; i++)
- {
- args.Add(new (std::nothrow) String(pArgv[i]));
- }
+ AppLog("Application started.");
+ ArrayList args(SingleObjectDeleter);
+ args.Construct();
+ for (int i = 0; i < argc; i++)
+ {
+ args.Add(new (std::nothrow) String(pArgv[i]));
+ }
- result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
- TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r));
- AppLog("Application finished.");
+ result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
+ TryLog(r == E_SUCCESS, "[%s] Application execution failed.", GetErrorMessage(r));
+ AppLog("Application finished.");
- return static_cast< int >(r);
+ return static_cast< int >(r);
}
#ifdef __cplusplus
}
}
result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
- TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r));
+ TryLog(r == E_SUCCESS, "[%s] Application execution failed.", GetErrorMessage(r));
AppLog("Application finished.");
return static_cast< int >(r);
}
result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
- TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r));
+ TryLog(r == E_SUCCESS, "[%s] Application execution failed.", GetErrorMessage(r));
AppLog("Application finished.");
return static_cast< int >(r);
//
// This file contains the Tizen application entry point.
//
+#include <new>
#include "$(baseName)App.h"
using namespace Tizen::Base;
// The entry function of Tizen application called by the operating system.
//
_EXPORT_ int
-OspMain(int argc, char *pArgv[])
+OspMain(int argc, char* pArgv[])
{
- AppLog("Application started.");
- ArrayList args(SingleObjectDeleter);
- args.Construct();
- for (int i = 0; i < argc; i++)
- {
- args.Add(new (std::nothrow) String(pArgv[i]));
- }
+ AppLog("Application started.");
+ ArrayList args(SingleObjectDeleter);
+ args.Construct();
+ for (int i = 0; i < argc; i++)
+ {
+ args.Add(new (std::nothrow) String(pArgv[i]));
+ }
- result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
- TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r));
- AppLog("Application finished.");
+ result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
+ TryLog(r == E_SUCCESS, "[%s] Application execution failed.", GetErrorMessage(r));
+ AppLog("Application finished.");
- return static_cast<int>(r);
+ return static_cast< int >(r);
}
#ifdef __cplusplus
}
//
// This file contains the Tizen application entry point.
//
+#include <new>
#include "$(baseName)App.h"
using namespace Tizen::Base;
// The entry function of Tizen application called by the operating system.
//
_EXPORT_ int
-OspMain(int argc, char *pArgv[])
+OspMain(int argc, char* pArgv[])
{
- AppLog("Application started.");
- ArrayList args(SingleObjectDeleter);
- args.Construct();
- for (int i = 0; i < argc; i++)
- {
- args.Add(new (std::nothrow) String(pArgv[i]));
- }
+ AppLog("Application started.");
+ ArrayList args(SingleObjectDeleter);
+ args.Construct();
+ for (int i = 0; i < argc; i++)
+ {
+ args.Add(new (std::nothrow) String(pArgv[i]));
+ }
- result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
- TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r));
- AppLog("Application finished.");
+ result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
+ TryLog(r == E_SUCCESS, "[%s] Application execution failed.", GetErrorMessage(r));
+ AppLog("Application finished.");
- return static_cast<int>(r);
+ return static_cast< int >(r);
}
#ifdef __cplusplus
}
}
result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
- TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r));
+ TryLog(r == E_SUCCESS, "[%s] Application execution failed.", GetErrorMessage(r));
AppLog("Application finished.");
- return static_cast< int >(r);
+ return static_cast< int >(r);
}
#ifdef __cplusplus
}
}
result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
- TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r));
+ TryLog(r == E_SUCCESS, "[%s] Application execution failed.", GetErrorMessage(r));
AppLog("Application finished.");
return static_cast< int >(r);
//
// This file contains the Tizen application entry point.
//
+#include <new>
#include "$(baseName)App.h"
using namespace Tizen::Base;
args.Construct();
for (int i = 0; i < argc; i++)
{
- args.Add(new (std::nothrow) String(pArgv[i]));
+ args.Add(new (std::nothrow) String(pArgv[i]));
}
result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
- TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r));
+ TryLog(r == E_SUCCESS, "[%s] Application execution failed.", GetErrorMessage(r));
AppLog("Application finished.");
- return static_cast<int>(r);
+ return static_cast< int >(r);
}
#ifdef __cplusplus
}
//
// This file contains the Tizen application entry point.
//
+#include <new>
#include "$(baseName)App.h"
using namespace Tizen::Base;
args.Construct();
for (int i = 0; i < argc; i++)
{
- args.Add(new (std::nothrow) String(pArgv[i]));
+ args.Add(new (std::nothrow) String(pArgv[i]));
}
result r = Tizen::App::UiApp::Execute($(baseName)App::CreateInstance, &args);
- TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r));
+ TryLog(r == E_SUCCESS, "[%s] Application execution failed.", GetErrorMessage(r));
AppLog("Application finished.");
- return static_cast<int>(r);
+ return static_cast< int >(r);
}
#ifdef __cplusplus
}