[cbhm] License is changed to Flora License
[framework/uifw/cbhm.git] / src / clipdrawer.h
index eb7fafd..3a439d2 100644 (file)
@@ -1,17 +1,17 @@
 /*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- *  Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
- *
- *  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.
+ * 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.
  *
  */
 
@@ -34,12 +34,18 @@ struct _ClipdrawerData {
        Evas_Object *gengrid;
        Evas_Object *main_layout;
        Elm_Gengrid_Item_Class gic;
+       Evas_Object *popup;
 
        int o_degree;
 
        int root_w;
        int root_h;
 
+       int height;
+       int landscape_height;
+       int grid_item_w;
+       int grid_item_h;
+
        Ecore_Event_Handler *keydown_handler;
        Evas *evas;
 
@@ -51,9 +57,13 @@ struct _ClipdrawerData {
 
 #include "cbhm.h"
 
+Eina_Bool delete_mode;
+
 void set_rotation_to_clipdrawer(ClipdrawerData *ad);
 void clipdrawer_activate_view(AppData* ad);
 void clipdrawer_lower_view(AppData* ad);
 ClipdrawerData *init_clipdrawer(AppData *ad);
 void depose_clipdrawer(ClipdrawerData *cd);
+void _delete_mode_set(AppData *ad, Eina_Bool del_mode);
+
 #endif // _CLIPDRAWER_H_