<h2>Implementation</h2>
+<h3>Type definitions</h3>
+
+<pre class="prettyprint">
+struct __appdata {
+ viewdata_s view; /* View related data. */
+ modeldata_s model; /* Model related data. */
+};
+</pre>
+
+<pre class="prettyprint">
+/* All the Evas_Object objects represent UI widgets. */
+struct __viewdata {
+ Evas_Object *win;
+ Evas_Object *conform;
+ Evas_Object *layout_main_panel;
+ Evas_Object *main_toolbar;
+ Evas_Object *main_toolbar_item_app;
+ Evas_Object *main_toolbar_item_events;
+ Evas_Object *main_toolbar_item_paths;
+ Evas_Object *layout_app;
+ Evas_Object *layout_events;
+ Evas_Object *layout_paths;
+ Evas_Object *paths_list;
+ Evas_Object *popup_paths;
+ Evas_Object *popup_files_list;
+ /* Callback function called when popup window is opened from "Paths" tab of the main application's view. */
+ paths_popup_opened_cb popup_opened_cb;
+};
+</pre>
+
+<pre class="prettyprint">
+typedef void(*paths_popup_opened_cb)(const char *path);
+</pre>
+
+<pre class="prettyprint">
+/* Handlers for common application events:
+ * APP_EVENT_LOW_BATTERY,
+ * APP_EVENT_LOW_MEMORY,
+ * APP_EVENT_DEVICE_ORIENTATION_CHANGED,
+ * APP_EVENT_LANGUAGE_CHANGED,
+ * APP_EVENT_REGION_FORMAT_CHANGED,
+ * APP_EVENT_SUSPENDED_STATE_CHANGED.
+ */
+struct __modeldata {
+ app_event_handler_h handlers[5];
+}
+</pre>
+
+<pre class="prettyprint">
+/* Data structure used to populate the elm_genlist widget in "Paths" tab with relevant data. */
+struct __path_list_item {
+ char *top_label; /* Name of the file resources pointed by the path. */
+ char *bottom_label; /* Path to the file resources. */
+ path_item_type type; /* Type of the file resources. */
+};
+</pre>
+
+<pre class="prettyprint">
+typedef enum {
+ PIT_DATA, /* Data directory containing private data of the application. */
+ PIT_CACHE, /* Cache directory containing temporary data of the application. */
+ PIT_RESOURCE, /* Resource directory. */
+ PIT_SHARED_DATA, /* Shared data directory which is used to share data with other applications. */
+ PIT_SHARED_RESOURCE, /* Shared resource directory which is used to share resources with other applications. */
+ PIT_SHARED_TRUSTED, /* Shared trusted directory which is used to share data with a family of trusted applications. */
+ PIT_EXTERNAL_DATA, /* External data directory containing data of the application. */
+ PIT_EXTERNAL_CACHE, /* External cache directory containing temporary data of the application. */
+ PIT_EXTERNAL_SHARED_DATA, /* External shared data directory which is used to share the data with other applications. */
+ PIT_TEP_RESOURCE /* Tizen Expansion Package directory. */
+} path_item_type;
+</pre>
+
+
<script type="text/javascript" src="../scripts/jquery.zclip.min.js"></script>
<script type="text/javascript" src="../scripts/showhide.js"></script>
</script>
</body>
-</html>
\ No newline at end of file
+</html>