diff --git a/bada/Sloynik/.badaprj b/bada/Sloynik/.badaprj
deleted file mode 100644
index e8a76d2432..0000000000
--- a/bada/Sloynik/.badaprj
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- 1
- C:\bada\1.0.0
- Wave_LP1
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/bada/Sloynik/.cproject b/bada/Sloynik/.cproject
deleted file mode 100644
index 1f4b5ee188..0000000000
--- a/bada/Sloynik/.cproject
+++ /dev/null
@@ -1,1516 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/bada/Sloynik/.project b/bada/Sloynik/.project
deleted file mode 100644
index d292382d93..0000000000
--- a/bada/Sloynik/.project
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
- Sloynik
-
-
-
-
-
- com.osp.ide.ospmakebuilder
- clean,full,incremental,
-
-
- ?name?
-
-
-
- org.eclipse.cdt.make.core.append_environment
- true
-
-
- org.eclipse.cdt.make.core.autoBuildTarget
- all
-
-
- org.eclipse.cdt.make.core.buildArguments
-
-
-
- org.eclipse.cdt.make.core.buildCommand
- cs-make
-
-
- org.eclipse.cdt.make.core.buildLocation
- ${workspace_loc:/Sloynik/.Simulator-Debug}
-
-
- org.eclipse.cdt.make.core.cleanBuildTarget
- clean
-
-
- org.eclipse.cdt.make.core.contents
- org.eclipse.cdt.make.core.activeConfigSettings
-
-
- org.eclipse.cdt.make.core.enableAutoBuild
- false
-
-
- org.eclipse.cdt.make.core.enableCleanBuild
- true
-
-
- org.eclipse.cdt.make.core.enableFullBuild
- true
-
-
- org.eclipse.cdt.make.core.fullBuildTarget
- all
-
-
- org.eclipse.cdt.make.core.stopOnError
- true
-
-
- org.eclipse.cdt.make.core.useDefaultBuildCmd
- false
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
-
-
-
-
-
- org.eclipse.cdt.core.cnature
- org.eclipse.cdt.core.ccnature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
- com.osp.ide.badaNature
-
-
-
- src/base
- 2
- C:/studio/sloynik/base
-
-
- src/bzip2
- 2
- C:/studio/sloynik/3party_sloynik/bzip2
-
-
- src/coding
- 2
- C:/studio/sloynik/coding
-
-
- src/coding_sloynik
- 2
- C:/studio/sloynik/coding_sloynik
-
-
- src/words
- 2
- C:/studio/sloynik/words
-
-
-
diff --git a/bada/Sloynik/Home/index.dup.idx b/bada/Sloynik/Home/index.dup.idx
deleted file mode 100644
index d12130b440..0000000000
Binary files a/bada/Sloynik/Home/index.dup.idx and /dev/null differ
diff --git a/bada/Sloynik/Home/index.stamp.idx b/bada/Sloynik/Home/index.stamp.idx
deleted file mode 100644
index d55fe85ee9..0000000000
Binary files a/bada/Sloynik/Home/index.stamp.idx and /dev/null differ
diff --git a/bada/Sloynik/Home/index.uni.idx b/bada/Sloynik/Home/index.uni.idx
deleted file mode 100644
index 29f42f0ee1..0000000000
Binary files a/bada/Sloynik/Home/index.uni.idx and /dev/null differ
diff --git a/bada/Sloynik/Home/wordnet.slf b/bada/Sloynik/Home/wordnet.slf
deleted file mode 100644
index 0c94ae6f20..0000000000
Binary files a/bada/Sloynik/Home/wordnet.slf and /dev/null differ
diff --git a/bada/Sloynik/Icons/Sloynik.png b/bada/Sloynik/Icons/Sloynik.png
deleted file mode 100644
index 3a220c0fcd..0000000000
Binary files a/bada/Sloynik/Icons/Sloynik.png and /dev/null differ
diff --git a/bada/Sloynik/Res/480x800/IDF_SEARCHFORM.xml b/bada/Sloynik/Res/480x800/IDF_SEARCHFORM.xml
deleted file mode 100644
index 9b3c397be8..0000000000
--- a/bada/Sloynik/Res/480x800/IDF_SEARCHFORM.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/bada/Sloynik/Res/eng-GB.xml b/bada/Sloynik/Res/eng-GB.xml
deleted file mode 100644
index 4f8989f0c5..0000000000
--- a/bada/Sloynik/Res/eng-GB.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
diff --git a/bada/Sloynik/application.xml b/bada/Sloynik/application.xml
deleted file mode 100644
index dcf88f9dd1..0000000000
--- a/bada/Sloynik/application.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- Sloynik
-
- Thesaurus
- Thesaurus
-
-
-
-
- Sloynik.png
-
-
-
-
-
- true
- 480x800
-
-
diff --git a/bada/Sloynik/inc/ArticleForm.h b/bada/Sloynik/inc/ArticleForm.h
deleted file mode 100644
index 2d7fb0ed2f..0000000000
--- a/bada/Sloynik/inc/ArticleForm.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#ifndef ARTICLEFORM_H_
-#define ARTICLEFORM_H_
-
-#include
-#include
-#include
-#include "../../../base/base.hpp"
-
-class SearchForm;
-
-class ArticleForm :
- public Osp::Ui::Controls::Form,
- public Osp::Ui::IActionEventListener
-{
-public:
- ArticleForm();
- virtual ~ArticleForm();
- bool Initialize(void);
-
- void MyInit();
-
- SearchForm * m_pSearchForm;
- Osp::Base::String m_Name;
- Osp::Base::ByteBuffer * m_pBuffer;
-
-// Implementation
-protected:
- enum
- {
- ID_SEARCH_SOFTKEY = 100
- };
-
- Osp::Web::Controls::Web * m_pWeb;
-
-public:
- virtual void OnActionPerformed(const Osp::Ui::Control& source, int actionId);
-};
-
-#endif /* ARTICLEFORM_H_ */
diff --git a/bada/Sloynik/inc/SearchForm.h b/bada/Sloynik/inc/SearchForm.h
deleted file mode 100644
index a28e58ef18..0000000000
--- a/bada/Sloynik/inc/SearchForm.h
+++ /dev/null
@@ -1,64 +0,0 @@
-#ifndef _SEARCHFORM_H_
-#define _SEARCHFORM_H_
-
-#include
-#include
-#include "../../../base/base.hpp"
-
-class ArticleForm;
-
-namespace sl
-{
-class SloynikEngine;
-}
-
-class SearchForm :
- public Osp::Ui::Controls::Form,
- public Osp::Ui::IActionEventListener,
- public Osp::Ui::ITextEventListener,
- public Osp::Ui::ISlidableListEventListener,
- public Osp::Ui::ICustomItemEventListener
-{
-
-// Construction
-public:
- SearchForm(void);
- virtual ~SearchForm(void);
- bool Initialize(void);
-
-// Implementation
-protected:
- sl::SloynikEngine * m_pEngine;
- ArticleForm * m_pArticleForm;
-
- Osp::Ui::Controls::EditField * m_pSearchField;
- Osp::Ui::Controls::SlidableList * m_pResultsList;
- Osp::Ui::Controls::CustomListItemFormat * m_pCustomListItemFormat;
-
- static const int ID_CLEAR_SEARCH_FIELD = 117;
-
- static const int TEXT_ID = 101;
- static const int ITEM_HEIGHT = 40;
-
- Osp::Ui::Controls::CustomListItem * CreateListItem(uint32_t id);
-
-public:
- virtual result OnInitializing(void);
- virtual result OnTerminating(void);
- virtual void OnActionPerformed(const Osp::Ui::Control& source, int actionId);
-
- virtual void OnTextValueChanged(Osp::Ui::Control const & source);
- virtual void OnTextValueChangeCanceled(Osp::Ui::Control const & source);
-
- virtual void OnListPropertyRequested(const Osp::Ui::Control&);
- virtual void OnLoadToTopRequested(const Osp::Ui::Control&, int, int);
- virtual void OnLoadToBottomRequested(const Osp::Ui::Control&, int, int);
- virtual void OnUnloadItemRequested(const Osp::Ui::Control&, int);
-
- virtual void OnItemStateChanged(const Osp::Ui::Control &source, int index,
- int itemId, int elementId, Osp::Ui::ItemStatus status);
- virtual void OnItemStateChanged(const Osp::Ui::Control &source, int index,
- int itemId, Osp::Ui::ItemStatus status);
-};
-
-#endif //_SEARCHFORM_H_
diff --git a/bada/Sloynik/inc/Sloynik.h b/bada/Sloynik/inc/Sloynik.h
deleted file mode 100644
index 132b3bdfb6..0000000000
--- a/bada/Sloynik/inc/Sloynik.h
+++ /dev/null
@@ -1,60 +0,0 @@
-#ifndef _SLOYNIK_H_
-#define _SLOYNIK_H_
-
-#include
-#include
-#include
-#include
-
-/**
- * [Sloynik] application must inherit from Application class
- * which provides basic features necessary to define an application.
- */
-class Sloynik :
- public Osp::App::Application,
- public Osp::System::IScreenEventListener
-{
-public:
-
- /**
- * [Sloynik] application must have a factory method that creates an instance of itself.
- */
- static Osp::App::Application* CreateInstance(void);
-
-
-public:
- Sloynik();
- ~Sloynik();
-
-
-public:
-
-
- // Called when the application is initializing.
- bool OnAppInitializing(Osp::App::AppRegistry& appRegistry);
-
- // Called when the application is terminating.
- bool OnAppTerminating(Osp::App::AppRegistry& appRegistry, bool forcedTermination = false);
-
-
- // Called when the application's frame moves to the top of the screen.
- void OnForeground(void);
-
-
- // Called when this application's frame is moved from top of the screen to the background.
- void OnBackground(void);
-
- // Called when the system memory is not sufficient to run the application any further.
- void OnLowMemory(void);
-
- // Called when the battery level changes.
- void OnBatteryLevelChanged(Osp::System::BatteryLevel batteryLevel);
-
- // Called when the screen turns on.
- void OnScreenOn (void);
-
- // Called when the screen turns off.
- void OnScreenOff (void);
-};
-
-#endif
diff --git a/bada/Sloynik/manifest.xml b/bada/Sloynik/manifest.xml
deleted file mode 100644
index 8284453a98..0000000000
--- a/bada/Sloynik/manifest.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
- 4gxxan431g
- E721D7A992EBF39AB8E5475F781898E0
- 1.0.0
- 1.1
-
-
- WEB_SERVICE
-
-
-
- 1.0
- Cortex8
- OpenGL-ES1.1
- OpenGL-ES2.0
- Touch
- 480x800
- Bluetooth
- Wi-Fi
- GPS
- Wi-Fi_and_cell-based_positioning
- Magnetic
- Proximity
- Accelerometer
- Tilt
- Vibration-effects
-
-
\ No newline at end of file
diff --git a/bada/Sloynik/src/ArticleForm.cpp b/bada/Sloynik/src/ArticleForm.cpp
deleted file mode 100644
index 30dd84f7e0..0000000000
--- a/bada/Sloynik/src/ArticleForm.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-#include "ArticleForm.h"
-#include "SearchForm.h"
-#include
-
-using namespace Osp::Base;
-using namespace Osp::Ui;
-using namespace Osp::Ui::Controls;
-
-ArticleForm::ArticleForm() : m_pBuffer(NULL)
-{
-}
-
-ArticleForm::~ArticleForm()
-{
-}
-
-bool ArticleForm::Initialize()
-{
- Construct(FORM_STYLE_NORMAL | FORM_STYLE_TITLE | FORM_STYLE_INDICATOR
- | FORM_STYLE_SOFTKEY_0);
-
- SetSoftkeyText(SOFTKEY_0, L"Search");
- SetSoftkeyActionId(SOFTKEY_0, ID_SEARCH_SOFTKEY);
- AddSoftkeyActionListener(SOFTKEY_0, *this);
-
- m_pWeb = new Osp::Web::Controls::Web();
- m_pWeb->Construct(Osp::Graphics::Rectangle(0, 0, 480, 700));
- AddControl(*m_pWeb);
-
- return true;
-}
-
-void ArticleForm::MyInit()
-{
- SetTitleText(m_Name);
- m_pWeb->LoadData("", *m_pBuffer, "text/html", "UTF-8");
-}
-
-void ArticleForm::OnActionPerformed(const Osp::Ui::Control& source, int actionId)
-{
- switch (actionId)
- {
- case ID_SEARCH_SOFTKEY:
- {
- Frame * pFrame =
- Osp::App::Application::GetInstance()->GetAppFrame()->GetFrame();
- pFrame->SetCurrentForm(*m_pSearchForm);
- m_pSearchForm->Draw();
- m_pSearchForm->Show();
- }
- break;
- }
-}
diff --git a/bada/Sloynik/src/SearchForm.cpp b/bada/Sloynik/src/SearchForm.cpp
deleted file mode 100644
index 705559c937..0000000000
--- a/bada/Sloynik/src/SearchForm.cpp
+++ /dev/null
@@ -1,240 +0,0 @@
-#include "SearchForm.h"
-#include "ArticleForm.h"
-#include "../../../words/sloynik_engine.hpp"
-#include
-#include
-
-
-using namespace Osp::Base;
-using namespace Osp::Ui;
-using namespace Osp::Ui::Controls;
-
-namespace
-{
- sl::StrFn::Str const * StrCreate(char const * utf8Data, uint32_t size)
- {
- return reinterpret_cast(new string(utf8Data, size));
- }
-
- void StrDestroy(sl::StrFn::Str const * s)
- {
- delete reinterpret_cast(s);
- }
-
- int StrSecondaryCompare(void *,
- sl::StrFn::Str const * pa, sl::StrFn::Str const * pb)
- {
- string const & a = *reinterpret_cast(pa);
- string const & b = *reinterpret_cast(pb);
- return a == b ? 0 : (a < b ? -1 : 1);
- }
-
- int StrPrimaryCompare(void *,
- sl::StrFn::Str const * pa, sl::StrFn::Str const * pb)
- {
- string s1(*reinterpret_cast(pa));
- string s2(*reinterpret_cast(pb));
- std::use_facet >(
- std::locale()).tolower(&s1[0], &s1[0] + s1.size());
- std::use_facet >(
- std::locale()).tolower(&s2[0], &s2[0] + s2.size());
- return s1 == s2 ? 0 : (s1 < s2 ? -1 : 1);
- }
-}
-
-
-SearchForm::SearchForm(void) : m_pEngine(NULL), m_pArticleForm(NULL)
-{
-}
-
-SearchForm::~SearchForm(void)
-{
- // TODO: delete m_pEngine; delete m_pArticleForm;
-}
-
-bool SearchForm::Initialize()
-{
- // Construct an XML form
- Construct(L"IDF_SEARCHFORM");
-
- return true;
-}
-
-result SearchForm::OnInitializing(void)
-{
- result r = E_SUCCESS;
-
- // TODO: Add your initialization code here
-
- string const dictionaryPath = "/Home/wordnet.slf";
- string const indexPath = "/Home/index";
- string const tempPath = "/Home/index_tmp";
- vector > dictionaries;
- dictionaries.push_back(make_pair(dictionaryPath, 1ULL));
- sl::StrFn strFn;
- strFn.Create = StrCreate;
- strFn.Destroy = StrDestroy;
- strFn.PrimaryCompare = StrPrimaryCompare;
- strFn.SecondaryCompare = StrSecondaryCompare;
- strFn.m_pData = NULL;
- strFn.m_PrimaryCompareId = 1;
- strFn.m_SecondaryCompareId = 2;
- m_pEngine = new sl::SloynikEngine(indexPath, tempPath, strFn, dictionaries);
-
-
- m_pCustomListItemFormat = new CustomListItemFormat();
- m_pCustomListItemFormat->Construct();
- m_pCustomListItemFormat->AddElement(TEXT_ID,
- Osp::Graphics::Rectangle(0, 0, GetWidth(), ITEM_HEIGHT));
-
-
- m_pSearchField =
- static_cast(GetControl(L"IDPC_SEARCH_EDIT", true));
- m_pResultsList =
- static_cast(GetControl(L"IDPC_RESULTS_LIST", true));
-
- m_pSearchField->AddTextEventListener(*this);
- m_pSearchField->AddActionEventListener(*this);
- m_pResultsList->AddSlidableListEventListener(*this);
- m_pResultsList->AddCustomItemEventListener(*this);
-
- m_pSearchField->SetOverlayKeypadCommandButton(
- COMMAND_BUTTON_POSITION_LEFT, L"Clear", ID_CLEAR_SEARCH_FIELD);
-
-
- // m_pResultsList->AddSlidableListEventListener(*this);
- /*
- // Get a button via resource ID
- __pButtonOk = static_cast