1 // Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WRT_EXTENSION_WIDGET_H_
6 #define WRT_EXTENSION_WIDGET_H_
11 class ApplicationData;
14 static Widget* GetInstance();
15 void Initialize(const ApplicationData* appdata);
17 bool Key(int idx, std::string* key);
18 bool GetItem(const std::string& key, std::string* value);
19 bool SetItem(const std::string& key, const std::string& value);
20 bool RemoveItem(const std::string& key);
28 #endif // WRT_EXTENSION_WIDGET_H_