--- /dev/null
+//
+// Tizen C++ SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.1 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+#ifndef _APP_RESOURCE_ID_H_
+#define _APP_RESOURCE_ID_H_
+
+extern const wchar_t* IDF_FORM;
+extern const wchar_t* IDF_VIEW_FORM;
+
+#endif // _APP_RESOURCE_ID_H_
--- /dev/null
+//
+// Tizen C++ SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.1 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+#include "AppResourceId.h"
+
+const wchar_t* IDF_FORM = L"IDF_FORM";
+const wchar_t* IDF_VIEW_FORM = L"IDF_VIEW_FORM";
#include <FShell.h>
#include "DynamicBoxViewerMainForm.h"
#include "DynamicBoxViewerFormFactory.h"
+#include "AppResourceId.h"
using namespace Tizen::Base;
using namespace Tizen::Base::Collection;
bool
DynamicBoxViewerMainForm::Initialize(void)
{
- Construct(L"IDF_FORM");
+ Construct(IDF_FORM);
return true;
}
#include <FShellAppWidgetProviderInfo.h>
#include <FShellAppWidgetSizeInfo.h>
#include "ViewForm.h"
+#include "AppResourceId.h"
using namespace std;
using namespace Tizen::Base;
bool
ViewForm::Initialize()
{
- Form::Construct(L"IDF_VIEW_FORM");
+ Form::Construct(IDF_VIEW_FORM);
return true;
}