00001 /* -*- mode:C; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ 00002 00003 /* 00004 * This file is part of maemo-af-desktop 00005 * 00006 * Copyright (C) 2006 Nokia Corporation. 00007 * 00008 * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com> 00009 * 00010 * This library is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU Lesser General Public License 00012 * as published by the Free Software Foundation; either version 2.1 of 00013 * the License, or (at your option) any later version. 00014 * 00015 * This library is distributed in the hope that it will be useful, but 00016 * WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Lesser General Public 00021 * License along with this library; if not, write to the Free Software 00022 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00023 * 02110-1301 USA 00024 * 00025 */ 00026 00027 /* 00028 * 00029 * Header file for close application dialog 00030 * 00031 */ 00032 00033 #ifndef CLOSE_APPLICATION_DIALOG_H 00034 #define CLOSE_APPLICATION_DIALOG_H 00035 00036 #include "application-switcher.h" 00037 00038 /* Type of current action */ 00039 typedef enum CADActionType CADAction; 00040 enum CADActionType 00041 { 00042 CAD_ACTION_OPENING, 00043 CAD_ACTION_SWITCHING, 00044 CAD_ACTION_OTHER 00045 }; 00046 00047 gboolean tn_close_application_dialog(CADAction action); 00048 00049 #endif /* CLOSE_APPLICATION_DIALOG_H */