diff options
Diffstat (limited to 'main/src/control/ivug-context.h')
-rwxr-xr-x | main/src/control/ivug-context.h | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/main/src/control/ivug-context.h b/main/src/control/ivug-context.h new file mode 100755 index 0000000..69e9270 --- /dev/null +++ b/main/src/control/ivug-context.h @@ -0,0 +1,71 @@ +/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.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 __IVUG_CONTEXT_H__ +#define __IVUG_CONTEXT_H__ + +#include "ivug-common.h" +#include "ivug-callback.h" +#include <ui-gadget.h> + +/* + Managing context(instance) +*/ +#ifdef __cplusplus +extern "C" { +#endif + +bool +ivug_context_deinit(ui_gadget_h ug); + +bool +ivug_context_init(ui_gadget_h ug); + +void +ivug_context_destroy_me(const char *file, int line); + +#define DESTROY_ME() \ + do { \ + ivug_context_destroy_me(__FILE__, __LINE__); \ + } while(0) + +void +gSetRotationDegree(int degree); + +Elm_Theme* +gGetSystemTheme(void); + +int +gGetRotationDegree(void); + +ui_gadget_h +gGetUGHandle(void); + +Evas_Object * +gGetCurrentWindow(void); + +callback_handle_t * +gGetCallbackHandle(void); + +int gGetScreenWidth(); +int gGetScreenHeight(); + +#ifdef __cplusplus +} +#endif + +#endif //__IVUG_CONTEXT_H__
\ No newline at end of file |