int theme_destroy(theme_h handle) {
return 0;
-}
\ No newline at end of file
+}
#include "theme/api/theme_loader.h"
int theme_loader_create(theme_loader_h *handle) {
- return 0;
+ return 0;
}
int theme_loader_destroy(theme_loader_h handle) {
- return 0;
+ return 0;
}
-theme_loader_event_h theme_loader_add_event(theme_loader_h handle, theme_loader_loaded_cb callback, void *data) {
- return nullptr;
+theme_loader_event_h theme_loader_add_event(theme_loader_h handle,
+ theme_loader_loaded_cb callback, void *data) {
+ return nullptr;
}
-int theme_loader_remove_event(theme_loader_h handle, theme_loader_event_h event_handle) {
- return 0;
+int theme_loader_remove_event(theme_loader_h handle,
+ theme_loader_event_h event_handle) {
+ return 0;
}
int theme_loader_load_current(theme_loader_h handle) {
- return 0;
+ return 0;
}
int theme_loader_load(theme_loader_h handle, const char *id) {
- return 0;
+ return 0;
}
int theme_loader_query_id(theme_loader_h handle, char ***ids, int *count) {
- return 0;
-}
\ No newline at end of file
+ return 0;
+}
#ifndef __TIZEN_THEME_MANAGER_THEME_LOADER_H__
#define __TIZEN_THEME_MANAGER_THEME_LOADER_H__
-#include "theme.h"
+#include "theme/api/theme.h"
#ifdef __cplusplus
extern "C" {
int theme_loader_destroy(theme_loader_h handle);
-theme_loader_event_h theme_loader_add_event(theme_loader_h handle, theme_loader_loaded_cb callback, void *data);
+theme_loader_event_h theme_loader_add_event(theme_loader_h handle,
+ theme_loader_loaded_cb callback, void *data);
-int theme_loader_remove_event(theme_loader_h handle, theme_loader_event_h event_handle);
+int theme_loader_remove_event(theme_loader_h handle,
+ theme_loader_event_h event_handle);
int theme_loader_load_current(theme_loader_h handle);
#include "theme/loader/theme_info.h"
-using namespace ttm::loader;
+using ttm::loader::ThemeInfo;
class ThemeInfoTest : public testing::Test {
public:
virtual void TearDown() {
}
-
};
TEST_F(ThemeInfoTest, ThemeInfo_GetId) {