summaryrefslogtreecommitdiff
path: root/src/include/mf-ug-main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/mf-ug-main.h')
-rwxr-xr-xsrc/include/mf-ug-main.h147
1 files changed, 147 insertions, 0 deletions
diff --git a/src/include/mf-ug-main.h b/src/include/mf-ug-main.h
new file mode 100755
index 0000000..d2fbd08
--- /dev/null
+++ b/src/include/mf-ug-main.h
@@ -0,0 +1,147 @@
+/*
+ * 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 __DEF_MF_UG_MAIN_H_
+#define __DEF_MF_UG_MAIN_H_
+
+#define __ARM__
+
+#include <Elementary.h>
+#include <Ethumb.h>
+#include <glib.h>
+#include <Ecore.h>
+#include <glib-object.h>
+#include <mm_player.h>
+#include <ui-gadget-module.h>
+#include <ui-gadget.h>
+#include <bundle.h>
+#include <stdbool.h>
+#include <visual-svc.h>
+#include <media-svc.h>
+
+#include "mf-ug-dlog.h"
+#include "mf-ug-conf.h"
+/*********** Global Definitions ***********/
+#ifndef UG_MODULE_API
+#define UG_MODULE_API __attribute__ ((visibility("default")))
+#endif
+
+typedef void (*ugCallBack) (void *, Evas_Object *, void *);
+
+typedef struct _ugNaviBar ugNaviBar;
+
+struct _ugNaviBar {
+ Evas_Object *ug_pNaviBar;
+ Evas_Object *ug_pNaviBox;
+ Evas_Object *ug_pNaviLayout;
+ Evas_Object *ug_pContent;
+ Evas_Object *ug_pNaviCtrlBar;
+ Evas_Object *ug_pCtrlBarButton[3];
+
+ Elm_Object_Item *ug_pPreNaviItem;
+ Elm_Object_Item *ug_pNaviItem;
+ char *ug_pNaviLabel;
+ char *ug_pNaviTitle;
+ char *ug_pCurrentPath;
+ bool ug_bNaviFlagInUse;
+};
+
+
+typedef struct _ugMainWindow ugMainWindow;
+struct _ugMainWindow {
+ Evas_Object *ug_pWindow;
+ Evas_Object *ug_pBackGround;
+ Evas_Object *ug_pTabBackGround;
+ Evas_Object *ug_pMainLayout;
+ Evas_Object *ug_pNormalPopup;
+ Evas_Object *ug_pLabel;
+ Evas_Object *ug_pSelectInfoLayout;
+ Evas_Object *ug_pRadioGroup;
+ Evas_Object *ug_pTabBar;
+ Evas_Object *ug_pTabLayout;
+ Eina_List *ug_pNaviBarList;
+};
+
+
+typedef struct _ugStatus ugStatus;
+struct _ugStatus {
+ GString *ug_pPath;
+ int ug_iState;
+ int ug_iSortType;
+ int ug_iRadioOn;
+ int ug_iMmcFlag;
+ int ug_iCtrlBarType;
+ bool ug_bAudioPlayFlag;
+ bool ug_bInstallFlag;
+ bool ug_bSettingEntry;
+ bool ug_bInSettingView;
+ bool ug_bMassStorageFlag;
+ bool ug_bNoContentFlag;
+ bool ug_bCancelDisableFlag;
+ bool ug_b_NaviPushFlag;
+ char *ug_pUpper_folder;
+ bool ug_bUpperFlag;
+ Elm_Genlist_Item_Class ug_itc;
+ Elm_Genlist_Item_Class ug_topitc;
+ Elm_Genlist_Item_Class ug_separtor_no_bottom_line_itc;
+ Elm_Genlist_Item_Class ug_separtor_with_bottom_line_itc;
+ Elm_Genlist_Item_Class ug_normalitc;
+ Elm_Genlist_Item_Class ug_editfileditc;
+ Elm_Genlist_Item_Class ug_editfiledUpperSeperatoritc;
+ Elm_Genlist_Item_Class ug_editfiledBottomSeperatoritc;
+#ifdef UG_THUMB_REAL_TIME_UPDATE
+ Ecore_Timer *ug_pThumbUpdateTimer;
+#endif
+ MediaSvcHandle *ug_pMedia_svc_handle;
+};
+
+
+typedef struct _ugUiGadget ugUiGadget;
+struct _ugUiGadget {
+ int ug_iFilterMode;
+ int ug_iSelectMode;
+ int ug_iMarkedMode;
+ unsigned long ug_iFileFilter;
+ char *ug_pExtension;
+ Eina_List *ug_pDirList;
+ Eina_List *ug_pFilterList;
+ Eina_List *ug_pMultiSelectFileList;
+ Ecore_Pipe *ug_pInotifyPipe;
+};
+
+typedef struct _ugListPlay ugListPlay;
+struct _ugListPlay {
+ char *ug_pPlayFilePath;
+ MMHandleType ug_Player;
+ int ug_iPlayState;
+};
+
+
+typedef struct _ugData ugData;
+struct _ugData {
+ ugMainWindow ug_MainWindow;
+ ugStatus ug_Status;
+ ugUiGadget ug_UiGadget;
+ ugListPlay ug_ListPlay;
+ struct ui_gadget *ug;
+};
+
+
+#endif /* __DEF_MYFILE_H_ */